DefinePermissionsRoleCCBlogsTest
open /web/guest/home/
waitForElementPresent link=Control Panel
clickAtAndWait link=Control Panel
clickAtAndWait link=Roles
type _128_name Organization Content Creator
clickAtAndWait //input[@value='Search']
assertText //td[1]/a Organization Content Creator
assertText //td[2]/a Organization
assertText //td[3]/a This is the Content Creator Role.
clickAt //strong/span Actions
waitForVisible //div[@class='lfr-component lfr-menu-list']/ul/li[3]/a Define Permissions
assertText //div[@class='lfr-component lfr-menu-list']/ul/li[3]/a Define Permissions
clickAndWait //div[@class='lfr-component lfr-menu-list']/ul/li[3]/a Define Permissions
assertText //strong Organization Content Creator
clickAtAndWait //input[@value='Add Portlet Permissions']
assertText //tr[9]/td/a Blogs
clickAtAndWait //tr[9]/td/a Blogs
assertText //a[3] Blogs
uncheck _128_scope33ACCESS_IN_CONTROL_PANELCheckbox
uncheck _128_scope33CONFIGURATIONCheckbox
uncheck _128_scope33VIEWCheckbox
store eval(selenium.isChecked('_128_scopecom.liferay.portlet.blogsADD_ENTRYCheckbox')) addEntryChecked
gotoIf ${addEntryChecked} AddEntryChecked
clickAt _128_scopecom.liferay.portlet.blogsADD_ENTRYCheckbox
label AddEntryChecked
uncheck _128_scopecom.liferay.portlet.blogsPERMISSIONSCheckbox
uncheck _128_scopecom.liferay.portlet.blogsSUBSCRIBECheckbox
uncheck _128_scopecom.liferay.portlet.blogs.model.BlogsEntryADD_DISCUSSIONCheckbox
uncheck _128_scopecom.liferay.portlet.blogs.model.BlogsEntryDELETECheckbox
uncheck _128_scopecom.liferay.portlet.blogs.model.BlogsEntryDELETE_DISCUSSIONCheckbox
uncheck _128_scopecom.liferay.portlet.blogs.model.BlogsEntryPERMISSIONSCheckbox
uncheck _128_scopecom.liferay.portlet.blogs.model.BlogsEntryUPDATECheckbox
uncheck _128_scopecom.liferay.portlet.blogs.model.BlogsEntryUPDATE_DISCUSSIONCheckbox
uncheck _128_scopecom.liferay.portlet.blogs.model.BlogsEntryVIEWCheckbox
clickAtAndWait //input[@value='Save']
assertText //div[@class='portlet-msg-success'] The role permissions were updated.