public class TopicTabSubPage extends DocumentBasePage
DocumentBasePage.UserNotConnectedException
Modifier and Type | Field and Description |
---|---|
org.openqa.selenium.WebElement |
addButton |
org.openqa.selenium.WebElement |
cancelButton |
static String |
COMMENT_STATUS_PUBLISHED |
static String |
COMMENT_STATUS_REJECTED |
static String |
COMMENT_STATUS_WAITING_APPROVAL |
org.openqa.selenium.WebElement |
commentsList |
org.openqa.selenium.WebElement |
descriptionInput |
org.openqa.selenium.WebElement |
titleInput |
breadcrumbForm, commentsTabLink, contentTabLink, contextualActions, currentDocumentContributor, currentDocumentDescription, currentDocumentTitle, currentFolderishDescription, documentManagementLink, editTabLink, filesTabLink, forumTabLink, historyTabLink, homePageLink, manageTabLink, permissionsTabLink, publishTabLink, relationTabLink, searchPageLink, summaryTabLink, tabsBar, topicTabLink, userMenuActions, workflowLink
driver, userServicesForm
Constructor and Description |
---|
TopicTabSubPage(org.openqa.selenium.WebDriver driver) |
Modifier and Type | Method and Description |
---|---|
TopicTabSubPage |
addComment(String title,
String description) |
TopicTabSubPage |
approve(String title) |
void |
checkComment(String title,
String author,
String description,
String status,
boolean canReply,
boolean canApproveOrReject,
boolean canDelete) |
TopicTabSubPage |
delete(String title) |
org.openqa.selenium.WebElement |
getComment(String title) |
boolean |
hasComment(String title) |
boolean |
isCommentFormDisplayed() |
TopicTabSubPage |
reject(String title) |
TopicTabSubPage |
reply(String title,
String description) |
TopicTabSubPage |
showCommentForm() |
checkDocTitle, checkUserConnected, clickOnBreadcrumbElement, clickOnDocumentTabLink, clickOnDocumentTabLink, createCollection, createCollections, createFile, createFolder, createForum, createNote, createSection, createWorkspace, deleteWorkspace, getAddAllToCollectionPopup, getAddToCollectionPopup, getAdminCenter, getBlobActions, getCollectionContentTab, getCommentsTab, getContentTab, getContentTab, getContextualActions, getCurrentContributors, getCurrentDocumentDescription, getCurrentDocumentTitle, getCurrentFolderishDescription, getCurrentStates, getDocumentManagement, getEditTab, getEditTab, getFilesTab, getForumTab, getHistoryTab, getManageTab, getNavigationSubPage, getPermissionsTab, getPublishTab, getRelationTab, getSummaryTab, getTopicTab, getUserHome, getWorkflow, getWorkspacesContentTab, goToDocumentByBreadcrumb, goToHomePage, goToSearchPage, goToWorkspaces, hasEditTab, hasFilesTab, hasManageTab, hasNewButton, hasNewPermissionsButton, hasNewRelationLink, isAddToCollectionUpperActionAvailable, isMainTabSelected, makeBreadcrumbUsable, popupUserMenuActions, switchToDocumentBase, switchToPersonalWorkspace
asPage, clickOnTabIfNotSelected, clickOnTabIfNotSelected, clickOnTabIfNotSelected, closeFancyBox, findElementAndWaitUntilEnabled, findElementAndWaitUntilEnabled, findElementsWithTimeout, findElementWaitUntilEnabledAndClick, findElementWaitUntilEnabledAndClick, findElementWaitUntilEnabledAndClick, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, findElementWithTimeout, get, getErrorFeedbackMessage, getFancyBoxContent, getFeedbackMessage, getHeaderLinks, getInfoFeedbackMessage, getWebFragment, getWebFragment, hasElement, selectItemInDropDownMenu, switchToFrame, useAjaxTabs, waitForFancyBoxClosed, waitUntilEnabled, waitUntilEnabled, waitUntilEnabledAndClick, waitUntilEnabledAndClick, waitUntilURLDifferentFrom
public static final String COMMENT_STATUS_PUBLISHED
public static final String COMMENT_STATUS_WAITING_APPROVAL
public static final String COMMENT_STATUS_REJECTED
public org.openqa.selenium.WebElement commentsList
public org.openqa.selenium.WebElement titleInput
public org.openqa.selenium.WebElement descriptionInput
public org.openqa.selenium.WebElement addButton
public org.openqa.selenium.WebElement cancelButton
public TopicTabSubPage(org.openqa.selenium.WebDriver driver)
public void checkComment(String title, String author, String description, String status, boolean canReply, boolean canApproveOrReject, boolean canDelete)
public boolean hasComment(String title)
public boolean isCommentFormDisplayed()
public TopicTabSubPage showCommentForm()
public TopicTabSubPage addComment(String title, String description)
public TopicTabSubPage reply(String title, String description)
public TopicTabSubPage delete(String title)
public TopicTabSubPage reject(String title)
public TopicTabSubPage approve(String title)
public org.openqa.selenium.WebElement getComment(String title)
Copyright © 2018 Nuxeo. All rights reserved.