AddWebContentSingleApproverScopeCommunityTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAt //div/span/a
waitForVisible //div[4]/div/div[1]/div[2]/ul/li[1]/a Community Name
clickAtAndWait //div[4]/div/div[1]/div[2]/ul/li[1]/a Community Name
assertText //div/span/a Community Name
clickAtAndWait link=Web Content
clickAtAndWait //input[@value='Add Web Content']
type _15_title Web Content Name
pause 5000
waitForElementPresent _15_structure_el_TextAreaField_content
waitForElementPresent cke_contents_CKEditor1
waitForElementPresent //textarea
selectFrame //iframe[@id='_15_structure_el_TextAreaField_content']
selectFrame //td[@id='cke_contents_CKEditor1']/iframe
type //body Web Content Content
selectFrame relative=top
clickAtAndWait //input[@value='Submit for Publication']
assertText //section/div/div/div/div Your request processed successfully.
assertText //td[3]/a Web Content Name
assertText //td[4]/a 1.0
assertText //td[5]/a Pending
assertText //td[8]/a Joe Bloggs