-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 #1 from Arminek/attribute_select_behat
[Behat] Add scenarios for adding select attribute type
- Loading branch information
Showing
6 changed files
with
93 additions
and
0 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
features/product/managing_product_attributes/adding_select_product_attribute.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,35 @@ | ||
@managing_product_attributes | ||
Feature: Adding a new select product attribute | ||
In order to show specific product's parameters to customer | ||
As an Administrator | ||
I want to add a new select product attribute | ||
|
||
Background: | ||
Given the store is available in "English (United States)" | ||
And I am logged in as an administrator | ||
|
||
@ui @javascript | ||
Scenario: Adding a new select product attribute | ||
Given I want to create a new select product attribute | ||
When I specify its code as "mug_material" | ||
And I name it "Mug material" in "English (United States)" | ||
And I add material "Banana Skin" | ||
And I add it | ||
Then I should be notified that it has been successfully created | ||
And the select attribute "Mug material" should appear in the store | ||
|
||
@ui @javascript | ||
Scenario: Adding multiple select product attribute | ||
Given I want to create a new select product attribute | ||
When I specify its code as "mug_material" | ||
And I name it "Mug material" in "English (United States)" | ||
And I add material "Banana Skin" | ||
And I also add material "Plastic" | ||
And I add it | ||
Then I should be notified that it has been successfully created | ||
And the select attribute "Mug material" should appear in the store | ||
|
||
@ui | ||
Scenario: Seeing disabled type field while adding a select product attribute | ||
When I want to create a new select product attribute | ||
Then the type field should be disabled |
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