Security update for permissions_by_term
[yaffs-website] / vendor / behat / gherkin / tests / Behat / Gherkin / Fixtures / etalons / outline_with_spaces.yml
1 feature:
2   title:        Login
3   language:     en
4   line:         1
5   description:  |-
6     To ensure the safety of the application
7     A regular user of the system
8     Must authenticate before using the app
9
10   scenarios:
11     -
12       type:     outline
13       title:    Failed Login
14       line:     7
15       steps:
16         - { keyword_type: 'Given', type: 'Given',  text: 'the user "known_user"',                  line: 8 }
17         - { keyword_type: 'When',  type: 'When',   text: 'I go to the main page',                  line: 10 }
18         - { keyword_type: 'Then',  type: 'Then',   text: 'I should see the login form',            line: 11 }
19         - { keyword_type: 'When',  type: 'When',   text: 'I fill in "login" with "<login>"',       line: 13 }
20         - { keyword_type: 'When',  type: 'And',    text: 'I fill in "password" with "<password>"', line: 14 }
21         - { keyword_type: 'When',  type: 'And',    text: 'I press "Log In"',                       line: 15 }
22         - { keyword_type: 'Then',  type: 'Then',   text: 'the login request should fail',          line: 16 }
23         - { keyword_type: 'Then',  type: 'And',    text: 'I should see the error message "Login or Password incorrect"',  line: 17 }
24       examples:
25         20: [login, password]
26         21: ['', '']
27         22: [unknown_user, '']
28         23: [known_user, '']
29         24: ['', wrong_password]
30         25: ['', known_userpass]
31         26: [unknown_user, wrong_password]
32         27: [unknown_user, known_userpass]
33         28: [known_user, wrong_password]