1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 02:41:11 +01: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

@ -42,7 +42,7 @@ class Googlephotos(ApkUiautoWorkload):
6. A rotate test is performed on a selected image, rotating anticlockwise 90 degrees, 180
degrees and 270 degrees.
Known working APK version: 2.15.0.156463917
Known working APK version: 4.0.0.212659618
'''
default_test_images = [

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 =