Skip to content

Instantly share code, notes, and snippets.

@mhfs
Created September 16, 2009 02:00
Show Gist options
  • Save mhfs/187811 to your computer and use it in GitHub Desktop.
Save mhfs/187811 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 the user "known_user"
When I go to the main page
Then I should see the login form
When I fill in "login" with "<login>"
And I fill in "password" with "<password>"
And I press "Log In"
Then the login request should fail
And I should see the error message "Login or Password incorrect"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment