AddPortletScopeCurrentPageWCWebContentWCDTest
open /web/guest/home/
waitForElementPresent link=Web Content Display Test Page2 Web Content Display Test Page2
clickAtAndWait link=Web Content Display Test Page2 Web Content Display Test Page2
assertText //span[@class='portlet-title-text'] Web Content Display (Web Content Display Test Page2)
clickAtAndWait //img[@alt='Add Web Content'] Add Web Content
type //input[@id='_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='Publish'] Publish
assertTextNotPresent Select existing web content or add some web content to be displayed in this portlet. Select existing web content or add some web content to be displayed in this portlet.
assertText //p Web Content Content