mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-07 05:31:21 +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:
parent
891ef60f4d
commit
8ba602cf83
@ -42,7 +42,7 @@ class Googlephotos(ApkUiautoWorkload):
|
|||||||
6. A rotate test is performed on a selected image, rotating anticlockwise 90 degrees, 180
|
6. A rotate test is performed on a selected image, rotating anticlockwise 90 degrees, 180
|
||||||
degrees and 270 degrees.
|
degrees and 270 degrees.
|
||||||
|
|
||||||
Known working APK version: 2.15.0.156463917
|
Known working APK version: 4.0.0.212659618
|
||||||
'''
|
'''
|
||||||
|
|
||||||
default_test_images = [
|
default_test_images = [
|
||||||
|
Binary file not shown.
@ -304,6 +304,11 @@ public class UiAutomation extends BaseUiAutomation implements ApplaunchInterface
|
|||||||
Iterator<Entry<String, PositionPair>> it = testParams.entrySet().iterator();
|
Iterator<Entry<String, PositionPair>> it = testParams.entrySet().iterator();
|
||||||
|
|
||||||
clickUiObject(BY_ID, packageID + "edit", "android.widget.ImageView");
|
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
|
// Manage potential different spelling of UI element
|
||||||
UiObject editCol =
|
UiObject editCol =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user