Tests with KViewPager/KViewPager2 SwipeableActions methods are flaky
audkar opened this issue · comments
Audrius Karosevicius commented
Steps to reproduce:
(It's hard to reproduce. We are having like 1 flaky test in 10k runs)
- Use any of SwipeableActions interface methods on ViewPager/ViewPager2
- Assert that child of ViewPager is completely displayed.
Observed Results:
Current page of ViewPager is not fully settled after end of SwipeableActions
Expected Results:
Assertions can be made immediately after swipe action
Relevant Code:
viewPager.swipeLeft()
someChild.isCompletelyDisplayed()
PR with reproduction on Sample App
--