|
16 | 16 | <description value="Guest customer should be able to search configurable product by attributes of child products"/>
|
17 | 17 | <severity value="MAJOR"/>
|
18 | 18 | <testCaseId value="MC-249"/>
|
19 |
| - <group value="Levi"/> |
| 19 | + <group value="ConfigurableProduct"/> |
20 | 20 | </annotations>
|
21 | 21 | <before>
|
22 | 22 | <!-- TODO: This should be converted to an actionGroup once MQE-993 is fixed. -->
|
|
114 | 114 | </createData>
|
115 | 115 |
|
116 | 116 | <actionGroup ref="LoginAsAdmin" stepKey="login"/>
|
| 117 | + |
| 118 | + <!-- Go to the product page for the first product --> |
| 119 | + <amOnPage stepKey="goToProductGrid" url="{{ProductCatalogPage.url}}"/> |
| 120 | + <waitForPageLoad stepKey="waitForProductGridLoad"/> |
| 121 | + <actionGroup stepKey="searchForSimpleProduct" ref="filterProductGridBySku2"> |
| 122 | + <argument name="sku" value="$$createConfigChildProduct1.sku$$"/> |
| 123 | + </actionGroup> |
| 124 | + <actionGroup stepKey="openProductEditPage" ref="openProducForEditByClickingRowXColumnYInProductGrid"/> |
| 125 | + |
| 126 | + <!-- Edit the attribute for the first simple product --> |
| 127 | + <selectOption stepKey="editSelectAttribute" selector="{{ModifyAttributes.nthExistingAttribute($$createConfigProductAttributeSelect.default_frontend_label$$)}}" userInput="$$createConfigProductAttributeSelectOption1.option[store_labels][0][label]$$"/> |
| 128 | + <scrollToTopOfPage stepKey="scrollToTop"/> |
| 129 | + <click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="saveProduct"/> |
| 130 | + <seeElement selector="{{AdminProductMessagesSection.successMessage}}" stepKey="assertSaveMessageSuccess"/> |
117 | 131 | </before>
|
118 | 132 |
|
119 | 133 | <after>
|
|
127 | 141 | <deleteData createDataKey="createCategory" stepKey="deleteApiCategory"/>
|
128 | 142 | </after>
|
129 | 143 |
|
130 |
| - <!-- Add a description to the first simple product --> |
131 |
| - <amOnPage stepKey="goToProductGrid" url="{{ProductCatalogPage.url}}"/> |
132 |
| - <waitForPageLoad stepKey="waitForProductGridLoad"/> |
133 |
| - <actionGroup stepKey="searchForSimpleProduct" ref="filterProductGridBySku2"> |
134 |
| - <argument name="sku" value="$$createConfigChildProduct1.sku$$"/> |
135 |
| - </actionGroup> |
136 |
| - <actionGroup stepKey="openProductEditPage" ref="openProducForEditByClickingRowXColumnYInProductGrid"/> |
137 |
| - |
138 |
| - <!-- Edit the attribute for the first simple product --> |
139 |
| - <selectOption stepKey="editSelectAttribute" selector="{{ModifyAttributes.nthExistingAttribute($$createConfigProductAttributeSelect.default_frontend_label$$)}}" userInput="$$createConfigProductAttributeSelectOption1.option[store_labels][0][label]$$"/> |
140 |
| - <scrollToTopOfPage stepKey="scrollToTop"/> |
141 |
| - <click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="saveProduct"/> |
142 |
| - <seeElement selector="{{AdminProductMessagesSection.successMessage}}" stepKey="assertSaveMessageSuccess"/> |
143 |
| - |
144 | 144 | <!-- Quick search the storefront for the first attribute option -->
|
145 | 145 | <amOnPage stepKey="goToStoreFront" url="{{StorefrontHomePage.url}}"/>
|
146 | 146 | <waitForPageLoad stepKey="waitForStorefront"/>
|
|
0 commit comments