Skip to content

Commit bd0a3c3

Browse files
jilu1tomreece
authored andcommitted
MC-103: work around magento issue MAGETWO-91177.
1 parent 057d078 commit bd0a3c3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@
7272
</createData>
7373

7474
<createData entity="ConfigurableProductAddChild" stepKey="configProductHandle1">
75-
<requiredEntity createDataKey="childProductHandle1"/>
7675
<requiredEntity createDataKey="baseConfigProductHandle"/>
76+
<requiredEntity createDataKey="childProductHandle1"/>
7777
</createData>
7878
<createData entity="ConfigurableProductAddChild" stepKey="configProductHandle2">
79-
<requiredEntity createDataKey="childProductHandle2"/>
8079
<requiredEntity createDataKey="baseConfigProductHandle"/>
80+
<requiredEntity createDataKey="childProductHandle2"/>
8181
</createData>
8282
</before>
8383
<after>
@@ -127,7 +127,10 @@
127127
</actionGroup>
128128
<actionGroup ref="openProducForEditByClickingRowXColumnYInProductGrid" stepKey="openProducForEditByClickingRow1Column2InProductGrid2"/>
129129
<actionGroup ref="removeProductImage" stepKey="removeProductImage"/>
130-
<actionGroup ref="saveProductForm" stepKey="saveProductFormAfterRemove"/>
130+
131+
<!-- Skip success message check when saving product because of bug MAGETWO-91177 -->
132+
<!-- actionGroup ref="saveProductForm" stepKey="saveProductFormAfterRemove"/-->
133+
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="saveProductFormAfterRemove"/>
131134

132135
<!-- Assert product image not in admin product form -->
133136
<actionGroup ref="assertProductImageNotInAdminProductPage" stepKey="assertProductImageNotInAdminProductPage"/>

0 commit comments

Comments
 (0)