Vaios Tsitsonis
01/20/2023, 9:15 PMsetContent
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.
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