@Test(dependsOnMethods = "testFolderProperties", groups = { "alfresco-one" }) public void testFolderComments() { if (logger.isTraceEnabled()) logger.trace("====testFolderComments===="); folderDetailsPage.isCommentAddedAndRemoved("COMMENT added"); }
public boolean isCommentAddedAndRemoved(String comment) { if (addComment(comment) instanceof FolderDetailsPage) { if (removeComment(comment) instanceof FolderDetailsPage) { return true; } } return false; }
FolderDetailsPage extends DetailsPage { public boolean isCommentAddedAndRemoved(String comment) { if (addComment(comment) instanceof FolderDetailsPage) { if (removeComment(comment) instanceof FolderDetailsPage) { return true; } } return false; } }
FolderDetailsPage extends DetailsPage { public boolean isCommentAddedAndRemoved(String comment) { if (addComment(comment) instanceof FolderDetailsPage) { if (removeComment(comment) instanceof FolderDetailsPage) { return true; } } return false; } FolderDetailsPage(WebDrone drone); }
FolderDetailsPage extends DetailsPage { public boolean isCommentAddedAndRemoved(String comment) { if (addComment(comment) instanceof FolderDetailsPage) { if (removeComment(comment) instanceof FolderDetailsPage) { return true; } } return false; } FolderDetailsPage(WebDrone drone); @SuppressWarnings("unchecked") @Override synchronized FolderDetailsPage render(); @SuppressWarnings("unchecked") @Override synchronized FolderDetailsPage render(long time); @SuppressWarnings("unchecked") @Override synchronized FolderDetailsPage render(RenderTime timer); boolean isCorrectPath(String folderName); boolean isTagPanelPresent(); boolean isFolderActionsPresent(); FolderDetailsPage selectDownloadFolderAsZip(String type); ChangeTypePage selectChangeType(); boolean isCommentAddedAndRemoved(String comment); boolean isDownloadAsZipAtTopRight(); List<String> getFolderActionList(); boolean isViewOnGoogleMapsLinkVisible(); List<WebElement> getEditControls(); static boolean IsModifierDisplayed(WebDrone drone, String userName); FolderRulesPage selectManageRules(); boolean isPropertiesLabelsPresent(); }
FolderDetailsPage extends DetailsPage { public boolean isCommentAddedAndRemoved(String comment) { if (addComment(comment) instanceof FolderDetailsPage) { if (removeComment(comment) instanceof FolderDetailsPage) { return true; } } return false; } FolderDetailsPage(WebDrone drone); @SuppressWarnings("unchecked") @Override synchronized FolderDetailsPage render(); @SuppressWarnings("unchecked") @Override synchronized FolderDetailsPage render(long time); @SuppressWarnings("unchecked") @Override synchronized FolderDetailsPage render(RenderTime timer); boolean isCorrectPath(String folderName); boolean isTagPanelPresent(); boolean isFolderActionsPresent(); FolderDetailsPage selectDownloadFolderAsZip(String type); ChangeTypePage selectChangeType(); boolean isCommentAddedAndRemoved(String comment); boolean isDownloadAsZipAtTopRight(); List<String> getFolderActionList(); boolean isViewOnGoogleMapsLinkVisible(); List<WebElement> getEditControls(); static boolean IsModifierDisplayed(WebDrone drone, String userName); FolderRulesPage selectManageRules(); boolean isPropertiesLabelsPresent();  }