We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99924e5 commit 1b75f0cCopy full SHA for 1b75f0c
app/code/Magento/Payment/Test/Mftf/ActionGroup/ApplyCouponOnPaymentPageActionGroup.xml
@@ -20,6 +20,7 @@
20
<fillField selector="{{ProductCardSection.addCode}}" userInput="{{couponCode}}" stepKey="TypeDiscountCode"/>
21
<click selector="{{ProductCardSection.applyDiscount}}" stepKey="clickToApplyDiscount"/>
22
<waitForPageLoad stepKey="WaitForDiscountToBeAdded"/>
23
- <see selector="{{ProductCardSection.discountVerificationMsg}}" userInput="Your coupon was successfully applied" stepKey="discountApplyMessage"/>
+ <!-- Success message will change to display none so will check DOM instead -->
24
+ <seeElementInDOM selector="{{ProductCardSection.discountSuccessMsgInDOM}}" stepKey="discountApplyMessage"/>
25
</actionGroup>
26
</actionGroups>
0 commit comments