KakaoCup / Kakao

Nice and simple DSL for Espresso in Kotlin

Home Page:https://kakaocup.github.io/Kakao/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tests with KViewPager/KViewPager2 SwipeableActions methods are flaky

audkar opened this issue · comments

Steps to reproduce:

(It's hard to reproduce. We are having like 1 flaky test in 10k runs)

  1. Use any of SwipeableActions interface methods on ViewPager/ViewPager2
  2. 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

--