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:
commit
79faec120e
Binary file not shown.
@ -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();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user