Portlet_EditEntryTest
waitForElementPresent link=Blogs Permissions Page
clickAtAndWait link=Blogs Permissions Page
clickAtAndWait link=Portlet1 Temporary1 Entry1
assertText //div/ul[1]/li[1]/span Portlet1 Temporary1 Entry1
assertText //p This is a temporary portlet permissions entry!
clickAtAndWait link=Edit
type _33_title Edited1 Portlet1 Temporary1 Entry1
pause 5000
waitForElementPresent _33_editor
waitForElementPresent cke_contents_CKEditor1
waitForElementPresent //textarea
selectFrame //iframe[@id='_33_editor']
selectFrame //td[@id='cke_contents_CKEditor1']/iframe
type //body This is an edited temporary portlet permissions entry!
selectFrame relative=top
clickAtAndWait _33_saveButton
assertTextPresent Your request processed successfully.
assertNotText //div/ul[1]/li[1]/span Portlet1 Temporary1 Entry1
assertText //div/ul[1]/li[1]/span Edited1 Portlet1 Temporary1 Entry1
assertNotText //p This is a temporary portlet permissions entry!
assertText //p This is an edited temporary portlet permissions entry!