Created
September 27, 2017 10:41
-
-
Save flipper83/e58efe47542cef0676a34ef586665980 to your computer and use it in GitHub Desktop.
espresso sample
This file contains 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
onView(withId(R.id.my_view)) // withId(R.id.my_view) is a ViewMatcher | |
.perform(click()) // click() is a ViewAction | |
.check(matches(isDisplayed())); // matches(isDisplayed()) is a ViewAssertion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment