Created
December 28, 2008 03:59
-
-
Save emk/40364 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
Scenario: Log in with valid name and password | |
Given a site | |
And a global administator named "sarah" with password "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 | |
Given a site | |
And a global administator named "sarah" with password "password" | |
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