@Test(groups = { "alfresco-one" }, expectedExceptions = UnsupportedOperationException.class, dependsOnMethods = "testCheckboxAndVersionMenu") public void testIsCommentOptionPresent() throws Exception { documentLibPage = drone.getCurrentPage().render(); documentLibPage.getFileDirectoryInfo(file2.getName()).isCommentLinkPresent(); }
@Override public boolean isCommentLinkPresent() { throw new UnsupportedOperationException("Comments Link is not available in Simple View File Directory Info."); }
TableViewFileDirectoryInfo extends SimpleDetailTableView { @Override public boolean isCommentLinkPresent() { throw new UnsupportedOperationException("Comments Link is not available in Simple View File Directory Info."); } }
TableViewFileDirectoryInfo extends SimpleDetailTableView { @Override public boolean isCommentLinkPresent() { throw new UnsupportedOperationException("Comments Link is not available in Simple View File Directory Info."); } TableViewFileDirectoryInfo(String nodeRef, WebElement webElement, WebDrone drone); }
TableViewFileDirectoryInfo extends SimpleDetailTableView { @Override public boolean isCommentLinkPresent() { throw new UnsupportedOperationException("Comments Link is not available in Simple View File Directory Info."); } TableViewFileDirectoryInfo(String nodeRef, WebElement webElement, WebDrone drone); String getCreator(); HtmlPage selectCreator(); String getCreated(); String getModifier(); HtmlPage selectModifier(); String getModified(); @Override HtmlPage clickShareLink(); @Override HtmlPage clickCommentsLink(); @Override String getCommentsToolTip(); @Override int getCommentsCount(); @Override boolean isCommentLinkPresent(); @Override String getVersionInfo(); }
TableViewFileDirectoryInfo extends SimpleDetailTableView { @Override public boolean isCommentLinkPresent() { throw new UnsupportedOperationException("Comments Link is not available in Simple View File Directory Info."); } TableViewFileDirectoryInfo(String nodeRef, WebElement webElement, WebDrone drone); String getCreator(); HtmlPage selectCreator(); String getCreated(); String getModifier(); HtmlPage selectModifier(); String getModified(); @Override HtmlPage clickShareLink(); @Override HtmlPage clickCommentsLink(); @Override String getCommentsToolTip(); @Override int getCommentsCount(); @Override boolean isCommentLinkPresent(); @Override String getVersionInfo();  }