I encounter the following exception while writing the Espresso test case which involve entering text into edittext component. From what I can tell is the window loses focus and system cant find the next view for action that needs to be process. As a result, after I tell the Espresso framework to enter text, I post a closeKeyboard api to the same edittext so it can be close and Espresso framework able to find the next onView ID.
android.support.test.espresso.PerformException: Error performing ‘single click’….
//…. next edittext entry
* Please post comments if anyone has a better solution to this.