Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Feature: Shopping Cart
- Scenario: Books can be added to the cart
- Given the following books
- | Author | Title | Price |
- | Martin Fowler | Analysis Patterns | 50.20 |
- | Eric Evans | Domain Driven Design | 46.34 |
- | Ted Pattison | Inside Windows SharePoint Services | 31.49 |
- | Gojko Adzic | Bridging the Communication Gap | 24.75 |
- And I am logged in
- When I place "Analysis Patterns" into the cart
- Then my cart should contain 1 piece of "Analysis Patterns"
- Scenario: Books can be removed from the cart
- Given the following books
- | Author | Title | Price |
- | Martin Fowler | Analysis Patterns | 50.20 |
- | Eric Evans | Domain Driven Design | 46.34 |
- | Ted Pattison | Inside Windows SharePoint Services | 31.49 |
- | Gojko Adzic | Bridging the Communication Gap | 24.75 |
- And I am logged in
- And I have a cart with "Analysis Patterns"
- When I delete "Analysis Patterns" from the cart
- Then my cart should be empty
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement