Last active
January 26, 2020 14:57
-
-
Save testableapple/60602520d23e07ef715a32735a8809b7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Test | |
| fun sample() { | |
| val fab = withId(R.id.fab) | |
| onView(ViewCounter.first(fab)).perform(click()) | |
| onView(ViewCounter.last(fab)).perform(click()) | |
| onView(isRoot()).check(matches(ViewCounter.withViewCount(fab, 3)) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment