samedi 26 septembre 2015

How to test with Espresso if UI field or control is disabled?

I can test if some element is enabled:

onView(withId(R.id.my_element)).check(matches(isEnabled()));

But can not find how to do it if I want to check if a control is disabled?

Aucun commentaire:

Enregistrer un commentaire