mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-03-14 14:48:53 +00:00
Fix googlephotos crashes on certain devices
On one particular devices polling for the navigate image button fails. Waiting for it to exist works successfully.
This commit is contained in:
parent
adf272fa1b
commit
35a0953858
Binary file not shown.
@ -391,7 +391,9 @@ public class UiAutomation extends UxPerfUiAutomation {
|
||||
save.click();
|
||||
|
||||
UiObject navigateUpButton =
|
||||
getUiObjectByDescription("Navigate Up", "android.widget.ImageButton");
|
||||
new UiObject(new UiSelector().descriptionContains("Navigate Up")
|
||||
.className("android.widget.ImageButton"));
|
||||
navigateUpButton.waitForExists(viewTimeout);
|
||||
navigateUpButton.click();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user