Skip to content

Commit 5e15203

Browse files
committed
MC-288: Admin should be able to update existing attributes of child products of a configurable product
- Added page waits and changed some names
1 parent dbf0467 commit 5e15203

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/ConfigurableProduct/Test/AdminConfigurableProductUpdateAttributeTest.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
<description value="Admin should be able to update existing attributes of child products of a configurable product"/>
149149
<severity value="AVERAGE"/>
150150
<testCaseId value="MC-288"/>
151-
<group value="Levi"/>
151+
<group value="ConfigurableProduct"/>
152152
</annotations>
153153

154154
<before>
@@ -251,12 +251,14 @@
251251
<click stepKey="clickGenerateProducts" selector="{{AdminCreateProductConfigurationsPanel.next}}"/>
252252

253253
<!-- Save the product -->
254+
<waitForPageLoad stepKey="waitForGeneration"/>
254255
<click stepKey="saveProductAttribute" selector="{{AdminProductFormActionSection.saveButton}}"/>
255256
<see stepKey="assertSuccess" selector="{{AdminProductMessagesSection.successMessage}}" userInput="You saved the product."/>
256257

257258
<!-- Check to make sure the created product has appeared on the configurable product storefront -->
258259
<amOnPage url="/{{ApiConfigurableProduct.urlKey}}2.html" stepKey="goToConfigProductPage"/>
259-
<selectOption stepKey="clickFirstAttribute" selector="{{ModifyAttributes.nthExistingAttribute($$createConfigProductAttribute.default_frontend_label$$)}}" userInput="{{_defaultProduct.type_id}}"/>
260+
<waitForPageLoad stepKey="waitForStorefront"/>
261+
<selectOption stepKey="clickFirstAttribute" selector="{{ModifyAttributes.nthExistingAttribute($$createConfigProductAttribute.default_frontend_label$$)}}" userInput="simple"/>
260262
<waitForPageLoad stepKey="waitForPageExecution"/>
261263
<see stepKey="checkPrice" selector="{{StorefrontProductInfoMainSection.productPrice}}" userInput="0.00"/>
262264
<waitForPageLoad stepKey="waitForStoreFrontProductPageLoad"/>

0 commit comments

Comments
 (0)