publishDocumentBySectionManager
setTimeout 30000
open restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium publishDocumentBySectionManager
open logout
open
type username jdoe
type password jdoe1
clickAndWait Submit
verifyTextPresent jdoe
clickAndWait link=Workspaces
clickAndWait link=testWorkspace1
clickAndWait link=testFolder1
clickAndWait link=File
type //td[@class="fieldColumn"]/input[@type="text"] test file to be publish 1
clickAndWait //input[@value="Create"]
clickAndWait link=Publish
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed
waitForA4jRequest 20000
assertTextPresent Publish here
watchA4jRequests
click link=Publish here
waitForA4jRequest 20000
verifyElementPresent link=Unpublish
clickAndWait link=Sections
clickAndWait link=testSection1
verifyElementPresent link=test file to be publish 1
clickAndWait link=test file to be publish 1
verifyTextPresent This document is published
clickAndWait link=Log out
type username bree
type password bree1
clickAndWait Submit
verifyTextPresent bree
clickAndWait link=Sections
clickAndWait link=testSection1
verifyElementPresent link=test file to be publish 1
clickAndWait link=Log out