| setTimeout |
30000 |
|
| open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium publishingRejectBySectionManager |
|
| open |
logout |
|
| type |
username |
jdoe |
| type |
password |
jdoe1 |
| clickAndWait |
Submit |
|
| verifyTextPresent |
jdoe |
|
| 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=New |
|
| 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 |
|