mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-17 15:26:23 +00:00
Issue #25970: wait for homescreen to exist before scrolling
This commit is contained in:
parent
8f51a9968a
commit
263e4d819b
@ -393,7 +393,9 @@ class HomeScreenRobot {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun expandCollection(title: String, rule: ComposeTestRule, interact: CollectionRobot.() -> Unit): CollectionRobot.Transition {
|
fun expandCollection(title: String, rule: ComposeTestRule, interact: CollectionRobot.() -> Unit): CollectionRobot.Transition {
|
||||||
|
homeScreenList().waitForExists(waitingTime)
|
||||||
homeScreenList().scrollToEnd(LISTS_MAXSWIPES)
|
homeScreenList().scrollToEnd(LISTS_MAXSWIPES)
|
||||||
|
|
||||||
collectionTitle(title, rule)
|
collectionTitle(title, rule)
|
||||||
.assertIsDisplayed()
|
.assertIsDisplayed()
|
||||||
.performClick()
|
.performClick()
|
||||||
|
Loading…
Reference in New Issue
Block a user