publishingApprovalBySectionManager
setTimeout 30000
open restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium publishingApprovalBySectionManager
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 1
verifyTextPresent This document is waiting for a publication approval
clickAndWait //input[@value="Approve"]
verifyTextPresent This document is published
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
clickAndWait link=testSection2
verifyElementPresent link=test file to be publish 1
clickAndWait link=Log out
type username linnet
type password linnet1
clickAndWait Submit
verifyTextPresent linnet
clickAndWait link=Sections
clickAndWait link=testSection1
clickAndWait link=testSection2
clickAndWait link=test file to be publish 1
verifyTextPresent This document is published
clickAndWait link=Log out