Skip to content

Instantly share code, notes, and snippets.

@eakurnikov
Created June 14, 2021 09:32
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 eakurnikov/4f0c7b983f9591f080afa9457ccfa72a to your computer and use it in GitHub Desktop.
Save eakurnikov/4f0c7b983f9591f080afa9457ccfa72a to your computer and use it in GitHub Desktop.
@Test
public void espressoTest() {
onView(allOf(allOf(withId(R.id.label_bf_hotelname),
isDescendantOfA(withId(R.id.custom_view_trip_review))),
isDescendantOfA(withId(R.id.contentView))))
.check(matches(
withEffectiveVisibility(Visibility.VISIBLE)
));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment