Skip to content

Commit 08a7bd1

Browse files
Chhandak.BaruaChhandak.Barua
authored andcommitted
ACP2E-285: Add to cart failed when cart total is zero and cart price rule is Fixed amount discount for whole cart
1 parent aa3d424 commit 08a7bd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
<selectOption selector="{{AdminCartPriceRulesFormSection.apply}}" userInput="Fixed amount discount for whole cart" stepKey="selectActionType"/>
5050
<fillField selector="{{AdminCartPriceRulesFormSection.discountAmount}}" userInput="50" stepKey="fillDiscountAmount"/>
5151
<click selector="{{AdminCartPriceRulesFormSection.save}}" stepKey="clickSaveButton"/>
52-
52+
<see selector="{{AdminCartPriceRulesSection.messages}}" userInput="You saved the rule." stepKey="seeSuccessMessage"/>
53+
5354
<!-- Create a product to check the storefront -->
5455
<actionGroup ref="FillAdminSimpleProductFormWithZeroPriceActionGroup" stepKey="fillProductFieldsInAdmin">
5556
<argument name="simpleProduct" value="_defaultProduct"/>

0 commit comments

Comments
 (0)