Skip to content

Commit

Permalink
Wait for idle scroll in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensousa committed Oct 16, 2024
1 parent 7d764d7 commit d4288a1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,14 @@ class ReverseVerticalTest : DpadRecyclerViewTest() {

repeat(5) {
KeyEvents.pressDown()
waitForIdleScrollState()
column.scrollDown()
assertChildrenPositions(column)
}

repeat(5) {
KeyEvents.pressUp()
waitForIdleScrollState()
column.scrollUp()
assertChildrenPositions(column)
}
Expand Down

0 comments on commit d4288a1

Please sign in to comment.