Skip to content

Commit 8b2e5ba

Browse files
ACQE-5709 : Updated delete cart price rule
1 parent ba0e138 commit 8b2e5ba

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/code/Magento/Paypal/Test/Mftf/Test/StorefrontPaypalExpressCheckoutWithDiscountCouponTest.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@
3838
<magentoCLI command="config:set payment/paypal_express/active 0" stepKey="disablePayPalExpress"/>
3939
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
4040
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
41-
<actionGroup ref="DeleteCartPriceRuleByName" stepKey="deleteCartPriceRule">
42-
<argument name="ruleName" value="{{CatPriceRule.name}}"/>
43-
</actionGroup>
41+
<!-- Delete Cart Price Rule -->
42+
<deleteData createDataKey="createCartPriceRule" stepKey="deleteCartPriceRule"/>
4443
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
4544
</after>
4645
<!-- Login to StoreFront -->

0 commit comments

Comments
 (0)