Created
February 9, 2017 22:11
-
-
Save grumpyshoe/d2c324303b382d4aa75adb0c0f822a62 to your computer and use it in GitHub Desktop.
Android / Espresso / Spinner - How to click on a spinner item
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.spinner)).perform(click()); | |
onView(allOf(withId(R.id.textview_in_custom_spinner), withText("DummyText"))).perform(click()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment