PublishToLiveNowDLPageDocumentDocxNoPageDockTest
open /web/community-name/
waitForVisible link=Home Home
clickAtAndWait link=Home Home
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
assertTextNotPresent Document Library Test Page
assertTextNotPresent DL Document Title.docx
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
assertText //td[1]/a/span/span 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 //input[@value='Change Selection'] Change Selection
clickAt //input[@value='Change Selection'] Change Selection
waitForVisible //div[@class='portlet-msg-info'] Note that selecting no pages from the tree reverts to implicit selection of all pages.
assertText //div[@class='portlet-msg-info'] Note that selecting no pages from the tree reverts to implicit selection of all pages.
clickAt //li/div/div[1] Drop Down Arrow
waitForVisible //li/ul/li[1]/div/div[4] Home
assertText //li/ul/li[1]/div/div[4] Home
assertText //li/ul/li[2]/div/div[4] Document Library Test Page
clickAt //li/ul/li[1]/div/div[3] Public Page Checkbox
clickAt //input[@value='Select'] Select
pause 5000
assertText //tr[3]/td[2] Home
waitForVisible //input[@value='Publish'] Publish
clickAndWait //input[@value='Publish'] Publish
assertConfirmation Are you sure you want to publish these pages?