Skip to content

Draft: HomeScreenTest() Basic Compose UI test

Jørgen Svennevik Notland requested to merge jQrgen/wally:home_screen_test into main

Basic Compose UI test for HomeScreen

Android CI is failing with:

> Task :src:pixel5DebugAndroidTest
ui.HomeScreenTest > displayHomeScreenTest[pixel5] FAILED 
	androidx.compose.ui.test.junit4.android.ComposeNotIdleException: Idling resource timed out: possibly due to compose being busy.
	IdlingResourceRegistry has the following idling resources registered:

(FIXED:) Notable log from the failing Android Compose UI test in this MR:

- [busy] ComposeIdlingResource is busy due to pending recompositions.
         - Note: Timeout on pending recomposition means that there are most likely infinite re-compositions happening in the tested code.
    // Every half second check whether assetList needs to be regenerated
    LaunchedEffect(Unit) {~~
        while(true)
Edited by Jørgen Svennevik Notland

Merge request reports

Loading