0
I am performing automatic tests and would like to know how to catch the and evendo IME_ACTION_DONE keyboard.
Follows the code:
@Test
public void shouldSearchUserOnMap(){
SystemClock.sleep(2500);
Login();
onView(withId(R.id.searchButton)).perform(typeText("[email protected]"));
SystemClock.sleep(2500);
onView(pressKey(EditorInfo.IME_ACTION_DONE)).perform(click());
}
Thank you for your cooperation!
Does not work for intaface test
– Henrique