Fix widget tests on API 29+

This commit is contained in:
2020-08-22 17:52:53 -05:00
parent 209e709163
commit 09eb8c9f4d

View File

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