Skip to content
Midhun Harikumar edited this page Nov 17, 2017 · 2 revisions

// Add item to a list
onView(withId(R.id.title)).perform(typeText("Text"));
onView(withId(R.id.btn_add)).perform(click());

// Check if item exists onView(withItemText("Ignore")).check(matches(isDisplayed()));

Clone this wiki locally