Skip to content

Commit 110dbd5

Browse files
ACQE-5709 : Updated cart price rule deletion
1 parent 53bd3d8 commit 110dbd5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@
5151
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
5252
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
5353
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
54-
<deleteData createDataKey="createCartPriceRule" stepKey="deleteCartPriceRule"/>
54+
<actionGroup ref="DeleteCartPriceRuleByName" stepKey="deleteCartPriceRule">
55+
<argument name="ruleName" value="{{CatPriceRule.name}}"/>
56+
</actionGroup>
5557
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
5658
</after>
5759
<!-- Login to StoreFront -->

0 commit comments

Comments
 (0)