Make all tests pass on Android 9.0 (Pie)
This commit is contained in:
parent
7eafd92b2d
commit
de44b48dba
@ -70,6 +70,10 @@ public class WidgetSteps {
|
||||
button = device.findObject(new UiSelector().text("Widgets"));
|
||||
}
|
||||
button.click();
|
||||
if (SDK_INT == 28) {
|
||||
new UiScrollable(new UiSelector().resourceId(list_id))
|
||||
.scrollForward();
|
||||
}
|
||||
new UiScrollable(new UiSelector().resourceId(list_id))
|
||||
.scrollIntoView(new UiSelector().text("Checkmark"));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user