1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-10-30 14:44:09 +00:00

Googlephotos: Updating to work with latest version

Updating the googlephotos workload to work with app version 4.0.0.212659618
This commit is contained in:
scott
2018-09-24 10:20:20 +01:00
committed by Marc Bonnici
parent 891ef60f4d
commit 8ba602cf83
3 changed files with 6 additions and 1 deletions

View File

@@ -304,6 +304,11 @@ public class UiAutomation extends BaseUiAutomation implements ApplaunchInterface
Iterator<Entry<String, PositionPair>> it = testParams.entrySet().iterator();
clickUiObject(BY_ID, packageID + "edit", "android.widget.ImageView");
UiObject enhance =
mDevice.findObject(new UiSelector().description("Enhance photo"));
if (enhance.exists()){
enhance.click();
}
// Manage potential different spelling of UI element
UiObject editCol =