Looking for a way to replaceText or typeText into a edit text embedded in a TextInputLayout.
I have tried a few things like this:
perform(ViewActions.typeTextIntoFocusedView("String"));
but I always end up with this:
java.lang.RuntimeException: Action will not be performed because the target view does not match one or more of the following constraints:
(((is displayed on the screen to the user) and has focus on the screen to the user) and (supports input methods or is assignable from class: class android.widget.SearchView))