server/src/main/java/com/amplify/honeydew_server/actions/HasSettingsMenuItem.java in honeydew-0.14.0 vs server/src/main/java/com/amplify/honeydew_server/actions/HasSettingsMenuItem.java in honeydew-0.15.0

- old
+ new

@@ -13,10 +13,11 @@ } @Override public Result execute(Map<String, Object> arguments) throws UiObjectNotFoundException { String menuName = (String) arguments.get("menuName"); + UiScrollable settingsMenu = new UiScrollable(new UiSelector().scrollable(true).focused(true)); UiObject menuItem = settingsMenu.getChildByText(new UiSelector().className(TextView.class.getName()), menuName); - return menuItem.exists() ? Result.OK : Result.FAILURE; + return isUiObjectAvailable(menuItem, arguments) ? Result.OK : Result.FAILURE; } }