mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
Add behat tests
This commit is contained in:
parent
bb17db6e8c
commit
116671a52a
1 changed files with 3 additions and 3 deletions
|
|
@ -9,21 +9,21 @@ Feature: Removing cart item from cart
|
|||
And the store has a product "T-shirt banana" priced at "$12.54"
|
||||
And I added product "T-shirt banana" to the cart
|
||||
|
||||
@ui
|
||||
@ui @api
|
||||
Scenario: Removing cart item
|
||||
When I see the summary of my cart
|
||||
And I remove product "T-shirt banana" from the cart
|
||||
Then my cart should be empty
|
||||
And my cart's total should be "$0.00"
|
||||
|
||||
@ui
|
||||
@ui @api
|
||||
Scenario: Removing cart item when the store has defined default shipping method
|
||||
Given the store has "UPS" shipping method with "$20.00" fee
|
||||
When I remove product "T-shirt banana" from the cart
|
||||
Then my cart should be empty
|
||||
And my cart's total should be "$0.00"
|
||||
|
||||
@ui
|
||||
@ui @api
|
||||
Scenario: Checking cart's total after removing one item
|
||||
Given the store has a product "T-shirt strawberry" priced at "$17.22"
|
||||
And I add this product to the cart
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue