mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
[API][Admin] More product related scenarios marked no-api
This commit is contained in:
parent
139cd83026
commit
3b4163b0cd
4 changed files with 17 additions and 17 deletions
|
|
@ -12,13 +12,13 @@ Feature: Accessing to product edit page from show page
|
|||
And I am logged in as an administrator
|
||||
And I am browsing products
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Accessing to product edit page from product show page
|
||||
When I access "Iron shield" product page
|
||||
And I go to edit page
|
||||
Then I should be on "Iron shield" product edit page
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Accessing to variant edit page from product show page
|
||||
When I access "Iron shield" product page
|
||||
And I go to edit page of "Iron shield - very big" variant
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ Feature: Seeing applied catalog promotions details for a simple product
|
|||
And it is enabled
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Seeing applied catalog promotion details on a simple product
|
||||
When I access "Ursus C-355" product
|
||||
Then this product price should be decreased by catalog promotion "Company bankruptcy sale" in "United States" channel
|
||||
|
|
|
|||
|
|
@ -17,13 +17,13 @@ Feature: Viewing details of a product with variants
|
|||
And I am logged in as an administrator
|
||||
And I am browsing products
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Viewing a configurable product show page
|
||||
When I access "Iron Shield" product page
|
||||
Then I should see product show page with variants
|
||||
And I should see product name "Iron Shield"
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Viewing taxonomy block
|
||||
Given the store classifies its products as "Shield" and "Equipment"
|
||||
And the product "Iron Shield" has a main taxon "Equipment"
|
||||
|
|
@ -32,12 +32,12 @@ Feature: Viewing details of a product with variants
|
|||
Then I should see main taxon is "Equipment"
|
||||
And I should see product taxon is "Shield"
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Viewing options block
|
||||
When I access "Iron Shield" product page
|
||||
Then I should see option "Shield size"
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Viewing variants block
|
||||
When I access "Iron Shield" product page
|
||||
Then I should see 2 variants
|
||||
|
|
@ -50,7 +50,7 @@ Feature: Viewing details of a product with variants
|
|||
When I access "Iron Shield" product page
|
||||
Then I should see an image related to this product
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Viewing "more details" block
|
||||
Given the product "Iron Shield" has the slug "iron-shield"
|
||||
And the description of product "Iron Shield" is "Shield created by dwarf"
|
||||
|
|
@ -63,7 +63,7 @@ Feature: Viewing details of a product with variants
|
|||
And I should see product's meta keywords is "shield"
|
||||
And I should see product's short description is "good shield"
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Viewing associations block
|
||||
Given the store has a "Glass shield" product
|
||||
And the product "Iron Shield" has an association "Similar" with product "Glass shield"
|
||||
|
|
|
|||
|
|
@ -11,21 +11,21 @@ Feature: Viewing details of a simple product
|
|||
And I am logged in as an administrator
|
||||
And I am browsing products
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Viewing a simple product show page
|
||||
When I access "Iron Shield" product page
|
||||
Then I should see product show page without variants
|
||||
And I should see product name "Iron Shield"
|
||||
And I should see product breadcrumb "Iron Shield"
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Viewing pricing block
|
||||
Given the product "Iron Shield" has original price "$25.00"
|
||||
When I access "Iron Shield" product page
|
||||
Then I should see price "$20.00" for channel "United States"
|
||||
And I should see original price "$25.00" for channel "United States"
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Viewing price block without channel enable
|
||||
Given this product is unavailable in "United States" channel
|
||||
When I access "Iron Shield" product page
|
||||
|
|
@ -33,7 +33,7 @@ Feature: Viewing details of a simple product
|
|||
And I should see the product in neither channel
|
||||
And I should not see price for channel "United States"
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Viewing details block
|
||||
Given the store has a tax category "No tax" with a code "nt"
|
||||
And product's "Iron Shield" code is "123456789"
|
||||
|
|
@ -45,7 +45,7 @@ Feature: Viewing details of a simple product
|
|||
And I should see 4 as a current stock of this product
|
||||
And I should see product's tax category is "No tax"
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Viewing taxonomy block
|
||||
Given this product belongs to "Shield"
|
||||
And the product "Iron Shield" has a main taxon "Equipment"
|
||||
|
|
@ -53,7 +53,7 @@ Feature: Viewing details of a simple product
|
|||
Then I should see main taxon is "Equipment"
|
||||
And I should see product taxon is "Shield"
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Viewing shipping block
|
||||
Given the store has "Over sized" and "Standard" shipping category
|
||||
And the product "Iron Shield" has height "10.0", width "15.0", depth "20.0", weight "25.0"
|
||||
|
|
@ -71,7 +71,7 @@ Feature: Viewing details of a simple product
|
|||
When I access "Iron Shield" product page
|
||||
Then I should see an image related to this product
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Viewing "more details" block
|
||||
Given the product "Iron Shield" has the slug "iron-shield"
|
||||
And the description of product "Iron Shield" is "Shield created by dwarf"
|
||||
|
|
@ -84,7 +84,7 @@ Feature: Viewing details of a simple product
|
|||
And I should see product's meta keywords is "shield"
|
||||
And I should see product's short description is "good shield"
|
||||
|
||||
@ui
|
||||
@ui @no-api
|
||||
Scenario: Viewing associations block
|
||||
Given the store has "Similar" and "Dwarf equipment" product association types
|
||||
And the store has a "Glass Shield" product
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue