dimanche 5 juillet 2015

Espresso - withEffectiveVisibility vs isDisplayed

Whats´s the difference between isDisplayed and withEffectiveVisibility?

onView(withText("Much Dagger")).check(matches(withEffectiveVisibility(ViewMatchers.Visibility.VISIBLE)));


onView(withText("Much Dagger")).check(matches(ViewMatchers.isDisplayed());

Aucun commentaire:

Enregistrer un commentaire