Skip to content

Commit dbf0467

Browse files
committed
MC-288: Admin should be able to update existing attributes of child products of a configurable product
- Store the attribute name locally
1 parent 33f2ef3 commit dbf0467

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@
240240
<waitForPageLoad stepKey="waitForEditConfig"/>
241241
<click stepKey="clickNextWizard" selector="{{AdminCreateProductConfigurationsPanel.next}}"/>
242242
<click stepKey="createNewValue" selector="{{AdminCreateProductConfigurationsPanel.createNewValue}}"/>
243-
<fillField stepKey="fillNewAttribute" selector="{{AdminCreateProductConfigurationsPanel.attributeName}}" userInput="{{_defaultProduct.type_id}}"/>
243+
<fillField stepKey="fillNewAttribute" selector="{{AdminCreateProductConfigurationsPanel.attributeName}}" userInput="simple"/>
244244
<click stepKey="confirmNewAttribute" selector="{{AdminCreateProductConfigurationsPanel.saveAttribute}}"/>
245245
<click stepKey="clickNextWizard2" selector="{{AdminCreateProductConfigurationsPanel.next}}"/>
246246

@@ -263,7 +263,7 @@
263263

264264
<!-- Find the simple product that we just created using the product grid and delete it -->
265265
<actionGroup ref="deleteProductUsingProductGrid2" stepKey="findCreatedProduct2">
266-
<argument name="sku" value="{{ApiConfigurableProduct.sku}}2-{{_defaultProduct.type_id}}"/>
266+
<argument name="sku" value="{{ApiConfigurableProduct.sku}}2-simple"/>
267267
</actionGroup>
268268
</test>
269269
</tests>

0 commit comments

Comments
 (0)