Fix widget tests on API 29+
This commit is contained in:
parent
209e709163
commit
09eb8c9f4d
@ -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();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user