Add behat tests

This commit is contained in:
Tomanhez 2020-06-29 13:19:48 +02:00
parent bb17db6e8c
commit 116671a52a

View file

@ -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