Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Feature: Cart management
- In order to reserve spaces and order products
- Registered users should be able to
- Add spaces and products to their cart
- Background:
- Given an existing normal user "user2" with password "password2"
- And an existing non-reserved space "A13"
- And an existing non-reserved space "A14"
- And a current Var entry
- And a multispace discount Product
- When I go to the login page
- And I sign in as "user2" with password "password2"
- And I search for the space "A13 A14"
- And I press "A13"
- And I press "A14"
- Scenario: Add two spaces to the cart
- Then I should see "DescriptionQtyPriceSubtotal A13"
- And I should see "A14"
- And I should see "Multiple Reservation Discount"
- And I should see "Total:$95.00"
- Scenario: Remove one space from a cart with two spaces in it
- And I press "X"
- And I press "Yes"
- Then I should see "DescriptionQtyPriceSubtotal A14"
- And I should see "Total:$50.00"
Add Comment
Please, Sign In to add comment