Jonas
09/29/2023, 9:03 AMComposeContentTestRule.*awaitIdle()*
issues?
We have multiple UI tests where it works as expected but some where it is flaky.
I always get to a LaunchedEffect which should trigger a side effect but only rarely get into the Coroutine block of the LaunchedEffect. (Test ends without waiting of completion.)
🔴 (always reached) LaunchedEffect(uiState.registrationProgress) {
🔴 (when both breakpoints: it mostly reaches this debug point in debug mode) ...
🔴 (when only this breakpoints: it rarely reaches) ...
Zach Klippenstein (he/him) [MOD]
10/02/2023, 5:55 PMJonas
10/03/2023, 7:26 AMandroidxComposeBom = "2023.09.02"
and "2023.08.00"
Zach Klippenstein (he/him) [MOD]
10/03/2023, 6:13 PMZach Klippenstein (he/him) [MOD]
10/03/2023, 6:26 PMZach Klippenstein (he/him) [MOD]
10/03/2023, 7:32 PMwaitForIdle
, but there’s some additional machinery with awaitIdle
that might be involved. If you can provide a reproducer when you file the bug, that would be helpfulJonas
10/13/2023, 9:47 AM