|
11 | 11 | <test name="AdminCheckValidatorConfigurableProductTest">
|
12 | 12 | <annotations>
|
13 | 13 | <features value="ConfigurableProduct"/>
|
14 |
| - <stories value="MAGETWO-95834: Unable to create Configurations for Configurable Products"/> |
15 | 14 | <title value="Check that validator works correctly when creating Configurations for Configurable Products"/>
|
16 | 15 | <description value="Verify validator works correctly for Configurable Products"/>
|
17 | 16 | <severity value="MAJOR"/>
|
18 | 17 | <testCaseId value="MAGETWO-95995"/>
|
| 18 | + <useCaseId value="MAGETWO-95834"/> |
19 | 19 | <group value="ConfigurableProduct"/>
|
20 | 20 | </annotations>
|
21 | 21 |
|
|
30 | 30 | </createData>
|
31 | 31 | </before>
|
32 | 32 |
|
| 33 | + <after> |
| 34 | + <!--Delete created data--> |
| 35 | + <deleteData createDataKey="createCategory" stepKey="deleteCategory"/> |
| 36 | + <deleteData createDataKey="createConfigProduct" stepKey="deleteConfigProduct"/> |
| 37 | + <actionGroup ref="deleteProductBySku" stepKey="deleteProduct"> |
| 38 | + <argument name="sku" value="{{ApiConfigurableProduct.name}}-thisIsShortName"/> |
| 39 | + </actionGroup> |
| 40 | + <conditionalClick selector="{{AdminProductGridFilterSection.clearFilters}}" |
| 41 | + dependentSelector="{{AdminProductGridFilterSection.clearFilters}}" visible="true" stepKey="clickClearFilters"/> |
| 42 | + <!-- Remove attribute --> |
| 43 | + <actionGroup ref="deleteProductAttribute" stepKey="deleteAttribute"> |
| 44 | + <argument name="ProductAttribute" value="productDropDownAttribute"/> |
| 45 | + </actionGroup> |
| 46 | + <actionGroup ref="logout" stepKey="logout"/> |
| 47 | + </after> |
| 48 | + |
33 | 49 | <!-- Find the product that we just created using the product grid -->
|
34 | 50 | <amOnPage url="{{AdminProductIndexPage.url}}" stepKey="visitAdminProductPage"/>
|
35 | 51 | <waitForPageLoad stepKey="waitForAdminProductPageLoad"/>
|
|
106 | 122 | <waitForElementVisible selector="{{AdminChooseAffectedAttributeSetPopup.confirm}}" stepKey="waitPopUpVisible"/>
|
107 | 123 | <click selector="{{AdminChooseAffectedAttributeSetPopup.confirm}}" stepKey="clickOnConfirmPopup"/>
|
108 | 124 | <seeElement selector="{{AdminMessagesSection.success}}" stepKey="seeSaveProductMessage"/>
|
109 |
| - |
110 |
| - <after> |
111 |
| - <!--Delete created data--> |
112 |
| - <deleteData createDataKey="createCategory" stepKey="deleteCategory"/> |
113 |
| - <deleteData createDataKey="createConfigProduct" stepKey="deleteConfigProduct"/> |
114 |
| - <actionGroup ref="deleteProductBySku" stepKey="deleteProduct"> |
115 |
| - <argument name="sku" value="{{ApiConfigurableProduct.name}}-thisIsShortName"/> |
116 |
| - </actionGroup> |
117 |
| - <conditionalClick selector="{{AdminProductGridFilterSection.clearFilters}}" |
118 |
| - dependentSelector="{{AdminProductGridFilterSection.clearFilters}}" visible="true" stepKey="clickClearFilters"/> |
119 |
| - <!-- Remove attribute --> |
120 |
| - <actionGroup ref="deleteProductAttribute" stepKey="deleteAttribute"> |
121 |
| - <argument name="ProductAttribute" value="productDropDownAttribute"/> |
122 |
| - </actionGroup> |
123 |
| - <actionGroup ref="logout" stepKey="logout"/> |
124 |
| - </after> |
125 | 125 | </test>
|
126 | 126 | </tests>
|
0 commit comments