Skip to content

Commit abfc583

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

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,10 @@
2929
<createData entity="SimpleSubCategory" stepKey="categoryEntity"/>
3030
</before>
3131
<after>
32-
<actionGroup ref="AdminProductCatalogPageOpenActionGroup" stepKey="openProductCatalogPage1"/>
33-
<actionGroup ref="AdminDeleteAllProductsFromGridActionGroup" stepKey="selectAndDeleteProducts"/>
34-
<actionGroup ref="ClearFiltersAdminProductGridActionGroup" stepKey="clearFilterFromProductIndex"/>
32+
<!-- Delete all products via API -->
33+
<helper class="Magento\Catalog\Test\Mftf\Helper\ProductApiHelper" method="deleteAllProductsApi" stepKey="deleteAllProductsViaApi"/>
3534
<deleteData stepKey="deleteSimpleSubCategory" createDataKey="initialCategoryEntity"/>
3635
<deleteData stepKey="deleteSimpleSubCategory2" createDataKey="categoryEntity"/>
37-
<deleteData createDataKey="initialVirtualProduct" stepKey="deleteProduct"/>
3836
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
3937
</after>
4038

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

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

0 commit comments

Comments
 (0)