mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
[API][Behat] Cover scenarios for receiving discount on shipping after changing product's quantity
This commit is contained in:
parent
980b797e70
commit
f075abe053
1 changed files with 5 additions and 5 deletions
|
|
@ -28,20 +28,20 @@ Feature: Receiving percentage discount on shipping
|
|||
Then my cart total should be "$100.00"
|
||||
And my cart shipping total should be "$0.00"
|
||||
|
||||
@ui
|
||||
@ui @api
|
||||
Scenario: Receiving free shipping after changing the quantity of a product in the cart
|
||||
Given the promotion gives free shipping to every order over "$70.00"
|
||||
When I add product "PHP Mug" to the cart
|
||||
And I change "PHP Mug" quantity to 4
|
||||
And I change product "PHP Mug" quantity to 4 in my cart
|
||||
Then my cart total should be "$80.00"
|
||||
And my cart shipping total should be "$0.00"
|
||||
|
||||
@ui
|
||||
@ui @api
|
||||
Scenario: Not receiving free shipping after changing the quantity of a product in the cart
|
||||
Given the promotion gives free shipping to every order over "$70.00"
|
||||
When I add product "PHP Mug" to the cart
|
||||
And I change "PHP Mug" quantity to 4
|
||||
And I change "PHP Mug" quantity to 2
|
||||
And I change product "PHP Mug" quantity to 4 in my cart
|
||||
And I change product "PHP Mug" quantity to 2 in my cart
|
||||
Then my cart total should be "$50.00"
|
||||
And my cart shipping total should be "$10.00"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue