https://kotlinlang.org logo
#compose
Title
# compose
r

Rohil Chodankar

05/10/2022, 8:13 PM
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.
Copy code
rule.onNodeWithText("some text").assertExists()
Internally it ends up in a loop in
RobolectricIdlingStrategy.runUntilIdle()
. Anyone who has faced similar issue?
Any thoughts ? @Doris Liu @Adam Powell
a

Adam Powell

05/11/2022, 2:26 PM
please don't @-mention specific team members in here to raise their attention to a thread or question. If you found something that looks like a regression please report it on the issue tracker; link is in the channel topic.
👍 1
4 Views