@Test public void testNavigateToAddGroupsPage() { membersPage.navigateToSiteGroupsPage(); Assert.assertTrue(siteGroupsPage.isSiteGroupsPage()); }
public AddGroupsPage navigateToAddGroupsPage() { try { drone.find(By.cssSelector(ADD_GROUPS)).click(); return new AddGroupsPage(drone); } catch (NoSuchElementException nse) { throw new PageException("Element:" + ADD_GROUPS + " not found", nse); } }
SiteGroupsPage extends SharePage { public AddGroupsPage navigateToAddGroupsPage() { try { drone.find(By.cssSelector(ADD_GROUPS)).click(); return new AddGroupsPage(drone); } catch (NoSuchElementException nse) { throw new PageException("Element:" + ADD_GROUPS + " not found", nse); } } }
SiteGroupsPage extends SharePage { public AddGroupsPage navigateToAddGroupsPage() { try { drone.find(By.cssSelector(ADD_GROUPS)).click(); return new AddGroupsPage(drone); } catch (NoSuchElementException nse) { throw new PageException("Element:" + ADD_GROUPS + " not found", nse); } } SiteGroupsPage(WebDrone drone); }
SiteGroupsPage extends SharePage { public AddGroupsPage navigateToAddGroupsPage() { try { drone.find(By.cssSelector(ADD_GROUPS)).click(); return new AddGroupsPage(drone); } catch (NoSuchElementException nse) { throw new PageException("Element:" + ADD_GROUPS + " not found", nse); } } SiteGroupsPage(WebDrone drone); @Override @SuppressWarnings("unchecked") SiteGroupsPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override SiteGroupsPage render(long time); @SuppressWarnings("unchecked") @Override SiteGroupsPage render(); SiteGroupsPage renderWithGroupSearchResults(final long time); SiteGroupsPage renderWithGroupSearchResults(); SiteGroupsPage renderWithGroupSearchResults(RenderTime timer); AddGroupsPage navigateToAddGroupsPage(); boolean isSiteGroupsPage(); boolean isAddGroupDisplayed(); List<String> searchGroup(String groupName); SiteGroupsPage assignRole(String groupName, UserRole userRole); boolean isAssignRolePresent(String groupName); boolean isRemoveButtonPresent(String groupName); SiteGroupsPage removeGroup(String groupName); }
SiteGroupsPage extends SharePage { public AddGroupsPage navigateToAddGroupsPage() { try { drone.find(By.cssSelector(ADD_GROUPS)).click(); return new AddGroupsPage(drone); } catch (NoSuchElementException nse) { throw new PageException("Element:" + ADD_GROUPS + " not found", nse); } } SiteGroupsPage(WebDrone drone); @Override @SuppressWarnings("unchecked") SiteGroupsPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override SiteGroupsPage render(long time); @SuppressWarnings("unchecked") @Override SiteGroupsPage render(); SiteGroupsPage renderWithGroupSearchResults(final long time); SiteGroupsPage renderWithGroupSearchResults(); SiteGroupsPage renderWithGroupSearchResults(RenderTime timer); AddGroupsPage navigateToAddGroupsPage(); boolean isSiteGroupsPage(); boolean isAddGroupDisplayed(); List<String> searchGroup(String groupName); SiteGroupsPage assignRole(String groupName, UserRole userRole); boolean isAssignRolePresent(String groupName); boolean isRemoveButtonPresent(String groupName); SiteGroupsPage removeGroup(String groupName); static final String ADD_GROUPS; }