Hey everyone, We have some of our compose test execute as instrumentation as well as unit test via robolectric. On compose version
1.0.5
all tests are executed successfully. But now we are trying to upgrade the compose version to
1.1.0
but some of the test fail when executed as unit test. But the same test work when executed as an instrumentation test. We have tried to update robolectric version to the latest
4.8.1
but that didn't work.
After debugging a bit, it looks like the following step doesn't complete execution.
rule.onNodeWithText("some text").assertExists()
Internally it ends up in a loop in
RobolectricIdlingStrategy.runUntilIdle()
. Anyone who has faced similar issue?