|
87 | 87 | <title value="Admin should be able to switch a new product from simple to configurable"/>
|
88 | 88 | <description value="After selecting a simple product when adding Admin should be switch to configurable implicitly"/>
|
89 | 89 | <severity value="CRITICAL"/>
|
| 90 | + <useCaseId value="MAGETWO-44165"/> |
90 | 91 | <testCaseId value="MAGETWO-29398"/>
|
91 | 92 | <group value="catalog"/>
|
92 | 93 | <group value="mtf_migrated"/>
|
|
103 | 104 | <actionGroup ref="GoToSpecifiedCreateProductPage" stepKey="openProductFillForm">
|
104 | 105 | <argument name="productType" value="simple"/>
|
105 | 106 | </actionGroup>
|
| 107 | + <!-- Create configurable product from simple product page--> |
| 108 | + <comment userInput="Create configurable product" stepKey="commentCreateProduct"/> |
106 | 109 | <actionGroup ref="fillMainProductForm" stepKey="fillProductForm">
|
107 | 110 | <argument name="product" value="_defaultProduct"/>
|
108 | 111 | </actionGroup>
|
|
112 | 115 | </actionGroup>
|
113 | 116 | <actionGroup ref="saveConfiguredProduct" stepKey="saveProductForm"/>
|
114 | 117 | <see selector="{{AdminProductGridSection.productGridCell('2', 'Type')}}" userInput="Configurable Product" stepKey="seeProductTypeInGrid"/>
|
| 118 | + <!-- Verify product on store front --> |
| 119 | + <comment userInput="Verify product on store front" stepKey="commentVerifyProductGrid"/> |
115 | 120 | <actionGroup ref="VerifyOptionInProductStorefront" stepKey="verifyConfigurableOption" after="AssertProductInStorefrontProductPage">
|
116 | 121 | <argument name="attributeCode" value="$createConfigProductAttribute.default_frontend_label$"/>
|
117 | 122 | <argument name="optionName" value="$createConfigProductAttributeOption1.option[store_labels][1][label]$"/>
|
|
124 | 129 | <title value="Admin should be able to switch a new product from downloadable to configurable"/>
|
125 | 130 | <description value="After selecting a downloadable product when adding Admin should be switch to configurable implicitly"/>
|
126 | 131 | <severity value="CRITICAL"/>
|
| 132 | + <useCaseId value="MAGETWO-44165"/> |
127 | 133 | <testCaseId value="MAGETWO-29398"/>
|
128 | 134 | <group value="catalog"/>
|
129 | 135 | <group value="mtf_migrated"/>
|
|
145 | 151 | <deleteData stepKey="deleteAttribute" createDataKey="createConfigProductAttribute"/>
|
146 | 152 | <actionGroup ref="logout" stepKey="logout"/>
|
147 | 153 | </after>
|
148 |
| - |
| 154 | + <!-- Create configurable product from downloadable product page--> |
| 155 | + <comment userInput="Create configurable product" stepKey="commentCreateProduct"/> |
149 | 156 | <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin1"/>
|
150 | 157 | <!-- Open Dropdown and select downloadable product option -->
|
151 | 158 | <comment stepKey="beforeOpenProductFillForm" userInput="Selecting Product from the Add Product Dropdown"/>
|
152 | 159 | <actionGroup ref="GoToSpecifiedCreateProductPage" stepKey="openProductFillForm">
|
153 | 160 | <argument name="productType" value="downloadable"/>
|
154 | 161 | </actionGroup>
|
155 |
| - |
156 | 162 | <scrollTo selector="{{AdminProductDownloadableSection.sectionHeader}}" stepKey="scrollToDownloadableInfo" />
|
157 |
| - <wait stepKey="2" time="3"/> |
158 | 163 | <uncheckOption selector="{{AdminProductDownloadableSection.isDownloadableProduct}}" stepKey="checkIsDownloadable"/>
|
159 |
| - |
160 | 164 | <!-- Fill form for Downloadable Product Type -->
|
161 | 165 | <comment stepKey="beforeFillProductForm" userInput="Filling Product Form"/>
|
162 | 166 | <actionGroup ref="fillMainProductForm" stepKey="fillProductForm">
|
|
178 | 182 | <argument name="product" value="_defaultProduct"/>
|
179 | 183 | </actionGroup>
|
180 | 184 | <see selector="{{AdminProductGridSection.productGridCell('2', 'Type')}}" userInput="Configurable Product" stepKey="seeProductTypeInGrid"/>
|
181 |
| - <actionGroup ref="AssertProductInStorefrontProductPage" stepKey="AssertProductInStorefrontProductPage"> |
| 185 | + <actionGroup ref="AssertProductInStorefrontProductPage" stepKey="assertProductInStorefrontProductPage"> |
182 | 186 | <argument name="product" value="_defaultProduct"/>
|
183 | 187 | </actionGroup>
|
184 | 188 | <actionGroup ref="VerifyOptionInProductStorefront" stepKey="verifyConfigurableOption">
|
|
0 commit comments