mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Fix widget tests on API 29+
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user