Skip to content

Commit c9e57f7

Browse files
committed
ACQE-8932:Verify cart price rule with product subselection quantity condition applies discount
- Edited action group
1 parent 5d99942 commit c9e57f7

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

app/code/Magento/SalesRule/Test/Mftf/ActionGroup/StorefrontAssertDiscountAmountOnPaymentPageActionGroup.xml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,17 @@
77
-->
88
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
10-
<actionGroup name="StorefrontAssertDiscountAmountOnPaymentPageActionGroup">
11-
<arguments>
12-
<argument name="discountPrice" type="string"/>
13-
</arguments>s
14-
<waitForElement selector="{{CheckoutPaymentSection.placeOrder}}" stepKey="waitForPlaceOrderButton"/>
15-
<grabTextFrom selector="{{CheckoutPaymentSection.discountPrice}}" stepKey="grabDiscountPrice"/>
16-
<assertEquals stepKey="checkRewardPoints">
17-
<expectedResult type="string">{{discountPrice}}</expectedResult>
18-
<actualResult type="string">{$grabDiscountPrice}</actualResult>
19-
</assertEquals>
20-
</actionGroup>
10+
<actionGroup name="StorefrontAssertDiscountAmountOnPaymentPageActionGroup">
11+
<arguments>
12+
<argument name="discountPrice" type="string"/>
13+
</arguments>
14+
15+
<waitForElement selector="{{CheckoutPaymentSection.placeOrder}}" stepKey="waitForPlaceOrderButton"/>
16+
<grabTextFrom selector="{{CheckoutPaymentSection.discountPrice}}" stepKey="grabDiscountPrice"/>
17+
<assertEquals stepKey="checkRewardPoints">
18+
<expectedResult type="string">{{discountPrice}}</expectedResult>
19+
<actualResult type="string">{$grabDiscountPrice}</actualResult>
20+
</assertEquals>
21+
22+
</actionGroup>
2123
</actionGroups>

0 commit comments

Comments
 (0)