Skip to content

Instantly share code, notes, and snippets.

@ngty
Created December 18, 2008 14:50
Show Gist options
  • Save ngty/37518 to your computer and use it in GitHub Desktop.
Save ngty/37518 to your computer and use it in GitHub Desktop.
Feature: Login
To ensure the safety of the application
A regular user of the system
Must authenticate before using the app
Scenario Outline: Failed Login
Given I am not authenticated
When I go to /login
And I fill in "login" with "<mail>"
And I fill in "password" with "<password>"
And I press "Log In"
Then the login request should fail
Then I should see an error message
Examples:
| mail | password |
| not_an_address | nil |
| not@not | 123455 |
| [email protected] | wrong_paasword |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment