Basically I am trying to test that after login incorrectly I have an error showing in the email field.
The view is:
Please use setError() method of EditText Ex : EditText emailEditText;
if(invalidLogin) emailEditText.setError("Error Message");