The question is in the title.
I tried something like:
onView(withId(R.id.search_edit_text))
.perform(typeText("some"), pressKey(KeyEvent.KEYCODE_ENTER));
But that will not work. The keyboard is still displayed, TextView.OnEditorActionListenernot being called. Any ideas?
source
share