ViewStagingLocalLiveDLDocumentDocxNoDLTest
open /web/community-name-staging/
waitForVisible link=Document Library Test Page Document Library Test 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 //div[@class='portlet-msg-alert'] The data of this portlet is not staged. Any data changes are immediately available to the Local Live site. The portlet's own workflow is still honored. Portlet setup is still managed from staging.
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 //td[1]/a DL Document Title.docx
assertText //h1[@class='header-title']/span DL Document Title.docx
assertText //span[@class='workflow-version'] Version: 1.0
assertText //span[@class='workflow-status'] Status: Approved
assertText //div[@class='lfr-asset-name'] DL Document Title.docx
assertText //td[1]/a 1.0
assertElementPresent //td[2]/a Date
assertText //td[3]/a 9.6k
assertText //tr[3]/td[4] Approved
assertText //td[5]/span/a/span DOCX
clickAtAndWait link=View Live Page View Live 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 //td[1]/a DL Document Title.docx
assertText //h1[@class='header-title']/span DL Document Title.docx
assertText //span[@class='workflow-version'] Version: 1.0
assertText //span[@class='workflow-status'] Status: Approved
assertText //div[@class='lfr-asset-name'] DL Document Title.docx
assertText //td[1]/a 1.0
assertElementPresent //td[2]/a Date
assertText //td[3]/a 9.6k
assertText //tr[3]/td[4] Approved
assertText //td[5]/span/a/span DOCX