Skip to content

Instantly share code, notes, and snippets.

@ka8725
Created May 11, 2012 10:42
Show Gist options
  • Save ka8725/2658905 to your computer and use it in GitHub Desktop.
Save ka8725/2658905 to your computer and use it in GitHub Desktop.
Feature: User should be able to login when he enters valid username/password and vice versa
Scenario Outline: User should have access to the system
Given the folloving customer exist in current store:
| Email | Password | Password Confirmation |
| <Email> | <Password> | <Password Confirmation> |
And I am on the login page
When I fill in the following:
| login-email | [email protected] |
| login-password | password1 |
And I press "Login & Continue"
Then I should see "Logged in successfully"
Examples:
| Email | Password | Password Confirmation |
| [email protected] | pass12345 | pass12345 |
| [email protected] | pass12345 | pass12345 |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment