Skip to content

Commit 057d078

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

File tree

5 files changed

+20
-5
lines changed

5 files changed

+20
-5
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Bundle/Test/AdminAddRemoveProductImageBundleProductTest.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,10 @@
9191
</actionGroup>
9292
<actionGroup ref="openProducForEditByClickingRowXColumnYInProductGrid" stepKey="openProducForEditByClickingRow1Column2InProductGrid"/>
9393
<actionGroup ref="removeProductImage" stepKey="removeProductImage"/>
94-
<actionGroup ref="saveProductForm" stepKey="saveProductFormAfterRemove"/>
94+
95+
<!-- Skip success message check when saving product because of bug MAGETWO-91177 -->
96+
<!-- actionGroup ref="saveProductForm" stepKey="saveProductFormAfterRemove"/-->
97+
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="saveProductFormAfterRemove"/>
9598

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

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/Test/AdminAddRemoveProductImageSimpleProductTest.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@
6464
</actionGroup>
6565
<actionGroup ref="openProducForEditByClickingRowXColumnYInProductGrid" stepKey="openProducForEditByClickingRow1Column2InProductGrid"/>
6666
<actionGroup ref="removeProductImage" stepKey="removeProductImage"/>
67-
<actionGroup ref="saveProductForm" stepKey="saveProductFormAfterRemove"/>
67+
68+
<!-- Skip success message check when saving product because of bug MAGETWO-91177 -->
69+
<!-- actionGroup ref="saveProductForm" stepKey="saveProductFormAfterRemove"/-->
70+
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="saveProductFormAfterRemove"/>
6871

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

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/Test/AdminAddRemoveProductImageVirtualProductTest.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@
6464
</actionGroup>
6565
<actionGroup ref="openProducForEditByClickingRowXColumnYInProductGrid" stepKey="openProducForEditByClickingRow1Column2InProductGrid"/>
6666
<actionGroup ref="removeProductImage" stepKey="removeProductImage"/>
67-
<actionGroup ref="saveProductForm" stepKey="saveProductFormAfterRemove"/>
67+
68+
<!-- Skip success message check when saving product because of bug MAGETWO-91177 -->
69+
<!-- actionGroup ref="saveProductForm" stepKey="saveProductFormAfterRemove"/-->
70+
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="saveProductFormAfterRemove"/>
6871

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

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Downloadable/Test/AdminAddRemoveProductImageDownloadableProductTest.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@
8484
</actionGroup>
8585
<actionGroup ref="openProducForEditByClickingRowXColumnYInProductGrid" stepKey="openProducForEditByClickingRow1Column2InProductGrid"/>
8686
<actionGroup ref="removeProductImage" stepKey="removeProductImage"/>
87-
<actionGroup ref="saveProductForm" stepKey="saveProductFormAfterRemove"/>
87+
88+
<!-- Skip success message check when saving product because of bug MAGETWO-91177 -->
89+
<!-- actionGroup ref="saveProductForm" stepKey="saveProductFormAfterRemove"/-->
90+
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="saveProductFormAfterRemove"/>
8891

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

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/GroupedProduct/Test/AdminAddRemoveProductImageGroupedProductTest.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,10 @@
8787
</actionGroup>
8888
<actionGroup ref="openProducForEditByClickingRowXColumnYInProductGrid" stepKey="openProducForEditByClickingRow1Column2InProductGrid"/>
8989
<actionGroup ref="removeProductImage" stepKey="removeProductImage"/>
90-
<actionGroup ref="saveProductForm" stepKey="saveProductFormAfterRemove"/>
90+
91+
<!-- Skip success message check when saving product because of bug MAGETWO-91177 -->
92+
<!-- actionGroup ref="saveProductForm" stepKey="saveProductFormAfterRemove"/-->
93+
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="saveProductFormAfterRemove"/>
9194

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

0 commit comments

Comments
 (0)