PublishDocumentBySectionReaderForSectionWriterReject
setTimeout 30000
open restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium PublishDocumentBySectionReaderForSectionWriterReject
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 2
clickAndWait link=Publish
verifyElementNotPresent link=Unpublish
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
verifyElementNotPresent link=Unpublish
clickAndWait link=Sections
clickAndWait link=testSection1
verifyElementPresent link=test file to be publish 2
clickAndWait link=test file to be publish 2
verifyTextPresent This document is waiting for a publication approval
clickAndWait link=testSection2
verifyElementPresent link=test file to be publish 2
clickAndWait link=test file to be publish 2
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
verifyElementNotPresent link=Note to be modified
clickAndWait link=testSection2
verifyElementPresent link=test file to be publish 2
clickAndWait link=Log out