Skip to content

Commit

Permalink
Decrease number of events to decrease flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensousa committed Oct 5, 2024
1 parent 5cda1f8 commit eb67075
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class SelectionTest : DpadRecyclerViewTest() {
assertSelectedPosition(position = 0)
assertViewHolderSelected(position = 0, isSelected = true)

repeat(10) { index ->
repeat(5) { index ->
KeyEvents.pressDown()
assertViewHolderSelected(position = index, isSelected = false)
assertSelectedPosition(position = index + 1)
Expand Down

0 comments on commit eb67075

Please sign in to comment.