Created
September 27, 2017 10:42
-
-
Save flipper83/5be383b20abcc4bd012aff6e08e647b0 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