Created
December 21, 2011 23:11
-
-
Save gabrielfalcao/1508140 to your computer and use it in GitHub Desktop.
Sample lettuce feature
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: exemplify why step.behave_as can be a not-so-good option | |
Scenario: Login should work | |
Given I am at the login page | |
When I type the username "root" | |
And I type the password "123" | |
And I try to perform the login | |
Then it works and I am redirected to the admin page | |
Scenario: Get in the user management admin page | |
Given I log in as "admin" with password "123" | |
When I click to manage users | |
Then I am pointed out to the user management page |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment