unpublishBySectionWriter
setTimeout 30000
open restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium unpublishBySectionWriter
open logout
type username jsmith
type password jsmith1
clickAndWait Submit
verifyTextPresent jsmith
clickAndWait link=Sections
clickAndWait link=testSection1
clickAndWait link=testSection2
verifyNotEditable section_content:clipboardActionsTable_0_0:1:clipboardActionsButton
click //input[@title="Select all / deselect all"]
verifyChecked //input[@title="Select all / deselect all"]
verifyChecked //tr[@class="dataRowOdd"]//input[@type="checkbox"]
verifyChecked //tr[@class="dataRowEven"]//input[@type="checkbox"]
waitForEditable section_content:clipboardActionsTable_0_0:1:clipboardActionsButton 15000
clickAndWait section_content:clipboardActionsTable_0_0:1:clipboardActionsButton
verifyElementNotPresent link=test to be publish 1
verifyElementNotPresent link=test to be publish 2
verifyTextPresent This folder contains no document
clickAndWait link=Workspaces
clickAndWait link=testWorkspace1
clickAndWait link=testFolder1
clickAndWait link=test file to be publish 1
clickAndWait link=Publish
verifyElementNotPresent link=Default domain>Sections>testSection1
verifyElementNotPresent link=Default domain>Sections>testSection1>testSection2
clickAndWait link=testFolder1
clickAndWait link=test file to be publish 2
clickAndWait link=Publish
verifyElementNotPresent link=Default domain>Sections>testSection1
verifyElementNotPresent link=Default domain>Sections>testSection1>testSection2
clickAndWait link=Log out
type username lbramard
type password lbramard1
clickAndWait Submit
verifyTextPresent lbramard
clickAndWait link=Sections
clickAndWait link=testSection1
clickAndWait link=testSection2
verifyElementNotPresent link=test file to be publish 1
verifyElementNotPresent link=test file to be publish 2
clickAndWait link=Workspaces
clickAndWait link=testWorkspace1
clickAndWait link=testFolder1
clickAndWait link=test file to be publish 1
clickAndWait link=Publish
verifyElementNotPresent link=Default domain>Sections>testSection1
verifyElementNotPresent link=Default domain>Sections>testSection1>testSection2
clickAndWait link=testFolder1
clickAndWait link=test file to be publish 2
clickAndWait link=Publish
verifyElementNotPresent link=Default domain>Sections>testSection1
verifyElementNotPresent link=Default domain>Sections>testSection1>testSection2
clickAndWait link=Log out
type username jdoe
type password jdoe1
clickAndWait Submit
verifyTextPresent jdoe
clickAndWait link=Sections
clickAndWait link=testSection1
clickAndWait link=testSection2
verifyElementNotPresent link=testNote1
verifyElementNotPresent link=Note to be modified
clickAndWait link=Workspaces
clickAndWait link=testWorkspace1
clickAndWait link=testFolder1
clickAndWait link=test file to be publish 1
clickAndWait link=Publish
verifyElementNotPresent link=Default domain>Sections>testSection1
verifyElementNotPresent link=Default domain>Sections>testSection1>testSection2
clickAndWait link=testFolder1
clickAndWait link=test file to be publish 2
clickAndWait link=Publish
verifyElementNotPresent link=Default domain>Sections>testSection1
verifyElementNotPresent link=Default domain>Sections>testSection1>testSection2
clickAndWait link=Log out