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 //td[2]/table/tbody/tr/td[1]/div[1]/a Community Staging Community Web Content Display (Staging)
clickAtAndWait //input[@value='Add Web Content']
type _15_title WC Web Content Name
pause 5000
waitForElementPresent _15_editor
waitForElementPresent FCKeditor1___Frame
waitForElementPresent xEditingArea
selectFrame //iframe[@id='_15_editor']
selectFrame //iframe[@id='FCKeditor1___Frame']
selectFrame //iframe
type //body WC Web Content Content
selectFrame relative=top
clickAtAndWait //input[@value='Save and Approve']
assertText //div[@class='portlet-msg-success'] 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