1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 20:11:20 +00:00

workloads/geekbench: Update result screen matching criteria

Update the element that is searched for as on some devices this can
match before all the tests are complete.
This commit is contained in:
Marc Bonnici 2020-05-20 13:33:31 +01:00 committed by setrofim
parent 491dcd5b5b
commit 7e6eb089ab
2 changed files with 1 additions and 2 deletions

View File

@ -129,8 +129,7 @@ public class UiAutomation extends BaseUiAutomation {
//Wait for results //Wait for results
UiObject complete = UiObject complete =
mDevice.findObject(new UiSelector().textContains("Test") mDevice.findObject(new UiSelector().resourceId("net.kishonti.gfxbench.gl.v50000.corporate:id/results_testList"));
.className("android.widget.TextView"));
complete.waitForExists(1200000); complete.waitForExists(1200000);
UiObject outOfmemory = mDevice.findObject(new UiSelector().text("OUT_OF_MEMORY")); UiObject outOfmemory = mDevice.findObject(new UiSelector().text("OUT_OF_MEMORY"));