Skip to content

Commit b7a87f7

Browse files
ACQE-8743: [ATLH] Product. Second round of update
- Added product deletion code
1 parent ee918f0 commit b7a87f7

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/AdminUpdateVirtualProductWithRegularPriceInStockWithCustomOptionsVisibleInSearchOnlyTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<actionGroup ref="ClearFiltersAdminProductGridActionGroup" stepKey="clearFilterFromProductIndex"/>
3535
<deleteData stepKey="deleteSimpleSubCategory" createDataKey="initialCategoryEntity"/>
3636
<deleteData stepKey="deleteSimpleSubCategory2" createDataKey="categoryEntity"/>
37+
<deleteData createDataKey="initialVirtualProduct" stepKey="deleteProduct"/>
3738
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
3839
</after>
3940

app/code/Magento/Review/Test/Mftf/Test/AdminReviewsByProductsReportTest.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
<createData stepKey="createProduct1" entity="SimpleProduct">
2626
<requiredEntity createDataKey="category"/>
2727
</createData>
28-
<createData stepKey="createProduct2" entity="SimpleProduct">
29-
<requiredEntity createDataKey="category"/>
30-
</createData>
3128
</before>
3229
<after>
3330
<!-- Delete reviews -->

app/code/Magento/Swatches/Test/Mftf/Test/StorefrontSwatchAttributeDisplayedInWidgetCMSTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@
9696
<after>
9797
<!-- Delete Category -->
9898
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
99-
<!-- Delete Configurable Product -->
100-
<deleteData createDataKey="createConfigurableProduct" stepKey="deleteConfigurableProduct"/>
99+
<!-- Delete all products via API -->
100+
<helper class="Magento\Catalog\Test\Mftf\Helper\ProductApiHelper" method="deleteAllProductsApi" stepKey="deleteAllProductsViaApi"/>
101101
<!-- Delete Attribute -->
102102
<deleteData createDataKey="createVisualSwatchAttribute" stepKey="deleteVisualSwatchAttribute"/>
103103
<!-- Delete CMS Page -->

0 commit comments

Comments
 (0)