ViewCommunityStagingCommunityWCDTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Communities
type _134_name Community Staging Community Web Content Display
clickAtAndWait //input[@value='Search']
assertText //td[1]/a[2] Staging
clickAtAndWait //td[1]/a[2] Staging
waitForVisible link=Page Staging Community Web Content Display
clickAtAndWait link=Page Staging Community Web Content Display
assertElementPresent //body[@class='blue staging controls-visible signed-in public-page']
assertText //p WC Web Content Content
clickAtAndWait link=Control Panel
clickAtAndWait link=Web Content
assertText //h2/a Community Staging Community Web Content Display (Staging)
assertElementPresent //td[2]/a WC Web Content ID
assertText //td[3]/a WC Web Content Name
assertText //td[4]/a 1.0
assertText //td[5]/a Approved
assertElementPresent //td[6]/a Modified Date
assertElementPresent //td[7]/a Display Date
assertText //td[8]/a Joe Bloggs
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Communities
type _134_name Community Staging Community Web Content Display
clickAtAndWait //input[@value='Search']
clickAtAndWait //td[1]/a[1] Public Pages
waitForVisible link=Page Staging Community Web Content Display
clickAtAndWait link=Page Staging Community Web Content Display
assertElementNotPresent //body[@class='blue staging controls-visible signed-in public-page']
assertTextNotPresent WC Web Content Content
clickAtAndWait link=Control Panel
clickAtAndWait link=Web Content
assertText //h2/a Community Staging Community Web Content Display (Staging)
assertElementPresent //td[2]/a WC Web Content ID
assertText //td[3]/a WC Web Content Name
assertText //td[4]/a 1.0
assertText //td[5]/a Approved
assertElementPresent //td[6]/a Modified Date
assertElementPresent //td[7]/a Display Date
assertText //td[8]/a Joe Bloggs