2 To ensure the safety of the application
3 A regular user of the system
4 Must authenticate before using the app
7 Scenario Outline: Failed Login
8 Given the user "known_user"
10 When I go to the main page
11 Then I should see the login form
13 When I fill in "login" with "<login>"
14 And I fill in "password" with "<password>"
16 Then the login request should fail
17 And I should see the error message "Login or Password incorrect"
26 | unknown_user | wrong_password |
27 | unknown_user | known_userpass |
28 | known_user | wrong_password |