setTimeout |
30000 |
|
open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium publishingRejectBySectionWriter |
|
open |
logout |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
jsmith |
|
clickAndWait |
link=Home |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData |
60000 |
selectOpenSocialGadgetFrame |
tasks |
|
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_grid_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=Home |
|
waitForOpensocialGadgetsToLoad |
nxDocumentListData |
60000 |
selectOpenSocialGadgetFrame |
tasks |
|
verifyTextPresent |
Your dashboard is empty. |
|
selectWindow |
null |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
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 |
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 |
|