AddWebContentTest
open /web/staging-organization-wcd/
waitForVisible link=Page Staging Organization Web Content Display
clickAtAndWait link=Page Staging Organization Web Content Display
assertElementPresent //body[@class='blue live-view controls-visible signed-in public-page']
assertElementNotPresent //body[@class='blue staging controls-visible signed-in public-page']
clickAtAndWait link=View Staged Page
assertElementNotPresent //body[@class='blue live-view controls-visible signed-in public-page']
assertElementPresent //body[@class='blue staging controls-visible signed-in public-page']
clickAtAndWait link=Control Panel
clickAtAndWait link=Web Content
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