mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-07 13:41:24 +00:00
workloads/gfxbench: Fix not detecting missing asset popup
Add check for a differently worded popup informing that assets are missing.
This commit is contained in:
parent
ce94638436
commit
e40517ab95
Binary file not shown.
@ -74,6 +74,10 @@ public class UiAutomation extends BaseUiAutomation {
|
|||||||
UiObject sync =
|
UiObject sync =
|
||||||
mDevice.findObject(new UiSelector().text("Data synchronization")
|
mDevice.findObject(new UiSelector().text("Data synchronization")
|
||||||
.className("android.widget.TextView"));
|
.className("android.widget.TextView"));
|
||||||
|
if (!sync.exists()){
|
||||||
|
sync = mDevice.findObject(new UiSelector().text("Pushed data not found")
|
||||||
|
.className("android.widget.TextView"));
|
||||||
|
}
|
||||||
if (sync.exists()){
|
if (sync.exists()){
|
||||||
UiObject data =
|
UiObject data =
|
||||||
mDevice.findObject(new UiSelector().resourceId("android:id/button1")
|
mDevice.findObject(new UiSelector().resourceId("android:id/button1")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user