[PriceHistory] Tag scenarios with seeing lowest price enabled

This commit is contained in:
Rafikooo 2023-03-31 09:23:22 +02:00
parent 1c55e259f3
commit af145a6e2f
No known key found for this signature in database
GPG key ID: 4A26D8327BC2442B

View file

@ -7,20 +7,20 @@ Feature: Seeing the product's lowest price before the discount
Background:
Given the store operates on a single channel in "United States"
@todo
@api @ui
Scenario: Not seeing the lowest price information on a product with no discount
Given the store has a product "Wyborowa Vodka" priced at "$21.00"
When I check this product's details
Then I should not see information about its lowest price
@todo
@api @ui
Scenario: Seeing the lowest price information on a product that has a single discount
Given the store has a product "Wyborowa Vodka" priced at "$37.00"
And this product's price changed to "$21.00" and original price changed to "$37.00"
When I check this product's details
Then I should see "$37.00" as its lowest price before the discount
@todo
@api @ui
Scenario: Seeing the lowest price information on a product that has a discount, and then seeing the discount change
Given the store has a product "Wyborowa Vodka" priced at "$37.00"
And this product's price changed to "$21.00" and original price changed to "$37.00"
@ -28,7 +28,7 @@ Feature: Seeing the product's lowest price before the discount
When I check this product's details
Then I should see "$21.00" as its lowest price before the discount
@todo
@api @ui
Scenario: Seeing the lowest price information on a product that has a discount, over a month passes, and then seeing the discount change
Given it is "2023-03-14" now
And the store has a product "Wyborowa Vodka" priced at "$42.00"
@ -38,7 +38,7 @@ Feature: Seeing the product's lowest price before the discount
When I check this product's details
Then I should see "$21.00" as its lowest price before the discount
@todo
@api @ui
Scenario: Seeing the lowest price information on a product that has a discount and the one of the previous promotions ended over 30 days ago
Given it is "2022-12-01" now
And the store has a product "Wyborowa Vodka" priced at "$42.00"
@ -50,7 +50,7 @@ Feature: Seeing the product's lowest price before the discount
When I check this product's details
Then I should see "$39.00" as its lowest price before the discount
@todo
@api @ui
Scenario: Seeing the lowest price information on a product that has a discount and the previous promotion ended over 30 days ago
Given it is "2022-12-01" now
And the store has a product "Wyborowa Vodka" priced at "$42.00"
@ -62,7 +62,7 @@ Feature: Seeing the product's lowest price before the discount
When I check this product's details
Then I should see "$42.00" as its lowest price before the discount
@todo
@api @ui
Scenario: Seeing the lowest price information on a product that has the lowest price set beyond the period but it is still the lowest price in the period
Given it is "2023-01-01" now
And the store has a product "Wyborowa Vodka" priced at "$10.00"
@ -74,7 +74,7 @@ Feature: Seeing the product's lowest price before the discount
When I check this product's details
Then I should see "$9.00" as its lowest price before the discount
@todo
@api @ui
Scenario: Not seeing the lowest price information on a product that had a discount and the discount was removed
Given the store has a product "Wyborowa Vodka" priced at "$37.00"
And this product's price changed to "$21.00" and original price changed to "$37.00"
@ -82,7 +82,7 @@ Feature: Seeing the product's lowest price before the discount
When I check this product's details
Then I should not see information about its lowest price
@todo
@api @ui
Scenario: Seeing the lowest price information on a product that had a discount, the discount was removed, the price changed below the discount price, the price changed back to the start value and then the less attractive discount was added
Given the store has a product "Wyborowa Vodka" priced at "$37.00"
And this product's price changed to "$21.00" and original price changed to "$37.00"
@ -93,7 +93,7 @@ Feature: Seeing the product's lowest price before the discount
When I check this product's details
Then I should see "$10.00" as its lowest price before the discount
@todo
@api @ui
Scenario: Seeing the lowest price information on a product that had a discount, the price was changed below previous discount while a less attractive discount was added and a less attractive discount was added
Given the store has a product "Wyborowa Vodka" priced at "$37.00"
And this product's price changed to "$20.00" and original price changed to "$37.00"
@ -102,7 +102,7 @@ Feature: Seeing the product's lowest price before the discount
When I check this product's details
Then I should see "$20.00" as its lowest price before the discount
@todo
@api @ui
Scenario: Seeing the lowest price information on a product with same discount repeated
Given the store has a product "Wyborowa Vodka" priced at "$37.00"
And this product's price changed to "$20.00" and original price changed to "$37.00"
@ -111,14 +111,14 @@ Feature: Seeing the product's lowest price before the discount
When I check this product's details
Then I should see "$20.00" as its lowest price before the discount
@todo
@api @ui
Scenario: Seeing the lowest price information on a product with catalog promotion
Given the store has a product "Wyborowa Vodka" priced at "$37.00"
And there is a catalog promotion "Winter Sale" with priority 100 that reduces price by "$10.00" and applies on "Wyborowa Vodka" product
When I check this product's details
Then I should see "$37.00" as its lowest price before the discount
@todo
@api @ui
Scenario: Seeing the lowest price information on a product with catalog promotion and reduced price
Given the store has a product "Wyborowa Vodka" priced at "$37.00"
And this product's price changed to "$20.00"
@ -126,7 +126,7 @@ Feature: Seeing the product's lowest price before the discount
When I check this product's details
Then I should see "$20.00" as its lowest price before the discount
@todo
@api @ui
Scenario: Not seeing the lowest price information on a product that has a discount but showing it is disabled on the channel
Given the lowest price of discounted products prior to the current discount is disabled on this channel
And the store has a product "Wyborowa Vodka" priced at "$37.00"