@Test(dependsOnMethods = "toggleNotificationFeed", groups = { "alfresco-one" }) public void selectOk() { notificationPage.toggleNotificationFeed(false); myprofile = notificationPage.selectOk().render(); notificationPage = myprofile.getProfileNav().selectNotification().render(); assertFalse(notificationPage.isNotificationFeedChecked()); notificationPage.toggleNotificationFeed(true); myprofile = notificationPage.selectOk().render(); notificationPage = myprofile.getProfileNav().selectNotification().render(); assertTrue(notificationPage.isNotificationFeedChecked()); }
public HtmlPage selectOk() { return submit(OK_BUTTON, ElementState.DELETE_FROM_DOM); }
NotificationPage extends SharePage { public HtmlPage selectOk() { return submit(OK_BUTTON, ElementState.DELETE_FROM_DOM); } }
NotificationPage extends SharePage { public HtmlPage selectOk() { return submit(OK_BUTTON, ElementState.DELETE_FROM_DOM); } NotificationPage(WebDrone drone); }
NotificationPage extends SharePage { public HtmlPage selectOk() { return submit(OK_BUTTON, ElementState.DELETE_FROM_DOM); } NotificationPage(WebDrone drone); @SuppressWarnings("unchecked") @Override NotificationPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override NotificationPage render(); @SuppressWarnings("unchecked") @Override NotificationPage render(final long time); ProfileNavigation getProfileNav(); boolean isOkButtonDisplayed(); boolean isCancelButtonDisplayed(); boolean isNotificationFeedChecked(); void toggleNotificationFeed(boolean enabled); HtmlPage selectOk(); HtmlPage selectCancel(); }
NotificationPage extends SharePage { public HtmlPage selectOk() { return submit(OK_BUTTON, ElementState.DELETE_FROM_DOM); } NotificationPage(WebDrone drone); @SuppressWarnings("unchecked") @Override NotificationPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override NotificationPage render(); @SuppressWarnings("unchecked") @Override NotificationPage render(final long time); ProfileNavigation getProfileNav(); boolean isOkButtonDisplayed(); boolean isCancelButtonDisplayed(); boolean isNotificationFeedChecked(); void toggleNotificationFeed(boolean enabled); HtmlPage selectOk(); HtmlPage selectCancel();  }