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

GooglePlayWorkloads: Updated for new version.

This commit is contained in:
Marc Bonnici 2016-12-13 16:33:50 +00:00
parent f7e4232eaa
commit 66dbe7a508
2 changed files with 7 additions and 1 deletions

View File

@ -86,7 +86,7 @@ public class UiAutomation extends UxPerfUiAutomation {
switchPageStyles();
aboutBook();
removeWatcher("pageSyncPop");
removeWatcher("pageSyncPopUp");
pressBack();
unsetScreenOrientation();
@ -389,6 +389,9 @@ public class UiAutomation extends UxPerfUiAutomation {
hideDropDownMenu();
UiObject clickable = new UiObject(new UiSelector().longClickable(true));
if (!clickable.exists()){
clickable = new UiObject(new UiSelector().resourceIdMatches(".*/main_page"));
}
logger.start();
@ -415,6 +418,9 @@ public class UiAutomation extends UxPerfUiAutomation {
ActionLogger logger = new ActionLogger(testTag, parameters);
UiObject clickable = new UiObject(new UiSelector().longClickable(true));
if (!clickable.exists()){
clickable = new UiObject(new UiSelector().resourceIdMatches(".*/main_page"));
}
logger.start();