open |
restAPI/systemLog?token=dolog&level=INFO&message=----- Selenium publishingRejectBySectionWriter |
|
open |
logout |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Publish document |
|
verifyTextNotPresent |
Your dashboard is empty. |
|
clickAndWait |
link=test file to be publish 2 |
|
verifyTextPresent |
This document is waiting for a publication approval |
|
clickAndWait |
//input[@value="Reject"] |
|
verifyTextPresent |
Please enter a comment |
|
type |
//textarea[@id="document_view:nxl_default_summary_layout:rejectPublishingComment"] |
refuse |
clickAndWait |
//input[@value="Reject"] |
|
verifyElementPresent |
link=test file to be publish 1 |
|
verifyElementNotPresent |
link=test file to be publish 2 |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Your dashboard is empty. |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
verifyElementNotPresent |
link=test file to be publish 2 |
|
clickAndWait |
link=Log out |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as linnet |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
verifyElementNotPresent |
link=test file to be publish 2 |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorkspace1 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=test file to be publish 2 |
|
clickAndWait |
link=Publish |
|
verifyElementNotPresent |
link=Unpublish |
|
clickAndWait |
link=Log out |
|