| setTimeout |
30000 |
|
| open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium PublishDocumentBySectionReaderForSectionManagerApproval |
|
| open |
logout |
|
| open |
|
|
| type |
username |
linnet |
| type |
password |
linnet1 |
| clickAndWait |
Submit |
|
| verifyTextPresent |
linnet |
|
| clickAndWait |
link=Workspaces |
|
| clickAndWait |
link=testWorkspace1 |
|
| clickAndWait |
link=testFolder1 |
|
| clickAndWait |
link=test file to be publish 1 |
|
| clickAndWait |
link=Publish |
|
| watchA4jRequests |
|
|
| click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
| waitForA4jRequest |
20000 |
|
| watchA4jRequests |
|
|
| click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
| waitForA4jRequest |
20000 |
|
| assertTextPresent |
Publish here |
|
| watchA4jRequests |
|
|
| click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
| waitForA4jRequest |
20000 |
|
| verifyElementNotPresent |
link=Unpublish |
|
| clickAndWait |
link=Sections |
|
| clickAndWait |
link=testSection1 |
|
| verifyElementPresent |
link=test file to be publish 1 |
|
| clickAndWait |
link=testSection2 |
|
| verifyElementPresent |
link=test file to be publish 1 |
|
| clickAndWait |
link=test file to be publish 1 |
|
| verifyTextPresent |
This document is waiting for a publication approval |
|
| clickAndWait |
link=Log out |
|
| type |
username |
bree |
| type |
password |
bree1 |
| clickAndWait |
Submit |
|
| verifyTextPresent |
bree |
|
| clickAndWait |
link=Sections |
|
| clickAndWait |
link=testSection1 |
|
| clickAndWait |
link=testSection2 |
|
| verifyTextPresent |
This folder contains no document |
|
| clickAndWait |
link=Log out |
|