mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Make all tests pass on Android 9.0 (Pie)
This commit is contained in:
@@ -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"));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user