Espresso: Toolkit Crash Due to "keyDispatchingTimedOut"

The following is a section of an espresso test that tries to log in to a remote server when the submit button is pressed, and then after a successful login, it checks to see if a view with the test < FAQ "is displayed.

onView(withId(R.id.buttonSubmit)).perform(scrollTo()); onView(withId(R.id.buttonSubmit)).perform(click()); onView(withText("FAQ")).check(matches(ViewMatchers.isDisplayed())); 

When the button is pressed, the following error is displayed:

[INFO] emulator-52981_unknown_sdk: crash: toolkit breakthrough due to "keyDispatchingTimedOut"

I would like to know if anyone can understand what could be causing this error.

thanks

+6
source share

Source: https://habr.com/ru/post/973708/


All Articles