Created
April 15, 2009 01:23
-
-
Save kmarsh/95537 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: Cart | |
In order to buy a sample | |
As a consumer | |
I want to add an item to my cart | |
Background: | |
Given the following products exist: | |
| sku | category | name | price | | |
| CPBOARD-001 | Cedar Pride | Sample Board | $15.00 | | |
| CPPANEL-013 | Cedar Pride | Wicker | $0.00 | | |
@cart @empty | |
Scenario: Consumer adds items to cart then empties cart | |
Given I am a "Consumer" | |
And I go to the catalog | |
And I follow "Cedar Pride" | |
And I add 1 standard board to my cart | |
Then I should see "Shipping Information" | |
And I fill in valid shipping information for "OH" | |
And I press "Save and Continue" | |
Then My cart should contain 1 item | |
And My cart should subtotal $15.00 | |
And My cart should total $15.94 | |
And My cart should be checkoutable | |
And I should not see "Credits" | |
When I go to empty cart | |
Then My cart should contain 0 items |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment