Skip to content

Commit bdc8a22

Browse files
authored
ACQE-7132 | [MFTF TESTS] AdminCheckoutUsingPaypalInContextWithDifferentCurrenciesTest
1 parent cfdb599 commit bdc8a22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@
9494
<!-- Login to Paypal in-context and verify order total on paypal page-->
9595
<actionGroup ref="StorefrontLoginToPayPalPaymentAccountTwoStepActionGroup" stepKey="loginToPayPal"/>
9696
<actionGroup ref="StorefrontPaypalSwitchBackToMagentoFromCheckoutPageActionGroup" stepKey="confirmPaymentAndGoBackToMagento"/>
97-
<waitForElementVisible selector="{{CheckoutSuccessMainSection.orderNumber22}}" stepKey="waitForOrderNumberToBeGrabbed"/>
98-
<grabTextFrom selector="{{CheckoutSuccessMainSection.orderNumber22}}" stepKey="grabOrderNumber"/>
97+
<click selector="{{CustomerOrderCancellationSection.linkToOpenViewOrder}}" stepKey="clickOnLinkToViewOrder"/>
98+
<grabFromCurrentUrl regex="~/order_id/(\d+)/~" stepKey="grabOrderNumber"/>
9999
<!-- Navigate to Sales order page -->
100100
<actionGroup ref="AdminOrdersPageOpenActionGroup" stepKey="navigateToSalesOrderPage"/>
101101
<!-- Open created order -->

0 commit comments

Comments
 (0)