@Test(dependsOnMethods = "isChangeTypeDisplayedTest") public void selectCancelTest() throws Throwable { folderDetailsPage = changeTypePage.selectCancel().render(); assertTrue(folderDetailsPage.isBrowserTitle("Folder Details"), "The dialog should be displyed"); }
public HtmlPage selectCancel() { drone.find(CANCEL_BUTTON).click(); return new FolderDetailsPage(drone); }
ChangeTypePage extends SharePage { public HtmlPage selectCancel() { drone.find(CANCEL_BUTTON).click(); return new FolderDetailsPage(drone); } }
ChangeTypePage extends SharePage { public HtmlPage selectCancel() { drone.find(CANCEL_BUTTON).click(); return new FolderDetailsPage(drone); } protected  ChangeTypePage(WebDrone drone); }
ChangeTypePage extends SharePage { public HtmlPage selectCancel() { drone.find(CANCEL_BUTTON).click(); return new FolderDetailsPage(drone); } protected  ChangeTypePage(WebDrone drone); @SuppressWarnings("unchecked") @Override ChangeTypePage render(); @SuppressWarnings("unchecked") @Override ChangeTypePage render(long time); @SuppressWarnings("unchecked") @Override ChangeTypePage render(RenderTime timer); boolean isChangeTypeDisplayed(); List<String> getTypes(); HtmlPage selectCancel(); void selectChangeType(final String changeType); HtmlPage selectSave(); }
ChangeTypePage extends SharePage { public HtmlPage selectCancel() { drone.find(CANCEL_BUTTON).click(); return new FolderDetailsPage(drone); } protected  ChangeTypePage(WebDrone drone); @SuppressWarnings("unchecked") @Override ChangeTypePage render(); @SuppressWarnings("unchecked") @Override ChangeTypePage render(long time); @SuppressWarnings("unchecked") @Override ChangeTypePage render(RenderTime timer); boolean isChangeTypeDisplayed(); List<String> getTypes(); HtmlPage selectCancel(); void selectChangeType(final String changeType); HtmlPage selectSave();  }