im trying to build a test that will validate my PreferenceScreen view with Espresso. The text that i want to clickOn is at the bottom, How do i scroll a PreferenceScreen with Espresso ?
The text('Notifications') that i want to clickOn is inside another PreferenceScreen.
I tried this code but it did not work
onData(allOf(is(instanceOf(String.class)), is("Notifications"))).perform(click());
Aucun commentaire:
Enregistrer un commentaire