open |
/sessions/new |
|
type |
login |
admin-user |
type |
password |
admin-user |
clickAndWait |
commit |
|
waitForElementPresent |
css=.js-user-authenticated |
|
open |
/users |
|
store |
javascript{new Date().getTime()} |
userId |
waitForText |
content |
*Create User* |
click |
id=users-create |
|
waitForText |
id=create-user-form |
*Create User* |
type |
id=create-user-login |
${userId} |
type |
id=create-user-name |
Name of ${userId} |
type |
id=create-user-password |
password |
click |
id=create-user-submit |
|
waitForText |
id=users-list |
*${userId}* |
click |
css=[data-login="${userId}"] .js-user-deactivate |
|
waitForText |
id=deactivate-user-form |
*${userId}* |
click |
id=deactivate-user-submit |
|
waitForNotText |
id=users-list |
*${userId}* |
open |
/sessions/logout |
|
open |
/sessions/new |
|
type |
login |
tester |
type |
password |
password |
clickAndWait |
commit |
deactivate-user-form |
waitForText |
login_form |
*Authentication failed* |