AddWebContentTest
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']
clickAtAndWait link=Control Panel
clickAtAndWait link=Web Content
assertText //nav/ul/li[2]/span Community Staging Community Web Content Display (Staging)
clickAtAndWait //input[@value='Add Web Content']
type _15_title WC Web Content Name
pause 5000
waitForElementPresent _15_structure_el_TextAreaField_content
waitForElementPresent cke_contents_CKEditor1
selectFrame //iframe[@id='_15_structure_el_TextAreaField_content']
selectFrame //td[@id='cke_contents_CKEditor1']/iframe
type //body WC Web Content Content
selectFrame relative=top
clickAtAndWait //input[@value='Publish']
assertText //section/div/div/div/div Your request processed successfully.
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