Created
February 29, 2012 21:05
-
-
Save adamstrickland/1944342 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
Scenario: landing page | |
When I am on the landing page | |
Then I should see "My E-Commerce Landing Page" | |
Scenario: no account | |
Given I do not have an account | |
When I go to the terms and conditions page | |
Then I should be redirected to the create account page | |
Scenario: not logged in | |
Given I have an account | |
And I am not logged in | |
When I go to the terms and conditions page | |
Then I should be redirected to the login page | |
Scenario: logged in, not accepted | |
Given I have an account | |
And I am logged in | |
And I have not accepted the terms | |
When I go to the terms and conditions page | |
Then I should see the terms | |
And the "I Accept" checkbox should not be checked | |
And I should see the "Continue" button | |
Scenario: logged in, accepted | |
Given I am logged in | |
And I have accepted the terms | |
When I go to the terms and conditions page | |
Then I should be on the storefronts page | |
Scenario: logged in, accepts | |
Given I am on the terms and conditions page | |
When I check "I Accept" | |
And I press "Continue" | |
Then I should be on the storefronts page |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment