portal-users
open | /david/admin_users_html |
clickAndWait | //input[@value='Add user'] |
type | firstname:utf8:ustring | user1
type | lastname:utf8:ustring | user1
type | email:utf8:ustring | user1
type | name:utf8:ustring | user1
type | password:utf8:ustring | user1
type | confirm:utf8:ustring | user1
clickAndWait | //input[@value='Add'] |
verifyTextPresent | Invalid email address. |
type | firstname:utf8:ustring | user1
type | lastname:utf8:ustring | user1
type | email:utf8:ustring | user1@localhost.lh
type | name:utf8:ustring | user1
type | password:utf8:ustring | user1
type | confirm:utf8:ustring | user1
clickAndWait | //input[@value='Add'] |
clickAndWait | //input[@value='Add role'] |
type | role | new_role
click | permissions |
click | document.forms[2].permissions[2] |
click | document.forms[2].permissions[5] |
clickAndWait | //input[@value='Add role'] |
clickAndWait | //input[@value='Users & Roles'] |
addSelection | names | label=user1
addSelection | roles | label=new_role
addSelection | roles | label=Administrator
clickAndWait | //input[@value='Assign role'] |
click | roles |
clickAndWait | //input[@value='Revoke selected roles'] |
addSelection | names | label=user1
addSelection | roles | label=Administrator
addSelection | roles | label=Contributor
addSelection | roles | label=Manager
addSelection | roles | label=Reviewer
removeSelection | roles | label=Administrator
removeSelection | roles | label=Contributor
removeSelection | roles | label=Manager
removeSelection | roles | label=Reviewer
addSelection | roles | label=new_role
addSelection | roles | label=Reviewer
addSelection | roles | label=Contributor
clickAndWait | //input[@value='Assign role'] |
click | document.frmUsersRoles.loc[1] |
click | document.frmUsersRoles.loc[1] |
addSelection | document.frmUsersRoles.roles | label=new_role
addSelection | document.frmUsersRoles.roles | label=Administrator
addSelection | document.frmUsersRoles.roles | label=Manager
addSelection | names | label=user1
click | //input[@value='Pick'] |
waitForPopUp | wwinn | 30000
selectWindow | name=wwinn |
click | link=Information |
selectWindow | title=david |
clickAndWait | //input[@value='Assign role'] |
clickAndWait | //input[@value='Revoke selected roles'] |
click | roles |
click | document.forms[2].roles[1] |
clickAndWait | //input[@value='Revoke selected roles'] |
addSelection | roles | label=new_role
addSelection | names | label=user1
clickAndWait | //input[@value='Assign role'] |
open | acl_users/manage_roles_html |
click | document.frmRoles.roles[6] |
clickAndWait | delete |
open | admin_users_html |
clickAndWait | //input[@value='Users & Roles'] |
verifyTextNotPresent | new_role |
click | roles |
clickAndWait | //input[@value='Revoke selected roles'] |
clickAndWait | link=Local users |
click | names |
click | //input[@value='Delete user'] |