File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
app/code/Magento/Paypal/Test/Mftf/Test Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 96
96
<actionGroup ref =" StorefrontPaypalSwitchBackToMagentoFromCheckoutPageActionGroup" stepKey =" confirmPaymentAndGoBackToMagento" />
97
97
<waitForElementVisible selector =" {{CheckoutSuccessMainSection.orderNumber22}}" stepKey =" waitForOrderNumberToBeGrabbed" />
98
98
<grabTextFrom selector =" {{CheckoutSuccessMainSection.orderNumber22}}" stepKey =" grabOrderNumber" />
99
- <!-- open order view page -->
100
- <click selector =" {{CheckoutSuccessMainSection.linkToOpenViewOrder}}" stepKey =" clickOnLinkToViewOrder" />
101
- <!-- Grab Order Id for later usage-->
102
- <grabFromCurrentUrl regex =" ~/order_id/(\d+)/~" stepKey =" getOrderId" />
103
- <!-- Go to Admin Sales Order View Page-->
99
+ <grabFromCurrentUrl regex =" ~/order_id/(\d+)/~" stepKey =" orderId" />
100
+ <actionGroup ref =" AdminOrdersPageOpenActionGroup" stepKey =" goToOrders" />
104
101
<actionGroup ref =" AdminOpenOrderByEntityIdActionGroup" stepKey =" navigateToSalesOrderViewPage" >
105
- <argument name =" entityId" value =" {$getOrderId }" />
102
+ <argument name =" entityId" value =" {$orderId }" />
106
103
</actionGroup >
107
104
<waitForPageLoad stepKey =" waitForAdminSalesOrderViewPageLoad" />
108
105
<!-- Verify Success Message-->
You can’t perform that action at this time.
0 commit comments