Skip to content

Commit

Permalink
ENGCOM-6780: #26612 Fix failure on Coupon Apply procedure when loadin…
Browse files Browse the repository at this point in the history
…g mask still visible #26614
  • Loading branch information
slavvka committed Feb 7, 2020
2 parents 92f3a0c + 66404d9 commit 74ee21b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<argument name="shippingMethod" value="Flat Rate"/>
</actionGroup>

<!-- Click Apply Discount Code: section is expanded. Input promo code, apply and see success message -->
<!-- Click Apply Discount Code: section is expanded. Input promo code, apply and see success message -->
<actionGroup ref="StorefrontApplyDiscountCodeActionGroup" stepKey="applyCoupon">
<argument name="discountCode" value="$$createCouponForCartPriceRule.code$$"/>
</actionGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<fillField selector="{{DiscountSection.DiscountInput}}" userInput="{{discountCode}}" stepKey="fillFieldDiscountCode"/>
<click selector="{{DiscountSection.ApplyCodeBtn}}" stepKey="clickToApplyDiscount"/>
<waitForElement selector="{{DiscountSection.DiscountVerificationMsg}}" time="30" stepKey="waitForDiscountToBeAdded"/>
<waitForLoadingMaskToDisappear stepKey="waitForLoadingFinished"/>
<see selector="{{DiscountSection.DiscountVerificationMsg}}" userInput="Your coupon was successfully applied" stepKey="assertDiscountApplyMessage"/>
</actionGroup>
</actionGroups>

0 comments on commit 74ee21b

Please sign in to comment.