File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Paypal/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 94
94
<!-- Login to Paypal in-context and verify order total on paypal page-->
95
95
<actionGroup ref =" StorefrontLoginToPayPalPaymentAccountTwoStepActionGroup" stepKey =" loginToPayPal" />
96
96
<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" />
99
99
<!-- Navigate to Sales order page -->
100
100
<actionGroup ref =" AdminOrdersPageOpenActionGroup" stepKey =" navigateToSalesOrderPage" />
101
101
<!-- Open created order -->
You can’t perform that action at this time.
0 commit comments