Skip to content

Commit cb84c7a

Browse files
committed
MC-17869: Cart Total is shown as NaN when 100% discount applied through Cart Rule
- Added automated test script
1 parent c2d0a1d commit cb84c7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/SalesRule/Test/Mftf/Test/StorefrontCartTotalValueWithFullDiscountUsingCartRuleTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@
8888
<magentoCLI command="config:set tax/calculation/shipping_includes_tax 0" stepKey="unsetSippingPrice"/>
8989
<magentoCLI command="config:set tax/calculation/cross_border_trade_enabled 1" stepKey="unsetCrossBorderTrade"/>
9090
<magentoCLI command="config:set tax/calculation/discount_tax 0" stepKey="unsetDiscount"/>
91-
<magentoCLI command="config:set tax/cart_display/price 0" stepKey="unsetPrice"/>
92-
<magentoCLI command="config:set tax/cart_display/subtotal 0" stepKey="unsetSubtotal"/>
91+
<magentoCLI command="config:set tax/cart_display/price 1" stepKey="unsetPrice"/>
92+
<magentoCLI command="config:set tax/cart_display/subtotal 1" stepKey="unsetSubtotal"/>
9393
<magentoCLI command="config:set carriers/freeshipping/active 0" stepKey="unsetFreeShipping"/>
9494
<!-- Log out -->
9595
<actionGroup ref="logout" stepKey="logout"/>

0 commit comments

Comments
 (0)