Make all tests pass on Android 9.0 (Pie)

pull/619/head^2
Alinson S. Xavier 6 years ago
parent 7eafd92b2d
commit de44b48dba

@ -70,6 +70,10 @@ public class WidgetSteps {
button = device.findObject(new UiSelector().text("Widgets")); button = device.findObject(new UiSelector().text("Widgets"));
} }
button.click(); button.click();
if (SDK_INT == 28) {
new UiScrollable(new UiSelector().resourceId(list_id))
.scrollForward();
}
new UiScrollable(new UiSelector().resourceId(list_id)) new UiScrollable(new UiSelector().resourceId(list_id))
.scrollIntoView(new UiSelector().text("Checkmark")); .scrollIntoView(new UiSelector().text("Checkmark"));
} }

Loading…
Cancel
Save