Skip to content

Commit

Permalink
minor Sylius#14862 [Behat][PriceHistory] Adjust scenarios for display…
Browse files Browse the repository at this point in the history
…ing lowest price according to the excluded taxons (GSadee)

This PR was merged into the 1.13 branch.

Discussion
----------



| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13|
| Bug fix?        | no                                                      |
| New feature?    |yes                                                       |
| BC breaks?      | no                                                      |
| Deprecations?   | no<!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | after https://github.com/Sylius/PriceHistoryPlugin/pull/73|
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.12 branch
 - Features and deprecations must be submitted against the 1.13 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------

ef40b26 [Behat][PriceHistory] Adjust scenarios for displaying lowest price according to the excluded taxons
  • Loading branch information
Rafikooo authored Mar 17, 2023
2 parents 7b0fcb8 + ef40b26 commit 48bd79f
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 47 deletions.

This file was deleted.

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

0 comments on commit 48bd79f

Please sign in to comment.