Skip to content

Commit f1c4dfd

Browse files
ACQE-8283: [MFTF TESTS] AdminAddUpdateDeleteWidgetOfTypeCatalogProductLinkTypeTest
- Added step to delete the all products.
1 parent edee5b1 commit f1c4dfd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Cms/Test/Mftf/Test/AdminAddUpdateDeleteWidgetOfTypeCatalogProductLinkTypeTest.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,16 @@
1919
</annotations>
2020

2121
<before>
22+
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
23+
<!-- Delete old products -->
24+
<actionGroup ref="DeleteAllProductsUsingProductGridActionGroup" stepKey="deleteAllProducts"/>
2225
<createData entity="_defaultCategory" stepKey="createPreReqCategory"/>
2326
<createData entity="_defaultProduct" stepKey="createPreReqProduct1">
2427
<requiredEntity createDataKey="createPreReqCategory"/>
2528
</createData>
2629
<createData entity="_defaultProduct" stepKey="createPreReqProduct2">
2730
<requiredEntity createDataKey="createPreReqCategory"/>
2831
</createData>
29-
<actionGroup ref="AdminLoginActionGroup" stepKey="login"/>
3032
</before>
3133

3234
<!--Main test-->

0 commit comments

Comments
 (0)