Created
September 16, 2011 10:38
-
-
Save chrismdp/1221816 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: Paul pays employees | |
In order to retain staff | |
As Paul the Payroll Manager I want to pay my staff | |
Scenario: | |
Given an admin user called "Paul" with a password "password" | |
And a user called "Bob" | |
And "Bob" is an employee | |
And "Bob" gets paid "$2,000" a month | |
When I visit the homepage | |
And I click on "Log in" | |
And I fill in "username" with "Paul" | |
And I fill in "password" with "password" | |
And I click "Log in" | |
And I click "Payroll" | |
And I click "Bob" | |
And I click "Pay" | |
And I enter "$2,000" | |
And I click "Pay" | |
Then I should see "Bob has been paid" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment