|
11 | 11 | <test name="AdminSaveConfProductWithCustomProductAttributeTest">
|
12 | 12 | <annotations>
|
13 | 13 | <features value="Swatches"/>
|
14 |
| - <stories value="Configurable product with custom product images as swatches attribute"/> |
| 14 | + <stories value="Configurable product with swatch attribute"/> |
15 | 15 | <title value="Saving configurable product with custom product attribute (images as swatches)"/>
|
16 | 16 | <description value="Saving configurable product with custom product attribute (images as swatches)"/>
|
17 | 17 | <severity value="CRITICAL"/>
|
18 | 18 | <testCaseId value="MC-13641"/>
|
19 | 19 | <useCaseId value="MC-10968"/>
|
20 |
| - <group value="swatches"/> |
| 20 | + <group value="developer_mode_only"/> |
21 | 21 | </annotations>
|
22 | 22 | <before>
|
23 | 23 | <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
|
24 | 24 | <!--Create configurable product-->
|
25 |
| - <comment userInput="Create configurable product" stepKey="commentCreateConfProduct"/> |
26 | 25 | <createData entity="SimpleSubCategory" stepKey="createCategory"/>
|
27 | 26 | <createData entity="ApiConfigurableProduct" stepKey="createConfigProduct">
|
28 | 27 | <requiredEntity createDataKey="createCategory"/>
|
29 | 28 | </createData>
|
30 | 29 | </before>
|
31 | 30 | <after>
|
32 | 31 | <!--Delete created data-->
|
33 |
| - <comment userInput="Delete created data" stepKey="commentDeleteCreatedData"/> |
34 | 32 | <deleteData createDataKey="createConfigProduct" stepKey="deleteProduct"/>
|
35 | 33 | <deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
|
36 | 34 | <actionGroup ref="AdminOpenProductIndexPageActionGroup" stepKey="navigateToProductIndexPage"/>
|
|
41 | 39 | <actionGroup ref="logout" stepKey="logout"/>
|
42 | 40 | </after>
|
43 | 41 | <!--Create Visual swatch with preview image-->
|
44 |
| - <comment userInput="Create Visual swatch with preview image" stepKey="commentCreateAttribute"/> |
45 | 42 | <amOnPage url="{{ProductAttributePage.url}}" stepKey="goToNewProductAttributePage"/>
|
46 | 43 | <actionGroup ref="AdminFillProductAttributePropertiesActionGroup" stepKey="fillProductAttributeProperties">
|
47 | 44 | <argument name="attributeName" value="{{VisualSwatchProductAttribute.attribute_code}}"/>
|
48 | 45 | <argument name="attributeType" value="{{VisualSwatchProductAttribute.frontend_input}}"/>
|
49 | 46 | </actionGroup>
|
50 | 47 | <!--Add first option-->
|
51 |
| - <comment userInput="Add first option" stepKey="commentAddFirstOption"/> |
52 | 48 | <actionGroup ref="AdminAddSwatchOptionAndFillFieldsActionGroup" stepKey="addFirstSwatchOptionAndFillFields">
|
53 | 49 | <argument name="swatchOption" value="visualSwatchOption1"/>
|
54 | 50 | </actionGroup>
|
|
60 | 56 | <argument name="index" value="1"/>
|
61 | 57 | </actionGroup>
|
62 | 58 | <!--Add second option-->
|
63 |
| - <comment userInput="Add second option" stepKey="commentAddSecondOption"/> |
64 | 59 | <actionGroup ref="AdminAddSwatchOptionAndFillFieldsActionGroup" stepKey="addSecondSwatchOptionAndFillFields">
|
65 | 60 | <argument name="swatchOption" value="visualSwatchOption2"/>
|
66 | 61 | </actionGroup>
|
|
76 | 71 | <argument name="message" value="You saved the product attribute."/>
|
77 | 72 | </actionGroup>
|
78 | 73 | <!--Create configurations for product-->
|
79 |
| - <comment userInput="Create configurations for product" stepKey="commentCreateConfigsForProduct"/> |
80 | 74 | <amOnPage url="{{AdminProductEditPage.url($$createConfigProduct.id$$)}}" stepKey="goToProductEditPage"/>
|
81 | 75 | <waitForPageLoad stepKey="waitForProductPageLoad"/>
|
82 | 76 | <actionGroup ref="StartCreateConfigurationsForAttribute" stepKey="createConfigurations">
|
|
0 commit comments