X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fbehat%2Fgherkin%2Ftests%2FBehat%2FGherkin%2FFixtures%2Fetalons%2Foutline_with_spaces.yml;fp=vendor%2Fbehat%2Fgherkin%2Ftests%2FBehat%2FGherkin%2FFixtures%2Fetalons%2Foutline_with_spaces.yml;h=c6e8977251a1405c1190d7111027ae5ccecebb39;hp=0000000000000000000000000000000000000000;hb=1270d9129ce8f27c9b28b10518e32132c58e0aca;hpb=c27c0f0cdaa3f354b1fe54a56ae7e854be6e3f68 diff --git a/vendor/behat/gherkin/tests/Behat/Gherkin/Fixtures/etalons/outline_with_spaces.yml b/vendor/behat/gherkin/tests/Behat/Gherkin/Fixtures/etalons/outline_with_spaces.yml new file mode 100644 index 000000000..c6e897725 --- /dev/null +++ b/vendor/behat/gherkin/tests/Behat/Gherkin/Fixtures/etalons/outline_with_spaces.yml @@ -0,0 +1,33 @@ +feature: + title: Login + language: en + line: 1 + description: |- + To ensure the safety of the application + A regular user of the system + Must authenticate before using the app + + scenarios: + - + type: outline + title: Failed Login + line: 7 + steps: + - { keyword_type: 'Given', type: 'Given', text: 'the user "known_user"', line: 8 } + - { keyword_type: 'When', type: 'When', text: 'I go to the main page', line: 10 } + - { keyword_type: 'Then', type: 'Then', text: 'I should see the login form', line: 11 } + - { keyword_type: 'When', type: 'When', text: 'I fill in "login" with ""', line: 13 } + - { keyword_type: 'When', type: 'And', text: 'I fill in "password" with ""', line: 14 } + - { keyword_type: 'When', type: 'And', text: 'I press "Log In"', line: 15 } + - { keyword_type: 'Then', type: 'Then', text: 'the login request should fail', line: 16 } + - { keyword_type: 'Then', type: 'And', text: 'I should see the error message "Login or Password incorrect"', line: 17 } + examples: + 20: [login, password] + 21: ['', ''] + 22: [unknown_user, ''] + 23: [known_user, ''] + 24: ['', wrong_password] + 25: ['', known_userpass] + 26: [unknown_user, wrong_password] + 27: [unknown_user, known_userpass] + 28: [known_user, wrong_password]