I know how to test EditText with error with Espresso like this
editText.check(matches(hasErrorText("")));
Now I wanna test EditText without error, I've tried this but now work.
editText.check((matches(not(hasErrorText("")))));
Does anyone know how to do that? Thanks!
Aucun commentaire:
Enregistrer un commentaire