AddWebContentScopeGlobalTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
pause 5000
clickAt //div[1]/div/span/a Scope Selector
waitForVisible //div[3]/div[2]/ul/li[1]/a Global
clickAtAndWait //div[3]/div[2]/ul/li[1]/a Global
waitForText //div[1]/div/span/a Global
assertText //div[1]/div/span/a Global
clickAtAndWait link=Web Content
clickAtAndWait //input[@value='Add Web Content']
type _15_title Web Content Name
pause 5000
waitForVisible //td[@id='cke_contents__15__15_structure_el_TextAreaField_content']/iframe CK Editor
selectFrame //td[@id='cke_contents__15__15_structure_el_TextAreaField_content']/iframe CK Editor
type //body Web Content Content
selectFrame relative=top top
clickAtAndWait //input[@value='Submit for Publication']
assertText //div[@class='portlet-msg-success'] Your request processed successfully.
assertText //td[3]/a Web Content Name
assertText //td[4]/a Pending
assertText //td[7]/a Joe Bloggs