Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@eakurnikov
Created June 14, 2021 09:34
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/6baa109a9cbf5e20f7634878ebc14fd9 to your computer and use it in GitHub Desktop.
Save eakurnikov/6baa109a9cbf5e20f7634878ebc14fd9 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