vendredi 31 mai 2019

multi matchs in espresso test android

I need to check view is display and is enabled.

  btn.check(matches(isDisplayed()))
            .check(matches(isEnabled()))

can I use an array for this?

for example:

 btn.check(matches(isDisplayed(),isEnabled()))

Aucun commentaire:

Enregistrer un commentaire