mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
[API][Shop] Enable covered Product scenarios
This commit is contained in:
parent
299b0f2eb5
commit
455adfe36b
35 changed files with 78 additions and 78 deletions
|
|
@ -7,7 +7,7 @@ Feature: Accessing a disabled taxon
|
|||
Background:
|
||||
Given the store operates on a single channel in "United States"
|
||||
|
||||
@ui @no-api
|
||||
@no-api @ui
|
||||
Scenario: Accessing a disabled taxon
|
||||
Given the store has "T-Shirts" taxonomy
|
||||
And the "T-Shirts" taxon is disabled
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Feature: Viewing a product details using permalink
|
|||
Given the store operates on a single channel in "United States"
|
||||
And the store has a product "T-Shirt banana"
|
||||
|
||||
@ui @no-api
|
||||
@no-api @ui
|
||||
Scenario: Accessing a detailed product page using permalink
|
||||
When I open page "en_US/products/t-shirt-banana"
|
||||
Then I should be on "T-Shirt banana" product detailed page
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Feature: Accessing a product which does not exist
|
|||
Background:
|
||||
Given the store operates on a single channel in "United States"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Accessing a product which does not exist
|
||||
When I try to reach nonexistent product
|
||||
Then I should be informed that the product does not exist
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ Feature: Redirecting to products when there is a trailing slash in path
|
|||
And the store has a product "Plastic Tomato" available in "Poland" channel
|
||||
And this product belongs to "Funny"
|
||||
|
||||
@ui @no-api
|
||||
@no-api @ui
|
||||
Scenario: Redirecting to products when there is a trailing slash in path
|
||||
When I try to browse products from taxon "T-Shirts" with a trailing slash in the path
|
||||
Then I should be redirected on the product list from taxon "T-Shirts"
|
||||
|
|
|
|||
|
|
@ -14,14 +14,14 @@ Feature: Searching products by name within a specific taxon
|
|||
And the store has a product "Magic stick" available in "United States" channel
|
||||
And this product belongs to "Fantasy weapons"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Searching for products with name containing specific text
|
||||
When I browse products from taxon "Guns"
|
||||
And I search for products with name "Magnum"
|
||||
Then I should see the product "44 Magnum"
|
||||
And I should not see the product "Glock 17"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Clearing filters
|
||||
When I browse products from taxon "Guns"
|
||||
And I search for products with name "Magnum"
|
||||
|
|
@ -29,7 +29,7 @@ Feature: Searching products by name within a specific taxon
|
|||
Then I should see the product "44 Magnum"
|
||||
And I should see the product "Glock 17"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Seeing products only from specific taxon after search
|
||||
When I browse products from taxon "Guns"
|
||||
And I search for products with name "Mag"
|
||||
|
|
|
|||
|
|
@ -16,14 +16,14 @@ Feature: Sorting products by first variant price
|
|||
And the product "Johnnie Walker" has "Johnnie Walker Red Label" variant priced at "$20.00"
|
||||
And the product "Johnnie Walker" has "Johnnie Walker Blue Label" variant priced at "$125.00"
|
||||
|
||||
@todo-api @ui
|
||||
@api @ui
|
||||
Scenario: Sorting products by price of their first variant with ascending order
|
||||
When I browse products from taxon "Whiskey"
|
||||
And I sort products by the lowest price first
|
||||
Then the first product on the list should have name "Johnnie Walker" and price "$20.00"
|
||||
And the last product on the list should have name "Jack Daniel's" and price "$50.00"
|
||||
|
||||
@todo-api @ui
|
||||
@api @ui
|
||||
Scenario: Sorting products by price of their first variant with descending order
|
||||
When I browse products from taxon "Whiskey"
|
||||
And I sort products by the highest price first
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ Feature: Sorting products by discounted price
|
|||
And the product "Mug" has "Symfony Mug" variant priced at "$30.00"
|
||||
And there is a catalog promotion "Mugs sale" that reduces price by "25%" and applies on "PHP Mug" variant and "Symfony Mug" variant
|
||||
|
||||
@todo-api @ui
|
||||
@api @ui
|
||||
Scenario: Sorting products by discounted price of their first variant with ascending order
|
||||
When I browse products from taxon "Merchandise"
|
||||
And I sort products by the lowest price first
|
||||
|
|
|
|||
|
|
@ -11,14 +11,14 @@ Feature: Viewing children taxons of current taxon
|
|||
And the "Clothes" taxon has children taxons "T-Shirts", "Coats" and "Trousers"
|
||||
And channel "United States" has menu taxon "Category"
|
||||
|
||||
@todo-api @ui
|
||||
@api @ui
|
||||
Scenario: Viewing only enabled taxons in the vertical menu
|
||||
Given the "Coats" taxon is disabled
|
||||
When I try to browse products from taxon "Clothes"
|
||||
Then I should not see "Coats" in the vertical menu
|
||||
And I should see "T-Shirts" and "Trousers" in the vertical menu
|
||||
|
||||
@ui @no-api
|
||||
@no-api @ui
|
||||
Scenario: Cannot navigate to disabled parent taxon
|
||||
Given the "Clothes" taxon is disabled
|
||||
When I try to browse products from taxon "T-Shirts"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ Feature: Viewing diagonal variants options
|
|||
Then I should be able to select the "Yellow" and "Blue" Color option values
|
||||
And I should be able to select the "Small" and "Large" Size option values
|
||||
|
||||
@ui @javascript @no-api
|
||||
@no-api @ui @javascript
|
||||
Scenario: Viewing an "Unavailable" message when selecting an unavailable combination
|
||||
When I view product "Extra Cool T-Shirt"
|
||||
And I select its color as "Blue"
|
||||
|
|
@ -31,7 +31,7 @@ Feature: Viewing diagonal variants options
|
|||
Then I should see that the combination is "Unavailable"
|
||||
And I should be unable to add it to the cart
|
||||
|
||||
@todo-api @no-ui
|
||||
@api @no-ui
|
||||
Scenario: Not seeing unavailable variants
|
||||
When I view variants of the "Extra Cool T-Shirt" product
|
||||
And I filter them by "Blue" option value
|
||||
|
|
|
|||
|
|
@ -13,20 +13,20 @@ Feature: Viewing different discounted price for different product variants
|
|||
And the product "Wyborowa Vodka" has "Wyborowa Pear" variant priced at "$30.00"
|
||||
And the "Wyborowa Pear" product variant has original price at "$20.00"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with default variant's price without discount
|
||||
When I view product "Wyborowa Vodka"
|
||||
Then the product price should be "$40.00"
|
||||
And I should not see any original price
|
||||
|
||||
@ui @javascript @api
|
||||
@api @ui @javascript
|
||||
Scenario: Viewing a detailed page with product's discount price for different variant
|
||||
When I view product "Wyborowa Vodka"
|
||||
And I select "Wyborowa Apple" variant
|
||||
Then the product variant price should be "$12.55"
|
||||
And the product original price should be "$20.00"
|
||||
|
||||
@ui @javascript @no-api
|
||||
@no-api @ui @javascript
|
||||
Scenario: Not seeing the discount when a variant's original price is lower than current price
|
||||
When I view product "Wyborowa Vodka"
|
||||
And I select "Wyborowa Pear" variant
|
||||
|
|
|
|||
|
|
@ -12,12 +12,12 @@ Feature: Viewing different price for different product variants
|
|||
And the product "Wyborowa Vodka" has "Wyborowa Apple" variant priced at "$12.55"
|
||||
And the "Wyborowa Lemon" product variant is disabled
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with default variant's price
|
||||
When I view product "Wyborowa Vodka"
|
||||
Then the product price should be "$40.00"
|
||||
|
||||
@ui @api @javascript
|
||||
@api @ui @javascript
|
||||
Scenario: Viewing a detailed page with product's price for different variant
|
||||
When I view product "Wyborowa Vodka"
|
||||
And I select "Wyborowa Apple" variant
|
||||
|
|
|
|||
|
|
@ -11,12 +11,12 @@ Feature: Viewing different price for different product variants selected with op
|
|||
And this product is available in "0,5L" volume priced at "$20.00"
|
||||
And this product is available in "0,7L" volume priced at "$25.00"
|
||||
|
||||
@ui @no-api
|
||||
@no-api @ui
|
||||
Scenario: Viewing a detailed page with product's price
|
||||
When I view product "Wyborowa Vodka"
|
||||
Then I should see the product price "$20.00"
|
||||
|
||||
@ui @javascript @no-api
|
||||
@no-api @ui @javascript
|
||||
Scenario: Viewing a detailed page with product's price for different option
|
||||
When I view product "Wyborowa Vodka"
|
||||
And I select its volume as "0,7L"
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Feature: Viewing a product details
|
|||
And the store has a product "T-Shirt banana"
|
||||
And the description of product "T-Shirt banana" is "You must have this beautiful T-Shirt"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's name
|
||||
When I check this product's details
|
||||
Then I should see the product name "T-Shirt banana"
|
||||
|
|
|
|||
|
|
@ -7,84 +7,84 @@ Feature: Viewing product's attributes
|
|||
Background:
|
||||
Given the store operates on a single channel in "United States"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's text attribute
|
||||
Given the store has a product "T-Shirt banana"
|
||||
And this product has a text attribute "T-Shirt material" with value "Banana skin"
|
||||
When I check this product's details
|
||||
Then I should see the product attribute "T-Shirt material" with value "Banana skin"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's non-translatable text attribute
|
||||
Given the store has a product "T-Shirt banana"
|
||||
And this product has non-translatable text attribute "T-Shirt details" with value "Banana is a very good material."
|
||||
When I check this product's details
|
||||
Then I should see the product attribute "T-Shirt details" with value "Banana is a very good material."
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's textarea attribute
|
||||
Given the store has a product "T-Shirt banana"
|
||||
And this product has a textarea attribute "T-Shirt details" with value "Banana is a very good material."
|
||||
When I check this product's details
|
||||
Then I should see the product attribute "T-Shirt details" with value "Banana is a very good material."
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's non-translatable textarea attribute
|
||||
Given the store has a product "T-Shirt banana"
|
||||
And this product has non-translatable textarea attribute "T-Shirt details" with value "Banana is a very good material."
|
||||
When I check this product's details
|
||||
Then I should see the product attribute "T-Shirt details" with value "Banana is a very good material."
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's checkbox attribute
|
||||
Given the store has a product "T-Shirt banana"
|
||||
And this product has a "checkbox" attribute "T-Shirt with cotton" set to "Yes"
|
||||
When I check this product's details
|
||||
Then I should see the product attribute "T-Shirt with cotton" with positive value
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's checkbox non-translatable attribute
|
||||
Given the store has a product "T-Shirt banana"
|
||||
And this product has non-translatable "checkbox" attribute "T-Shirt with cotton" set to "Yes"
|
||||
When I check this product's details
|
||||
Then I should see the product attribute "T-Shirt with cotton" with positive value
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's date attribute
|
||||
Given the store has a product "T-Shirt banana"
|
||||
And this product has a date attribute "T-Shirt date of production" with date "12 December 2015"
|
||||
When I check this product's details
|
||||
Then I should see the product attribute "T-Shirt date of production" with date "Dec 12, 2015"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's date non-translatable attribute
|
||||
Given the store has a product "T-Shirt banana"
|
||||
And this product has non-translatable date attribute "T-Shirt date of production" with date "12 December 2015"
|
||||
When I check this product's details
|
||||
Then I should see the product attribute "T-Shirt date of production" with date "Dec 12, 2015"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's datetime attribute
|
||||
Given the store has a product "T-Shirt banana"
|
||||
And this product has non-translatable datetime attribute "T-Shirt date of production" with date "12 December 2015 12:34"
|
||||
When I check this product's details
|
||||
Then I should see the product attribute "T-Shirt date of production" with date "Dec 12, 2015 12:34:00 PM"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's datetime non-translatable attribute
|
||||
Given the store has a product "T-Shirt banana"
|
||||
And this product has non-translatable datetime attribute "T-Shirt date of production" with date "12 December 2015 12:34"
|
||||
When I check this product's details
|
||||
Then I should see the product attribute "T-Shirt date of production" with date "Dec 12, 2015 12:34:00 PM"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's percent attribute
|
||||
Given the store has a product "T-Shirt banana"
|
||||
And this product has a percent attribute "T-Shirt cotton content" with value 50%
|
||||
When I check this product's details
|
||||
Then I should see the product attribute "T-Shirt cotton content" with value 50%
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's percent non-translatable attribute
|
||||
Given the store has a product "T-Shirt banana"
|
||||
And this product has non-translatable percent attribute "T-Shirt cotton content" with value 50%
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ Feature: Viewing product's attributes in different locales
|
|||
And this product has a text attribute "T-Shirt material" with value "Skórka banana" in "Polish (Poland)" locale
|
||||
And this product has a textarea attribute "T-Shirt details" with value "Banana is a very good material." in "English (United States)" locale
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's text attribute after locale change
|
||||
When I view product "T-Shirt banana" in the "Polish (Poland)" locale
|
||||
Then I should see the product attribute "T-Shirt material" with value "Skórka banana"
|
||||
|
|
|
|||
|
|
@ -18,26 +18,26 @@ Feature: Viewing product's attributes in different locales and channels
|
|||
And this product has a textarea attribute "T-Shirt details" with value "Banana is a very good material." in "English (United States)" locale
|
||||
And I am browsing the channel "US Channel"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's attribute for current channel with its default locale
|
||||
When I view product "T-Shirt banana" in the "Polish (Poland)" locale
|
||||
Then I should see the product attribute "T-Shirt material" with value "Skórka banana"
|
||||
And I should also see the product attribute "T-Shirt details" with value "Banana is a very good material."
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's attribute for current channel in different locale
|
||||
When I view product "T-Shirt banana" in the "English (United States)" locale
|
||||
Then I should see the product attribute "T-Shirt material" with value "Banana skin"
|
||||
And I should also see the product attribute "T-Shirt details" with value "Banana is a very good material."
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's attribute for different channel with its default locale
|
||||
When I change my current channel to "PL Channel"
|
||||
And I view product "T-Shirt banana" in the "Polish (Poland)" locale
|
||||
Then I should see the product attribute "T-Shirt material" with value "Skórka banana"
|
||||
And I should also see the product attribute "T-Shirt details" with value "Banana is a very good material."
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's attribute for different channel in different locale
|
||||
When I change my current channel to "PL Channel"
|
||||
And I view product "T-Shirt banana" in the "English (United States)" locale
|
||||
|
|
|
|||
|
|
@ -11,12 +11,12 @@ Feature: Viewing product's average rating
|
|||
And this product has accepted reviews rated 5, 3, 4, 4 and 1
|
||||
And I am a logged in customer
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing product's average rating
|
||||
When I check this product's details
|
||||
Then I should see "3.4" as its average rating
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing product's average rating calculated only from accepted reviews
|
||||
Given this product also has accepted reviews rated 5, 4 and 1
|
||||
And this product also has review rated 3 which is not accepted yet
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Feature: Viewing product's enabled variants only
|
|||
And the product "Super Cool T-Shirt" has also an "Extra Large" variant
|
||||
And the "Extra Large" product variant is disabled
|
||||
|
||||
@todo-api @ui
|
||||
@api @ui
|
||||
Scenario: Seeing only enabled variants
|
||||
When I view product "Super Cool T-Shirt"
|
||||
Then I should be able to select between 3 variants
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Feature: Viewing a product price on products list
|
|||
Background:
|
||||
Given the store operates on a single channel in "United States"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a product with price on list
|
||||
Given the store has a product "T-Shirt watermelon" priced at "$19.00"
|
||||
And the store classifies its products as "T-Shirts"
|
||||
|
|
@ -15,7 +15,7 @@ Feature: Viewing a product price on products list
|
|||
When I browse products from taxon "T-Shirts"
|
||||
Then I should see the product "T-Shirt watermelon" with price "$19.00"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a product with discount on list
|
||||
Given the store has a product "T-Shirt watermelon" priced at "$19.00"
|
||||
And the product "T-Shirt watermelon" has original price "$20.00"
|
||||
|
|
@ -24,7 +24,7 @@ Feature: Viewing a product price on products list
|
|||
When I browse products from taxon "T-Shirts"
|
||||
Then I should see "T-Shirt watermelon" product discounted from "$20.00" to "$19.00"
|
||||
|
||||
@ui @no-api
|
||||
@no-api @ui
|
||||
Scenario: Not seeing discount on the list when the original price is lower than current price
|
||||
Given the store has a product "T-Shirt watermelon" priced at "$19.00"
|
||||
And the product "T-Shirt watermelon" has original price "$18.00"
|
||||
|
|
@ -34,7 +34,7 @@ Feature: Viewing a product price on products list
|
|||
Then I should see the product "T-Shirt watermelon" with price "$19.00"
|
||||
And I should see "T-Shirt watermelon" product not discounted on the list
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a product with a positioned default variant
|
||||
Given the store has a product "T-Shirt watermelon" priced at "$19.00"
|
||||
And the product "T-Shirt watermelon" has also an "Extra Large" variant at position 0
|
||||
|
|
|
|||
|
|
@ -11,12 +11,12 @@ Feature: Viewing product's variants names
|
|||
And it has variant named "Die Hard - Extended Cut" in "English (United States)" locale and "Szklana Pułapka - Wersja Reżyserska" in "Polish (Poland)" locale
|
||||
And this product has also variant named "Die Hard - Theatrical Cut" in "English (United States)" locale and "Szklana Pułapka - Wersja Kinowa" in "Polish (Poland)" locale
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Seeing variant's name in default locale
|
||||
When I view product "Die Hard Movie"
|
||||
Then its current variant should be named "Die Hard - Extended Cut"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Seeing proper variant's name after locale change
|
||||
When I view product "Die Hard Movie" in the "Polish (Poland)" locale
|
||||
Then its current variant should be named "Szklana Pułapka - Wersja Reżyserska"
|
||||
|
|
|
|||
|
|
@ -12,12 +12,12 @@ Feature: Viewing product with all variants disabled
|
|||
And all variants of this product are disabled
|
||||
And this product belongs to "T-Shirts"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing product with all variants disabled
|
||||
When I check this product's details
|
||||
Then I should see the product name "Super Cool T-Shirt"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing product with all variants disabled from taxon page
|
||||
When I browse products from taxon "T-Shirts"
|
||||
Then I should see the product "Super Cool T-Shirt"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Feature: Viewing product with a disabled main taxon
|
|||
And the store has a product "T-Shirt Coconut" available in "Poland" channel
|
||||
And this product has a main taxon "Men"
|
||||
|
||||
@ui @no-api
|
||||
@no-api @ui
|
||||
Scenario: Seeing the breadcrumb with a disabled main taxon
|
||||
Given the "Men" taxon is disabled
|
||||
When I view product "T-Shirt Coconut"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Feature: Viewing a product discounted price
|
|||
Background:
|
||||
Given the store operates on a single channel in "United States"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's original price
|
||||
Given the store has a product "T-Shirt banana" priced at "$39.00"
|
||||
And the product "T-Shirt banana" has original price "$50.00"
|
||||
|
|
@ -15,7 +15,7 @@ Feature: Viewing a product discounted price
|
|||
Then I should see the product price "$39.00"
|
||||
And I should see the product original price "$50.00"
|
||||
|
||||
@ui @no-api
|
||||
@no-api @ui
|
||||
Scenario: Viewing a detailed page without product's original price when it's higher than current price
|
||||
Given the store has a product "T-Shirt banana" priced at "$39.00"
|
||||
And the product "T-Shirt banana" has original price "$20.00"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ Feature: Viewing products from a specific taxon
|
|||
And the store has a product "Plastic Tomato" available in "Poland" channel
|
||||
And this product belongs to "Funny"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing products from a specific taxon
|
||||
When I browse products from taxon "T-Shirts"
|
||||
Then I should see the product "T-Shirt Banana"
|
||||
|
|
@ -30,7 +30,7 @@ Feature: Viewing products from a specific taxon
|
|||
Then I should see the product "T-Shirt Banana"
|
||||
And I should not see the product "Plastic Tomato"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing information about empty list of products from a given taxon
|
||||
When I browse products from taxon "Sad"
|
||||
Then I should see empty list of products
|
||||
|
|
|
|||
|
|
@ -14,14 +14,14 @@ Feature: Viewing products from a specific taxon and a channel
|
|||
And the store has a product "T-Shirt Batman" available in "United States" channel
|
||||
And this product belongs to "T-Shirts"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing products from a specific taxon in selected channel
|
||||
Given I am browsing channel "Poland"
|
||||
When I browse products from taxon "T-Shirts"
|
||||
Then I should see the product "T-Shirt Banana"
|
||||
And I should not see the product "T-Shirt Batman"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing information about empty list of products from a given taxon in selected channel
|
||||
Given I am browsing channel "United States"
|
||||
When I browse products from taxon "Funny"
|
||||
|
|
|
|||
|
|
@ -18,19 +18,19 @@ Feature: Viewing products from specific taxon sorted by position
|
|||
And this product is in "Toys" taxon at 2nd position
|
||||
And this product is in "Soft Toys" taxon at 2nd position
|
||||
|
||||
@todo-api @ui
|
||||
@api @ui
|
||||
Scenario: Seeing sorted product on list from a specific taxon code
|
||||
When I browse products from product taxon code "Toys"
|
||||
Then I should see 3 products in the list
|
||||
And they should have order like "Old pug", "Young pug" and "Small pug"
|
||||
|
||||
@todo-api @ui
|
||||
@api @ui
|
||||
Scenario: Seeing sorted product on list from a child taxon code
|
||||
When I browse products from product taxon code "Soft Toys"
|
||||
Then I should see 3 products in the list
|
||||
And they should have order like "Small pug", "Young pug" and "Old pug"
|
||||
|
||||
@todo-api @ui
|
||||
@api @ui
|
||||
Scenario: Seeing sorted product on list from a child taxon
|
||||
When I browse products from taxon "Soft Toys"
|
||||
Then I should see 3 products in the list
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ Feature: Viewing products from taxon children
|
|||
And this product belongs to "T-Shirts"
|
||||
And this product belongs to "Men"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing products from taxon children
|
||||
When I browse products from taxon "T-Shirts"
|
||||
Then I should see the product "T-Shirt Coconut"
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ Feature: Viewing products from taxon children
|
|||
And the store has a product "T-Shirt Banana For Men XXL" available in "Poland" channel
|
||||
And this product belongs to "XXL"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing products from taxon children
|
||||
When I browse products from taxon "T-Shirts"
|
||||
Then I should see the product "T-Shirt Banana"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Feature: Viewing a product price
|
|||
Background:
|
||||
Given the store operates on a single channel in "United States"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's price
|
||||
Given the store has a product "T-Shirt banana" priced at "$39.00"
|
||||
When I check this product's details
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ Feature: Viewing products with multiple variants sorted by price
|
|||
And the product "Johnnie Walker" has "Johnnie Walker Black Label" variant priced at "$25.00"
|
||||
And the "Johnnie Walker White Label" product variant is disabled
|
||||
|
||||
@todo-api @ui
|
||||
@api @ui
|
||||
Scenario: Sorting products by price of their first variant with ascending order
|
||||
When I browse products from taxon "Alcohols"
|
||||
And I sort products by the lowest price first
|
||||
|
|
@ -30,7 +30,7 @@ Feature: Viewing products with multiple variants sorted by price
|
|||
And the first product on the list should have name "Johnnie Walker"
|
||||
And the last product on the list should have name "Wyborowa Vodka"
|
||||
|
||||
@todo-api @ui
|
||||
@api @ui
|
||||
Scenario: Sorting products by price of their first variant with descending order
|
||||
When I browse products from taxon "Alcohols"
|
||||
And I sort products by the highest price first
|
||||
|
|
|
|||
|
|
@ -10,14 +10,14 @@ Feature: Viewing product's select attributes
|
|||
And the store has a select product attribute "T-Shirt material" with values "Banana skin" and "Cotton"
|
||||
And there is an administrator "sylius@example.com" identified by "sylius"
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's select attribute
|
||||
Given this product has select attribute "T-Shirt material" with values "Banana skin" and "Cotton"
|
||||
When I check this product's details
|
||||
Then I should see the product attribute "T-Shirt material" with value "Banana skin" on the list
|
||||
And I should also see the product attribute "T-Shirt material" with value "Cotton" on the list
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's select attribute after changing a value
|
||||
Given this product has select attribute "T-Shirt material" with values "Banana skin" and "Cotton"
|
||||
When this product attribute's value changed from "Cotton" to "Orange skin"
|
||||
|
|
@ -25,14 +25,14 @@ Feature: Viewing product's select attributes
|
|||
Then I should see the product attribute "T-Shirt material" with value "Banana skin" on the list
|
||||
And I should also see the product attribute "T-Shirt material" with value "Orange skin" on the list
|
||||
|
||||
@ui @javascript @api @no-postgres
|
||||
@api @ui @javascript @no-postgres
|
||||
Scenario: Viewing a detailed page with product's select attribute after removing an only value
|
||||
Given this product has select attribute "T-Shirt material" with value "Cotton"
|
||||
When this product attribute's value "Cotton" has been removed
|
||||
And I check this product's details
|
||||
Then I should not see the product attribute "T-Shirt material"
|
||||
|
||||
@ui @javascript @api @no-postgres
|
||||
@api @ui @javascript @no-postgres
|
||||
Scenario: Viewing a detailed page with product's select attribute after removing one of the value
|
||||
Given this product has select attribute "T-Shirt material" with values "Banana skin" and "Cotton"
|
||||
When this product attribute's value "Cotton" has been removed
|
||||
|
|
|
|||
|
|
@ -17,13 +17,13 @@ Feature: Viewing product's select attributes in different locales
|
|||
And this product has also a select attribute "T-Shirt material" with value "Skórka banana" in "Polish (Poland)" locale
|
||||
And this product has also a select attribute "T-Shirt colour" with value "Yellow" in "English (United States)" locale
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's select attribute in default locale
|
||||
When I view product "T-Shirt banana"
|
||||
Then I should see the product attribute "T-Shirt material" with value "Banana skin" on the list
|
||||
And I should also see the product attribute "T-Shirt colour" with value "Yellow" on the list
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Viewing a detailed page with product's select attribute in different locale
|
||||
When I view product "T-Shirt banana" in the "Polish (Poland)" locale
|
||||
Then I should see the product attribute "T-Shirt material" with value "Skórka banana" on the list
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ Feature: Sorting listed products
|
|||
And I should see a product with name "Berserk Pug"
|
||||
But the first product on the list should have name "Xtreme Pug"
|
||||
|
||||
@todo-api @ui
|
||||
@api @ui
|
||||
Scenario: Sorting products by their prices with ascending order
|
||||
When I browse products from taxon "Fluffy Pets"
|
||||
And I sort products by the lowest price first
|
||||
|
|
@ -44,7 +44,7 @@ Feature: Sorting listed products
|
|||
And I should see a product with name "Xtreme Pug"
|
||||
But the first product on the list should have name "Berserk Pug"
|
||||
|
||||
@todo-api @ui
|
||||
@api @ui
|
||||
Scenario: Sorting products by their prices with descending order
|
||||
When I browse products from taxon "Fluffy Pets"
|
||||
And I sort products by the highest price first
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ Feature: Sorting listed products on multiple channels
|
|||
And this product's price in "Poland" channel is "$30.00"
|
||||
And this product's price in "Germany" channel is "$20.00"
|
||||
|
||||
@todo-api @ui
|
||||
@api @ui
|
||||
Scenario: Sorting products by their prices with ascending order on channel Poland
|
||||
When I change my current channel to "Poland"
|
||||
And I browse products from taxon "Sylius merch"
|
||||
|
|
@ -29,7 +29,7 @@ Feature: Sorting listed products on multiple channels
|
|||
Then I should see 2 products in the list
|
||||
And the first product on the list should have name "Sylius Con shirt"
|
||||
|
||||
@todo-api @ui
|
||||
@api @ui
|
||||
Scenario: Sorting products by their prices with descending order on channel Poland
|
||||
When I change my current channel to "Poland"
|
||||
And I browse products from taxon "Sylius merch"
|
||||
|
|
@ -37,7 +37,7 @@ Feature: Sorting listed products on multiple channels
|
|||
Then I should see 2 products in the list
|
||||
And the first product on the list should have name "Sylius Con stickers"
|
||||
|
||||
@todo-api @ui
|
||||
@api @ui
|
||||
Scenario: Sorting products by their prices with ascending order on channel Germany
|
||||
When I change my current channel to "Germany"
|
||||
And I browse products from taxon "Sylius merch"
|
||||
|
|
@ -45,7 +45,7 @@ Feature: Sorting listed products on multiple channels
|
|||
Then I should see 2 products in the list
|
||||
And the first product on the list should have name "Sylius Con stickers"
|
||||
|
||||
@todo-api @ui
|
||||
@api @ui
|
||||
Scenario: Sorting products by their prices with descending order on channel Germany
|
||||
When I change my current channel to "Germany"
|
||||
And I browse products from taxon "Sylius merch"
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Feature: Viewing a taxon's image on a taxon details page
|
|||
And the store classifies its products as "Category"
|
||||
And the "Category" taxon has an image "lamborghini.jpg" with "main" type
|
||||
|
||||
@todo-api @no-ui
|
||||
@api @no-ui
|
||||
Scenario: Viewing a taxon's image
|
||||
When I check the "Category" taxon's details
|
||||
Then I should see the taxon name "Category"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue