Join Slack
Powered by
Noticing some weird behavior where my UI tests pas...
# compose
v
Vinay Gaba
10/03/2020, 6:32 AM
Noticing some weird behavior where my UI tests pass on the emulator but fail on the device. I’m doing a super basic check -
composeTestRule.onNodeWithText("Title").assertExists()
a
allan.conda
10/03/2020, 9:05 AM
maybe due to the animations not being disabled?
v
Vinay Gaba
10/03/2020, 5:44 PM
I did keep those disabled
a
allan.conda
10/03/2020, 6:13 PM
have you tried to print the node tree if it’s there
allan.conda
10/03/2020, 6:14 PM
i had similar issues before so it’s either an animation issue or for some reason calling waitForIdle() before the assert works. 🤷♂️
3
Views
Open in Slack
Previous
Next