Skip to content

Commit 3b0f8b0

Browse files
ACQE-8273: Products. Initial list of tests which do not delete products
- Updated test files to add proper product deletion.
1 parent 71b0d26 commit 3b0f8b0

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

app/code/Magento/Bundle/Test/Mftf/Test/AdminCreateAndEditBundleProductSettingsTest.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,12 @@
142142
<!-- Assert Gift Option product settings -->
143143
<actionGroup ref="StorefrontOpenCartFromMinicartActionGroup" stepKey="openCart"/>
144144
<dontSeeElement selector="{{StorefrontProductCartGiftOptionSection.giftOptions}}" stepKey="dontSeeGiftOptionBtn"/>
145+
146+
<!-- Delete created bundle product -->
147+
<actionGroup ref="DeleteProductUsingProductGridActionGroup" stepKey="deleteProduct">
148+
<argument name="product" value="BundleProduct"/>
149+
</actionGroup>
150+
<actionGroup ref="ResetAdminDataGridToDefaultViewActionGroup" stepKey="clearFilters"/>
145151
</test>
146152
</tests>
147153

app/code/Magento/Reports/Test/Mftf/Test/AdminLowStockProductTest.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
/**
4-
* Copyright 2024 Adobe
5-
* All Rights Reserved.
6-
*/
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
77
-->
88

99
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

0 commit comments

Comments
 (0)