DeleteLivePageStagingLocalLiveDLDocumentDocxDockTest
open /web/community-name/
waitForVisible link=Document Library Test Page Document Library Test Page
clickAtAndWait link=Document Library Test Page Document Library Test Page
assertElementPresent //body[@class='blue live-view controls-visible signed-in public-page dockbar-ready'] Yellow Border
assertElementNotPresent //body[@class='blue staging controls-visible signed-in public-page dockbar-ready'] Red Border
assertText //td[1]/a DL Document Title.docx
assertText //td[2]/a 9.6k
assertText //td[3]/a 0
assertText //td[4]/a No
clickAtAndWait link=View Staged Page View Staged Page
clickAtAndWait link=Document Library Test Page Document Library Test Page
assertElementPresent //body[@class='blue staging controls-visible signed-in public-page dockbar-ready'] Red Border
assertElementNotPresent //body[@class='blue live-view controls-visible signed-in public-page dockbar-ready'] Yellow Border
assertElementPresent link=View Live Page View Live Page
assertText //td[1]/a DL Document Title.docx
assertText //td[2]/a 9.6k
assertText //td[3]/a 0
assertText //td[4]/a No
clickAt link=Publish to Live Now Publish to Live Now
pause 5000
waitForVisible //a/span Change
clickAt //a/span Change
waitForVisible //span[1]/span/span/input Delete live page.
clickAt //span[1]/span/span/input Delete live page.
waitForVisible //input[@value='Publish'] Publish
clickAndWait //input[@value='Publish'] Publish
assertConfirmation Are you sure you want to publish these pages?
assertElementNotPresent link=View Live Page View Live Page