Is there any way to wait until `setContent` is cal...
# compose
v
Is there any way to wait until
setContent
is called during testing? We have an app that has multiple fragments. Some of them have composables others have view. Randomly some tests fail on TestLab with the following cause when navigating from a fragments containing Views to fragments containing composables.
Copy code
No compose hierarchies found in the app. Possible reasons include: (1) the Activity that calls setContent did not launch; (2) setContent was not called; (3) setContent was called before the ComposeTestRule ran. If setContent is called by the Activity, make sure the Activity is launched after the ComposeTestRule runs