@Test(dependsOnMethods = "toggleActivityFeed", groups = { "alfresco-one" }) public void clickOnSiteName() { SiteDashboardPage siteDashboardPage = userSiteItem.clickOnSiteName().render(); assertTrue(siteDashboardPage.isSiteTitle(siteName1)); }
@SuppressWarnings("unchecked") @Override public UserSitesPage render(RenderTime timer) { while (true) { timer.start(); synchronized (this) { try { this.wait(100L); } catch (InterruptedException e) { } } try { try { if (drone.find(SITES_LIST).isDisplayed()) { break; } } catch (Exception e) { } if (drone.find(NO_SITES_MESSAGE).isDisplayed() || drone.find(NO_SITES_MESSAGE).getText().equals(drone.getValue("user.profile.sites.nosite"))) { break; } } catch (Exception e) { } finally { timer.end(); } } return this; }
UserSitesPage extends SharePage { @SuppressWarnings("unchecked") @Override public UserSitesPage render(RenderTime timer) { while (true) { timer.start(); synchronized (this) { try { this.wait(100L); } catch (InterruptedException e) { } } try { try { if (drone.find(SITES_LIST).isDisplayed()) { break; } } catch (Exception e) { } if (drone.find(NO_SITES_MESSAGE).isDisplayed() || drone.find(NO_SITES_MESSAGE).getText().equals(drone.getValue("user.profile.sites.nosite"))) { break; } } catch (Exception e) { } finally { timer.end(); } } return this; } }
UserSitesPage extends SharePage { @SuppressWarnings("unchecked") @Override public UserSitesPage render(RenderTime timer) { while (true) { timer.start(); synchronized (this) { try { this.wait(100L); } catch (InterruptedException e) { } } try { try { if (drone.find(SITES_LIST).isDisplayed()) { break; } } catch (Exception e) { } if (drone.find(NO_SITES_MESSAGE).isDisplayed() || drone.find(NO_SITES_MESSAGE).getText().equals(drone.getValue("user.profile.sites.nosite"))) { break; } } catch (Exception e) { } finally { timer.end(); } } return this; } UserSitesPage(WebDrone drone); }
UserSitesPage extends SharePage { @SuppressWarnings("unchecked") @Override public UserSitesPage render(RenderTime timer) { while (true) { timer.start(); synchronized (this) { try { this.wait(100L); } catch (InterruptedException e) { } } try { try { if (drone.find(SITES_LIST).isDisplayed()) { break; } } catch (Exception e) { } if (drone.find(NO_SITES_MESSAGE).isDisplayed() || drone.find(NO_SITES_MESSAGE).getText().equals(drone.getValue("user.profile.sites.nosite"))) { break; } } catch (Exception e) { } finally { timer.end(); } } return this; } UserSitesPage(WebDrone drone); @SuppressWarnings("unchecked") @Override UserSitesPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override UserSitesPage render(); @SuppressWarnings("unchecked") @Override UserSitesPage render(final long time); ProfileNavigation getProfileNav(); boolean isNoSiteMessagePresent(); List<UserSiteItem> getSites(); UserSiteItem getSite(String siteName); }
UserSitesPage extends SharePage { @SuppressWarnings("unchecked") @Override public UserSitesPage render(RenderTime timer) { while (true) { timer.start(); synchronized (this) { try { this.wait(100L); } catch (InterruptedException e) { } } try { try { if (drone.find(SITES_LIST).isDisplayed()) { break; } } catch (Exception e) { } if (drone.find(NO_SITES_MESSAGE).isDisplayed() || drone.find(NO_SITES_MESSAGE).getText().equals(drone.getValue("user.profile.sites.nosite"))) { break; } } catch (Exception e) { } finally { timer.end(); } } return this; } UserSitesPage(WebDrone drone); @SuppressWarnings("unchecked") @Override UserSitesPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override UserSitesPage render(); @SuppressWarnings("unchecked") @Override UserSitesPage render(final long time); ProfileNavigation getProfileNav(); boolean isNoSiteMessagePresent(); List<UserSiteItem> getSites(); UserSiteItem getSite(String siteName);  }