| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Control Panel |
Control Panel |
| clickAtAndWait |
link=Control Panel |
Control Panel |
| clickAtAndWait |
link=Roles |
Roles |
| type |
//input[@id='_128_keywords'] |
Web Content Editor |
| clickAtAndWait |
//input[@value='Search'] |
Search |
| assertText |
//td[1]/a |
Web Content Editor |
| assertText |
//td[2]/a |
Regular |
| assertText |
//td[3]/a |
Web Content Editors are users who have full permissions and usage over all available Web Content |
| clickAtAndWait |
//td[1]/a |
Web Content Editor |
| assertText |
//h1[@class='header-title'] |
Web Content Editor |
| clickAtAndWait |
link=Define Permissions |
Define Permissions |
| selectAndWait |
_128_add-permissions |
label=Web Content |
| check |
//input[@name='_128_rowIds' and @value='com.liferay.portlet.journalSUBSCRIBE'] |
Subscribe |
| clickAtAndWait |
//input[@value='Save'] |
Save |
| assertText |
//div[@class='portlet-msg-success'] |
The role permissions were updated. |
| clickAtAndWait |
link=Define Permissions |
Define Permissions |
| typeKeys |
_128_add-permissions |
wwwwwwwwww |
| keyPressAndWait |
_128_add-permissions |
\13 |
| check |
//input[@value='15ACCESS_IN_CONTROL_PANEL'] |
Access in Control Panel |
| clickAtAndWait |
//input[@value='Save'] |
Save |
| assertText |
//div[@class='portlet-msg-success'] |
The role permissions were updated. |
| assertText |
//tr[3]/td[3] |
Access in Control Panel |
| assertText |
//tr[4]/td[3] |
Subscribe |