Created
December 28, 2008 05:49
-
-
Save emk/40388 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Logging in and out | |
Before: | |
Given a site | |
And a global administator named "sarah" with password "password" | |
Scenario: Log in with valid name and password | |
When I try to access the overview page | |
And I log in as "sarah" with password "password" | |
Then I should see the overview page | |
Scenario: Log in with an invalid name | |
When I try to access the overview page | |
And I log in as "sarah" with password "invalid" | |
Then I should see "Could not log you in." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment