Skip to content

Commit 94977a9

Browse files
committed
ACQE-8692: [MFTF TESTS] AdminRegisteredCustomerCheckoutUsingPayPalExpressCheckoutTest
- Add wait to load page and element
1 parent f6aa682 commit 94977a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Paypal/Test/Mftf/Test/AdminRegisteredCustomerCheckoutUsingPayPalExpressCheckoutTest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@
5353
<!-- Login to PayPal in-context and verify order total on PayPal page-->
5454
<actionGroup ref="StorefrontLoginToPayPalPaymentAccountTwoStepActionGroup" stepKey="loginToPayPal"/>
5555
<actionGroup ref="StorefrontPaypalSwitchBackToMagentoFromCheckoutPageActionGroup" stepKey="confirmPaymentAndGoBackToMagento"/>
56+
<waitForPageLoad stepKey="waitForPageLoadAfterPayment"/>
57+
<waitForElementVisible selector="{{CheckoutSuccessMainSection.orderNumber22}}" stepKey="waitForOrderNumberToBeGrabbed"/>
5658
<grabTextFrom selector="{{CheckoutSuccessMainSection.orderNumber22}}" stepKey="grabOrderNumber"/>
5759
<waitForText selector="{{CheckoutSuccessMainSection.success}}" userInput="{{CONST.successCheckoutEmailYouMessage}}" stepKey="seeSuccessMessage"/>
5860
<!-- Step6&7: Open order and verify amounts -->

0 commit comments

Comments
 (0)