Closed GoogleCodeExporter closed 9 years ago
Original comment by vale...@google.com
on 7 May 2014 at 7:10
Espresso 2.0 codebase includes this sample now:
public void testAppCompatSearchViewFromActionBar() {
onView(withId(R.id.menu_search))
.perform(click());
// App Compat SearchView widget does not use the same id as in the regular
// android.widget.SearchView. R.id.search_src_text is the id created by appcompat
// search widget.
onView(withId(R.id.search_src_text))
.perform(typeText("Hello World"));
}
Original comment by vale...@google.com
on 30 Mar 2015 at 8:53
Original issue reported on code.google.com by
sagui...@gmail.com
on 10 Feb 2014 at 8:24