Skip to content

Instantly share code, notes, and snippets.

@catehstn
Created April 25, 2016 09:50
Show Gist options
  • Save catehstn/147d9440e9a8d7de9b9144b326f363f6 to your computer and use it in GitHub Desktop.
Save catehstn/147d9440e9a8d7de9b9144b326f363f6 to your computer and use it in GitHub Desktop.
@Test
public void testLaunchActivity() {
onView(withId(R.id.home_camera_button)).check(matches(withText("Camera")));
onView(withId(R.id.home_gallery_button)).check(matches(withText("Gallery")));
onView(withId(R.id.home_inspire_button)).check(matches(withText("Inspire")));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment