@Test(dependsOnMethods = "verifyListCountInDashlet") public void verifyIsDataListDisplayed() { assertTrue(siteDataListsDashlet.isDataListDisplayed(LIST_NAME)); }
public boolean isDataListDisplayed(String dataListName) { checkNotNull(dataListName); List<WebElement> eventLinks = getListElements(); for (WebElement eventLink : eventLinks) { if (eventLink.getText().contains(dataListName)) { return eventLink.isDisplayed(); } } return false; }
SiteDataListsDashlet extends AbstractDashlet implements Dashlet { public boolean isDataListDisplayed(String dataListName) { checkNotNull(dataListName); List<WebElement> eventLinks = getListElements(); for (WebElement eventLink : eventLinks) { if (eventLink.getText().contains(dataListName)) { return eventLink.isDisplayed(); } } return false; } }
SiteDataListsDashlet extends AbstractDashlet implements Dashlet { public boolean isDataListDisplayed(String dataListName) { checkNotNull(dataListName); List<WebElement> eventLinks = getListElements(); for (WebElement eventLink : eventLinks) { if (eventLink.getText().contains(dataListName)) { return eventLink.isDisplayed(); } } return false; } protected  SiteDataListsDashlet(WebDrone drone); }
SiteDataListsDashlet extends AbstractDashlet implements Dashlet { public boolean isDataListDisplayed(String dataListName) { checkNotNull(dataListName); List<WebElement> eventLinks = getListElements(); for (WebElement eventLink : eventLinks) { if (eventLink.getText().contains(dataListName)) { return eventLink.isDisplayed(); } } return false; } protected  SiteDataListsDashlet(WebDrone drone); @SuppressWarnings("unchecked") @Override synchronized SiteDataListsDashlet render(RenderTime timer); @SuppressWarnings("unchecked") @Override SiteDataListsDashlet render(long time); @SuppressWarnings("unchecked") @Override SiteDataListsDashlet render(); boolean isCreateDataListDisplayed(); NewListForm clickCreateDataList(); int getListsCount(); boolean isDataListDisplayed(String dataListName); }
SiteDataListsDashlet extends AbstractDashlet implements Dashlet { public boolean isDataListDisplayed(String dataListName) { checkNotNull(dataListName); List<WebElement> eventLinks = getListElements(); for (WebElement eventLink : eventLinks) { if (eventLink.getText().contains(dataListName)) { return eventLink.isDisplayed(); } } return false; } protected  SiteDataListsDashlet(WebDrone drone); @SuppressWarnings("unchecked") @Override synchronized SiteDataListsDashlet render(RenderTime timer); @SuppressWarnings("unchecked") @Override SiteDataListsDashlet render(long time); @SuppressWarnings("unchecked") @Override SiteDataListsDashlet render(); boolean isCreateDataListDisplayed(); NewListForm clickCreateDataList(); int getListsCount(); boolean isDataListDisplayed(String dataListName);  }