diff --git a/wlauto/workloads/googleplaybooks/com.arm.wlauto.uiauto.googleplaybooks.jar b/wlauto/workloads/googleplaybooks/com.arm.wlauto.uiauto.googleplaybooks.jar index 9166516c..f08e1257 100644 Binary files a/wlauto/workloads/googleplaybooks/com.arm.wlauto.uiauto.googleplaybooks.jar and b/wlauto/workloads/googleplaybooks/com.arm.wlauto.uiauto.googleplaybooks.jar differ diff --git a/wlauto/workloads/googleplaybooks/uiauto/src/com/arm/wlauto/uiauto/UiAutomation.java b/wlauto/workloads/googleplaybooks/uiauto/src/com/arm/wlauto/uiauto/UiAutomation.java index 0303cd3e..168d9f58 100755 --- a/wlauto/workloads/googleplaybooks/uiauto/src/com/arm/wlauto/uiauto/UiAutomation.java +++ b/wlauto/workloads/googleplaybooks/uiauto/src/com/arm/wlauto/uiauto/UiAutomation.java @@ -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();