Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. Feature: Shopping Cart
  2.  
  3. Scenario: Books can be added to the cart
  4. Given the following books
  5. | Author | Title | Price |
  6. | Martin Fowler | Analysis Patterns | 50.20 |
  7. | Eric Evans | Domain Driven Design | 46.34 |
  8. | Ted Pattison | Inside Windows SharePoint Services | 31.49 |
  9. | Gojko Adzic | Bridging the Communication Gap | 24.75 |
  10. And I am logged in
  11. When I place "Analysis Patterns" into the cart
  12. Then my cart should contain 1 piece of "Analysis Patterns"
  13.  
  14. Scenario: Books can be removed from the cart
  15. Given the following books
  16. | Author | Title | Price |
  17. | Martin Fowler | Analysis Patterns | 50.20 |
  18. | Eric Evans | Domain Driven Design | 46.34 |
  19. | Ted Pattison | Inside Windows SharePoint Services | 31.49 |
  20. | Gojko Adzic | Bridging the Communication Gap | 24.75 |
  21. And I am logged in
  22. And I have a cart with "Analysis Patterns"
  23. When I delete "Analysis Patterns" from the cart
  24. Then my cart should be empty
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement