Skip to content

Commit 1b75f0c

Browse files
author
Hwashiang Yu
committed
MC-30175: UI component rendering config
- Resolved mftf test failure
1 parent 99924e5 commit 1b75f0c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Payment/Test/Mftf/ActionGroup/ApplyCouponOnPaymentPageActionGroup.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<fillField selector="{{ProductCardSection.addCode}}" userInput="{{couponCode}}" stepKey="TypeDiscountCode"/>
2121
<click selector="{{ProductCardSection.applyDiscount}}" stepKey="clickToApplyDiscount"/>
2222
<waitForPageLoad stepKey="WaitForDiscountToBeAdded"/>
23-
<see selector="{{ProductCardSection.discountVerificationMsg}}" userInput="Your coupon was successfully applied" stepKey="discountApplyMessage"/>
23+
<!-- Success message will change to display none so will check DOM instead -->
24+
<seeElementInDOM selector="{{ProductCardSection.discountSuccessMsgInDOM}}" stepKey="discountApplyMessage"/>
2425
</actionGroup>
2526
</actionGroups>

0 commit comments

Comments
 (0)