| open | /sessions/logout | |
| open | /sessions/new | |
| type | id=login | admin |
| type | id=password | admin |
| clickAndWait | name=commit | |
| open | /permission_templates | |
| waitForElementPresent | css=.page-actions button | |
| click | css=.page-actions button | |
| waitForElementPresent | css=#permission-template-name | |
| type | css=#permission-template-name | Custom |
| type | css=#permission-template-description | Description |
| type | css=#permission-template-project-key-pattern | .* |
| click | css=#permission-template-submit | |
| waitForElementPresent | css=tr[data-name="Custom"] | |
| assertText | css=tr[data-name="Custom"] .js-name | *Custom* |
| assertText | css=tr[data-name="Custom"] .js-description | *Description* |
| assertText | css=tr[data-name="Custom"] .js-project-key-pattern | *.* |