mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 10:11:17 +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();
|
||||
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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user