Add small delay before fling gesture

pull/858/head
Simon Marquis 1 year ago
parent 3b29e953bb
commit 83032cba6e

@ -34,7 +34,7 @@ fun MacrobenchmarkScope.goToInterestsScreen() {
} }
fun MacrobenchmarkScope.interestsScrollTopicsDownUp() { fun MacrobenchmarkScope.interestsScrollTopicsDownUp() {
val topicsList = device.findObject(By.res("interests:topics")) val topicsList = device.wait(Until.findObject(By.res("interests:topics")), 2_000)
device.flingElementDownUp(topicsList) device.flingElementDownUp(topicsList)
} }

Loading…
Cancel
Save