From 3f5ccb81bca0dea66e823ec9dedd48b54b21fe1b Mon Sep 17 00:00:00 2001 From: ogaclejapan Date: Sat, 31 Aug 2024 21:14:36 +0900 Subject: [PATCH] Fix a flaky test --- .../commonTest/kotlin/soil/query/compose/QueryComposableTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soil-query-compose/src/commonTest/kotlin/soil/query/compose/QueryComposableTest.kt b/soil-query-compose/src/commonTest/kotlin/soil/query/compose/QueryComposableTest.kt index 1698f37..e5c8d78 100644 --- a/soil-query-compose/src/commonTest/kotlin/soil/query/compose/QueryComposableTest.kt +++ b/soil-query-compose/src/commonTest/kotlin/soil/query/compose/QueryComposableTest.kt @@ -66,7 +66,7 @@ class QueryComposableTest : UnitTest() { } } - waitForIdle() + waitUntilExactlyOneExists(hasTestTag("query")) onNodeWithTag("query").assertTextEquals("HELLO, SOIL!") }