Issue #25970: wait for homescreen to exist before scrolling

This commit is contained in:
sv-ohorvath 2022-07-25 17:59:09 +03:00 committed by mergify[bot]
parent 8f51a9968a
commit 263e4d819b
1 changed files with 2 additions and 0 deletions

View File

@ -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()