Skip to content

Commit

Permalink
[Behat] added/removed no-api tags from some scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestWarwas committed Feb 9, 2022
1 parent f38131f commit 509dc14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Feature: Editing product's slug
Given the store operates on a single channel in "United States"
And I am logged in as an administrator

@ui @javascript
@ui @javascript @no-api
Scenario: Creating a product with an autogenerated slug
When I want to create a new simple product
And I specify its code as "BOARD_MANSION_OF_MADNESS"
Expand All @@ -17,7 +17,7 @@ Feature: Editing product's slug
And I add it
Then the slug of the "Mansion of Madness" product should be "mansion-of-madness"

@ui @javascript
@ui @javascript @no-api
Scenario: Creating a product with a custom slug
Given I want to create a new simple product
When I specify its code as "BOARD_MANSION_OF_MADNESS"
Expand Down
8 changes: 4 additions & 4 deletions features/product/managing_products/product_validation.feature
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Feature: Products validation
And product with code "BOARD_DICE_BREWING" should not be added

@ui @api
Scenario: Trying to remove name from existing simple product
Scenario: Trying to remove name from existing product
Given the store has a "Dice Brewing" product
And I want to modify this product
When I remove its name from "English (United States)" translation
Expand All @@ -133,7 +133,7 @@ Feature: Products validation
And I save my changes
Then I should be notified that I have to define product variants' prices for newly assigned channels first

@ui
@ui @no-api
Scenario: Adding a new simple product with price
Given the store has a "7 Wonders" configurable product with "7-wonders" slug
And I want to create a new configurable product
Expand All @@ -144,7 +144,7 @@ Feature: Products validation
Then I should be notified that slug has to be unique
And product with code "7-WONDERS-BABEL" should not be added

@ui @javascript @no-api
@ui @javascript
Scenario: Trying to add a new product with a text attribute without specifying its value in default locale
When I want to create a new simple product
And I specify its code as "X-18-MUG"
Expand All @@ -156,7 +156,7 @@ Feature: Products validation
Then I should be notified that I have to define the "Mug material" attribute in "English (United States)"
And product with code "X-18-MUG" should not be added

@ui @javascript @no-api
@ui @javascript
Scenario: Trying to add a new product with a text attribute without specifying its value in additional locale with proper length
When I want to create a new simple product
And I specify its code as "X-18-MUG"
Expand Down

0 comments on commit 509dc14

Please sign in to comment.