| open |
/sessions/logout |
|
| open |
/sessions/new |
|
| type |
id=login |
admin |
| type |
id=password |
admin |
| clickAndWait |
name=commit |
|
| waitForElementPresent |
css=.js-user-authenticated |
|
| open |
/users |
|
| waitForElementPresent |
css=.js-user-tokens |
|
| click |
css=.js-user-tokens |
|
| waitForText |
css=.modal |
*No tokens* |
| waitForElementPresent |
css=.js-generate-token-form input |
|
| type |
css=.js-generate-token-form input |
test-token |
| click |
css=.js-generate-token-form button |
|
| waitForElementPresent |
css=.modal code |
|
| waitForText |
css=.modal |
*test-token* |
| waitForElementPresent |
css=.js-revoke-token-form |
|
| click |
css=.js-revoke-token-form button |
|
| click |
css=.js-revoke-token-form button |
|
| assertElementNotPresent |
css=.js-revoke-token-form |
|