forked from Sylius/Sylius
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Behat][PriceHistory] Adjust scenarios for displaying lowest price ac…
…cording to the excluded taxons
- Loading branch information
Showing
2 changed files
with
41 additions
and
47 deletions.
There are no files selected for viewing
47 changes: 0 additions & 47 deletions
47
...ducts/not_seeing_lowest_price_for_product_that_has_all_taxons_excluded_on_channel.feature
This file was deleted.
Oops, something went wrong.
41 changes: 41 additions & 0 deletions
41
...g_products/not_seeing_lowest_price_for_product_that_has_taxon_excluded_on_channel.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
@viewing_products | ||
Feature: Not seeing the lowest price for a product that has a taxon excluded on the channel | ||
In order to show the product's lowest price only in applicable taxons | ||
As a Guest | ||
I don't want to see the product's lowest price in taxons that have been excluded on the channel | ||
|
||
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 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 this product's price changed to "$15.00" and original price changed to "$25.00" | ||
|
||
@todo | ||
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 | ||
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 | ||
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 | ||
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" | ||
Then I should not see information about its lowest price |