Skip to content

Commit

Permalink
Add api behat for multiple catalog promotions
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomanhez committed Sep 13, 2021
1 parent 6b2c84b commit 7e86f6d
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ Feature: Applying catalog promotions for variants
Then I should see the product price "$14.00"
And I should see the product original price "$20.00"

@api
Scenario: Applying multiple catalog promotions
Given there is a catalog promotion "Christmas sale" that reduces price by "10%" and applies on "PHP T-shirt" variant
When I view product "T-Shirt"
Then I should see the product price "$12.60"
And I should see the product original price "$20.00"

@api
Scenario: Not applying catalog promotion if it's not eligible
When I view product "Mug"
Expand Down

0 comments on commit 7e86f6d

Please sign in to comment.