[fenix] Issue https://github.com/mozilla-mobile/fenix/issues/25970: wait for homescreen to exist before scrolling

pull/600/head
sv-ohorvath 2 years ago committed by mergify[bot]
parent 21f190b965
commit d1d14d5966

@ -393,7 +393,9 @@ class HomeScreenRobot {
}
fun expandCollection(title: String, rule: ComposeTestRule, interact: CollectionRobot.() -> Unit): CollectionRobot.Transition {
homeScreenList().waitForExists(waitingTime)
homeScreenList().scrollToEnd(LISTS_MAXSWIPES)
collectionTitle(title, rule)
.assertIsDisplayed()
.performClick()

Loading…
Cancel
Save