userManagement
open | /GVC/pages/home.jsf |
click | link=User Management |
verifyTextPresent | Sorry, You don't have permission to acess this page. |
type | loginForm:email | admin
type | loginForm:password | admin
clickAndWait | loginForm:loginButton |
clickAndWait | link=User Management |
verifyTextPresent | User Management |
select | selectUserForm:users | label=admin
verifyValue | userManagementForm:email | admin
verifyValue | userManagementForm:password | admin
clickAndWait | userManagementForm:removeUser |
verifyTextPresent | Impossible to remove this user. |
type | userManagementForm:email | myUser
type | userManagementForm:password | myPassword
clickAndWait | userManagementForm:addUser |
verifyTextPresent | User added. |
clickAndWait | userManagementForm:addUser |
verifyTextPresent | User already exists. |
type | userManagementForm:password | myPassword2
clickAndWait | userManagementForm:updateUser |
type | userManagementForm:email |
clickAndWait | userManagementForm:updateUser |
verifyTextPresent | "email": Value is required. |
type | userManagementForm:email | myUser2
clickAndWait | userManagementForm:removeUser |
verifyTextPresent | User does not exist. |
type | userManagementForm:email | myUser
clickAndWait | userManagementForm:removeUser |
verifyTextPresent | User removed. |
clickAndWait | link=Logout |