public class SummaryTabSubPage extends AbstractPage
Modifier and Type | Field and Description |
---|---|
List<org.openqa.selenium.WebElement> |
contributors |
org.openqa.selenium.WebElement |
createdAt |
org.openqa.selenium.WebElement |
creator |
org.openqa.selenium.WebElement |
lastContributor |
org.openqa.selenium.WebElement |
lastModifiedAt |
org.openqa.selenium.WebElement |
lifeCycleState |
org.openqa.selenium.WebElement |
publicationBlock |
org.openqa.selenium.WebElement |
startWorkflowBtn |
org.openqa.selenium.WebElement |
versionNumberField |
static String |
WORKFLOW_SELECTOR_XPATH |
static String |
WORKFLOW_START_BUTTON_XPATH |
org.openqa.selenium.WebElement |
workflowSelector |
org.openqa.selenium.WebElement |
workflowTasksForm |
driver, userServicesForm
Constructor and Description |
---|
SummaryTabSubPage(org.openqa.selenium.WebDriver driver) |
Modifier and Type | Method and Description |
---|---|
SummaryTabSubPage |
approvePublication() |
boolean |
cantStartWorkflow() |
int |
getCollectionCount() |
List<String> |
getContributors()
Get the list of contributors of the doc.
|
String |
getCreator()
Get the creator of the doc.
|
String |
getCurrentLifeCycleState() |
String |
getLastContributor()
Get the last contributor of the doc.
|
String |
getVersionNumberText() |
WorkflowTabSubPage |
getWorkflow() |
boolean |
hasApprovePublicationButton() |
boolean |
hasRejectPublicationButton() |
boolean |
hasRejectPublicationComment() |
boolean |
isAwaitingPublication() |
boolean |
isCollectionsFormDisplayed() |
boolean |
isPublished() |
boolean |
openTaskForCurrentUser() |
boolean |
parallelOpenTaskForCurrentUser() |
void |
rejectPublication(String comment) |
SummaryTabSubPage |
startDefaultParallelWorkflow() |
SummaryTabSubPage |
startDefaultWorkflow() |
boolean |
workflowAlreadyStarted() |
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 WORKFLOW_START_BUTTON_XPATH
public static final String WORKFLOW_SELECTOR_XPATH
public org.openqa.selenium.WebElement startWorkflowBtn
public org.openqa.selenium.WebElement workflowSelector
public org.openqa.selenium.WebElement workflowTasksForm
public org.openqa.selenium.WebElement lastContributor
public org.openqa.selenium.WebElement creator
public org.openqa.selenium.WebElement createdAt
public org.openqa.selenium.WebElement lastModifiedAt
public List<org.openqa.selenium.WebElement> contributors
public org.openqa.selenium.WebElement lifeCycleState
public org.openqa.selenium.WebElement publicationBlock
public org.openqa.selenium.WebElement versionNumberField
public SummaryTabSubPage(org.openqa.selenium.WebDriver driver)
public SummaryTabSubPage startDefaultWorkflow()
public SummaryTabSubPage startDefaultParallelWorkflow()
public boolean workflowAlreadyStarted()
public boolean openTaskForCurrentUser()
public boolean parallelOpenTaskForCurrentUser()
public WorkflowTabSubPage getWorkflow()
public boolean cantStartWorkflow()
public String getCreator()
public String getLastContributor()
public List<String> getContributors()
public String getCurrentLifeCycleState()
public boolean isCollectionsFormDisplayed()
public int getCollectionCount()
public boolean isPublished()
public boolean isAwaitingPublication()
public boolean hasApprovePublicationButton()
public SummaryTabSubPage approvePublication()
public boolean hasRejectPublicationComment()
public boolean hasRejectPublicationButton()
public void rejectPublication(String comment)
public String getVersionNumberText()
Copyright © 2018 Nuxeo. All rights reserved.