Skip to content

Instantly share code, notes, and snippets.

@hitherejoe
Created December 31, 2015 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hitherejoe/06c24362ae432054fb78 to your computer and use it in GitHub Desktop.
Save hitherejoe/06c24362ae432054fb78 to your computer and use it in GitHub Desktop.
if (position > 0) {
onView(withId(R.id.browse_grid))
.perform(RecyclerViewActions.actionOnItemAtPosition(position, click()));
}
onView(withItemText(post.description, R.id.browse_grid)).check(matches(isDisplayed()));
onView(withItemText(post.username, R.id.browse_grid)).check(matches(isDisplayed()));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment