EditWebContentAssignedToMyRolesActionsTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Web Content
assertText //td[3]/a Web Content Name
assertText //td[4]/a Pending
assertElementPresent //td[5]/a Modified Date
assertElementPresent //td[6]/a Display Date
assertText //td[7]/a Joe Bloggs
clickAt //td[8]/span/ul/li/strong/a Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[1]/a Edit
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[1]/a Edit
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[1]/a Edit
type _15_title Web Content Name Edited
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 Edited
selectFrame relative=top top
assertElementPresent //input[@value='Submit for Publication' and @disabled='']
clickAtAndWait _15_saveButton
assertText //div[@class='portlet-msg-success'] Your request processed successfully.
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Web Content
assertText //td[3]/a Web Content Name Edited
assertText //td[4]/a Pending
assertElementPresent //td[5]/a Modified Date
assertElementPresent //td[6]/a Display Date
assertText //td[7]/a Joe Bloggs