AddNewWCWebContentAPActionsTest
open /web/guest/home/
waitForVisible link=Asset Publisher Test Page Asset Publisher Test Page
clickAtAndWait link=Asset Publisher Test Page Asset Publisher Test Page
assertText //span[@title='Add New']/ul/li/strong/a Add New
clickAt //span[@title='Add New']/ul/li/strong/a Add New
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Web Content
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Web Content
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[6]/a Web Content
type //input[@id='_15_title'] WC 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 WC Web Content Content
selectFrame relative=top top
clickAtAndWait //input[@value='Publish'] Publish
assertText //h3[@class='asset-title']/a WC Web Content Name
assertText //div[@class='asset-summary'] WC Web Content Content