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.
Merge pull request Sylius#9621 from bartoszpietrzak1994/taxon-with-ch…
…ildren-taxons-behavior-in-listing Taxon with children taxons behavior in listing
- Loading branch information
Showing
7 changed files
with
72 additions
and
5 deletions.
There are no files selected for viewing
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
25 changes: 25 additions & 0 deletions
25
features/product/viewing_products/viewing_products_from_taxon_children.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,25 @@ | ||
@viewing_products | ||
Feature: Viewing products from taxon children | ||
In order to browse products from general taxons | ||
As a Visitor | ||
I want to be able to view products from taxon children | ||
|
||
Background: | ||
Given the store has currency "Euro" | ||
And the store operates on a channel named "Poland" | ||
And the store classifies its products as "T-Shirts" | ||
And the "T-Shirts" taxon has children taxon "Men" and "Women" | ||
And the "Men" taxon has children taxon "XL" and "XXL" | ||
And the store has a product "T-Shirt Banana" available in "Poland" channel | ||
And this product belongs to "T-Shirts" | ||
And the store has a product "T-Shirt Banana For Men" available in "Poland" channel | ||
And this product belongs to "Men" | ||
And the store has a product "T-Shirt Banana For Men XXL" available in "Poland" channel | ||
And this product belongs to "XXL" | ||
|
||
@ui | ||
Scenario: Viewing products from taxon children | ||
When I browse products from taxon "T-Shirts" | ||
Then I should see the product "T-Shirt Banana" | ||
And I should see the product "T-Shirt Banana For Men" | ||
And I should see the product "T-Shirt Banana For Men XXL" |
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
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
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
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
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