[Behat] Enable remaining product options scenarios

This commit is contained in:
Rafikooo 2024-08-07 09:03:34 +02:00 committed by Grzegorz Sadowski
parent b8ab84e531
commit 08cc26c68c
4 changed files with 9 additions and 9 deletions

View file

@ -8,7 +8,7 @@ Feature: Adding a new product option
Given the store is available in "English (United States)"
And I am logged in as an administrator
@todo-api @ui @javascript
@api @ui @javascript
Scenario: Adding a new product option with two required option values
When I want to create a new product option
And I name it "T-Shirt size" in "English (United States)"
@ -31,7 +31,7 @@ Feature: Adding a new product option
Then I should be notified that it has been successfully created
And the product option "T-Shirt size" should appear in the registry
@todo-api @ui @javascript
@api @ui @javascript
Scenario: Adding a new product option with one option value
When I want to create a new product option
And I name it "T-Shirt size" in "English (United States)"

View file

@ -9,7 +9,7 @@ Feature: Editing product options
And the store has a product option "T-Shirt size" with a code "t_shirt_size"
And I am logged in as an administrator
@todo-api @ui
@api @ui
Scenario: Renaming the product option
Given this product option has the "S" option value with code "t_shirt_size_s"
And this product option has also the "M" option value with code "t_shirt_size_m"
@ -19,7 +19,7 @@ Feature: Editing product options
Then I should be notified that it has been successfully edited
And this product option name should be "T-Shirt color"
@todo-api @ui
@api @ui
Scenario: Not being able to edit code of an existing product option
When I want to modify the "T-Shirt size" product option
Then I should not be able to edit its code

View file

@ -11,14 +11,14 @@ Feature: Filtering product options
And I am logged in as an administrator
And I am browsing product options
@todo-api @ui
@api @ui
Scenario: Filtering product options by name
When I search for product options with "T-Shirt"
Then I should see 2 product options in the list
And the product option "T-Shirt size" should be in the registry
And the product option "T-Shirt color" should be in the registry
@todo-api @ui
@api @ui
Scenario: Filtering product options by code
When I search for product options with "xyz"
Then I should see 2 product options in the list

View file

@ -11,7 +11,7 @@ Feature: Managing option values of a product option
And this product option has also the "M" option value with code "OV2"
And I am logged in as an administrator
@todo-api @ui @javascript
@api @ui @javascript
Scenario: Adding an option value to an existing product option
When I want to modify the "T-Shirt size" product option
And I add the "L" option value identified by "OV3"
@ -19,7 +19,7 @@ Feature: Managing option values of a product option
Then I should be notified that it has been successfully edited
And this product option should have the "L" option value
@ui @javascript @todo
@api @ui @javascript
Scenario: Removing an option value from an existing product option
Given this product option has also the "L" option value with code "OV3"
When I want to modify the "T-Shirt size" product option
@ -28,7 +28,7 @@ Feature: Managing option values of a product option
Then I should be notified that it has been successfully edited
And this product option should not have the "L" option value
@ui @javascript @todo
@api @ui @javascript
Scenario: Removing and adding a new option value to an existing product option
When I want to modify the "T-Shirt size" product option
And I delete the "M" option value of this product option