AddPortletScopeDefaultWCWebContentWCDTest
open /web/guest/home/
waitForVisible link=Web Content Display Test Page Web Content Display Test Page
clickAtAndWait link=Web Content Display Test Page Web Content Display Test Page
assertText //span[@class='portlet-title-text'] Web Content Display
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