Closed jeiselvan closed 1 month ago
@jeiselvan I think it seems like a timeout is occurring. Could you try using a debugger to see where the process is getting stuck?
Hey @takahirom
Yeah, it seems when I removed the CircularProgressIndicator everything seems to work faster. Tests executed within 10 sec.
@jeiselvan You can set ComposeTestRule.mainClock.autoAdvance to false and use mainClock.advanceTimeBy(1_000). Alternatively, you can ignore those composable tests by checking if it is a unit test. https://stackoverflow.com/a/30713876
Hello @takahirom!
I encountered an issue when there are many layer of UI components involved then the screenshot testing becomes very slow. I am using the latest Roborazzi version 1.18.0 and it takes around 5 mins to complete this one single test.
Not sure why this happens, but below is the content which I am trying to take the screenshot
I've disabled the animations in test options in gradle and I've reduced the scale of the image upon record to 0.5 as well in gradle properties (roborazzi.record.resizeScale=0.5) but no luck in reducing the overall time of the test execution.