[PriceHistory][Shop] Tag scenarios with seeing lowest price enabled

This commit is contained in:
Rafikooo 2023-03-28 08:57:57 +02:00
parent 66165ad470
commit 75759549b9
No known key found for this signature in database
GPG key ID: 4A26D8327BC2442B
2 changed files with 15 additions and 13 deletions

View file

@ -6,35 +6,37 @@ Feature: Not seeing the lowest price for a product that has a taxon excluded on
Background:
Given the store operates on a single channel in "United States"
And the store classifies its products as "Category"
And the "Category" taxon has children taxons "Groceries" and "Special offers"
And the "Groceries" taxon has child taxon "Vegetables"
And the store has a product "Broccoli" priced at "$20.00" belonging to the "Vegetables" taxon
And the store has a product "Broccoli" priced at "$20.00"
And it belongs to "Vegetables"
And this product's price changed to "$10.00" and original price changed to "$20.00"
And the store also has a product "Cauliflower" priced at "$25.00"
And it belongs to "Vegetables" and "Special offers"
And it belongs to "Vegetables"
And it belongs to "Special offers"
And this product's price changed to "$15.00" and original price changed to "$25.00"
And I am logged in as an administrator
@todo
@api @ui
Scenario: Not seeing the lowest price for a product that has a taxon excluded on the channel
Given the "Vegetables" taxon is excluded from showing the lowest price of discounted products in the "United States" channel
When I view product "Broccoli"
Then I should not see information about its lowest price
@todo
@api @ui
Scenario: Not seeing the lowest price for a product that has parent taxon excluded on the channel
Given the "Groceries" taxon is excluded from showing the lowest price of discounted products in the "United States" channel
When I view product "Broccoli"
Then I should not see information about its lowest price
@todo
@api @ui
Scenario: Not seeing the lowest price for a product that has root taxon excluded on the channel
Given the "Category" taxon is excluded from showing the lowest price of discounted products in the "United States" channel
When I view product "Broccoli"
Then I should not see information about its lowest price
@todo
@api @ui
Scenario: Not seeing the lowest price for a product that has only one taxon excluded on the channel
Given the "Vegetables" taxon is excluded from showing the lowest price of discounted products in the "United States" channel
When I view product "Cauliflower"

View file

@ -14,37 +14,37 @@ Feature: Seeing the correct product's lowest price according to the period set o
And on "2023-02-25" its price changed to "$15.00" and original price to "$20.00"
And it is "2023-03-01" now
@todo
@api @ui
Scenario: Seeing the correct lowest price from 60 days before the discount
Given this channel has 60 days set as the lowest price for discounted products checking period
When I check this product's details
Then I should see "$9.00" as its lowest price before the discount
@todo
@api @ui
Scenario: Seeing the correct lowest price from 30 days before the discount
Given this channel has 30 days set as the lowest price for discounted products checking period
When I check this product's details
Then I should see "$9.00" as its lowest price before the discount
@todo
@api @ui
Scenario: Seeing the correct lowest price from 20 days before the discount
Given this channel has 20 days set as the lowest price for discounted products checking period
When I check this product's details
Then I should see "$9.00" as its lowest price before the discount
@todo
@api @ui
Scenario: Seeing the correct lowest price from 10 days before the discount
Given this channel has 10 days set as the lowest price for discounted products checking period
When I check this product's details
Then I should see "$11.00" as its lowest price before the discount
@todo
@api @ui
Scenario: Seeing the correct lowest price from 5 days before the discount
Given this channel has 5 days set as the lowest price for discounted products checking period
When I check this product's details
Then I should see "$13.00" as its lowest price before the discount
@todo
@api @ui
Scenario: Seeing the correct lowest price from 1 day before the discount
Given this channel has 1 day set as the lowest price for discounted products checking period
When I check this product's details