Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
@Test
fun clickButtonToSayHello()
{    
launchActivity(myActivity)
onView(withId(R.id.greet_button)).perform(click())  
onView(withText("Hello Steve!")).check(matches(isDisplayed()))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment