Skip to content

Instantly share code, notes, and snippets.

@hitherejoe
Created December 31, 2015 16:20
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/8fc9d595ad45e06c1829 to your computer and use it in GitHub Desktop.
Save hitherejoe/8fc9d595ad45e06c1829 to your computer and use it in GitHub Desktop.
if (position > 0) {
onView(withItemText(post.description, R.id.browse_container_dock)).perform(click());
// No developer options to disable animations on the ADT-1, so this sleep is needed
Thread.sleep(200);
}
onView(withItemText(post.description, R.id.browse_container_dock)).check(matches(isDisplayed()));
onView(withItemText(post.username, R.id.browse_container_dock)).check(matches(isDisplayed()));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment