Arun
11/20/2020, 11:22 AM@get:Rule
val composeTestRule =
AndroidComposeTestRule<MyActivity>(disableTransitions = true)
However, there’s no such parameter disableTransitions
. Is there any alternative way to disable animations and transitions while testing?allan.conda
11/20/2020, 11:26 AMArun
11/20/2020, 11:27 AMallan.conda
11/20/2020, 11:28 AMTransitions can no longer be disabled through AndroidComposeTestRule.
You now have to manually add a DisableTransitionsTestRule if you
absolutely need to disable them. For example, ComposeBenchmarkRule
still disables transitions.
Arun
11/20/2020, 11:29 AMallan.conda
11/20/2020, 11:46 AM