1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-07 13:41:24 +00:00

Merge pull request #311 from marcbonnici/playbooks

GooglePlayWorkloads: Updated for new version.
This commit is contained in:
setrofim 2016-12-14 08:13:12 +00:00 committed by GitHub
commit 79faec120e
2 changed files with 7 additions and 1 deletions

View File

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