I try to automate the Authenticate flow in our app. In sign in screen, i want to test when there's any errors with login like missing email or password, it will show error.
Right now we use
editText.setError("This field is required");
So how can i select the error message and test it.