Skip to content

Commit da75613

Browse files
authored
ACQE-7132 | [MFTF TESTS] AdminCheckoutUsingPaypalInContextWithDifferentCurrenciesTest
1 parent fb7dfd9 commit da75613

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,10 @@
9696
<actionGroup ref="StorefrontPaypalSwitchBackToMagentoFromCheckoutPageActionGroup" stepKey="confirmPaymentAndGoBackToMagento"/>
9797
<waitForElementVisible selector="{{CheckoutSuccessMainSection.orderNumber22}}" stepKey="waitForOrderNumberToBeGrabbed"/>
9898
<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"/>
104101
<actionGroup ref="AdminOpenOrderByEntityIdActionGroup" stepKey="navigateToSalesOrderViewPage">
105-
<argument name="entityId" value="{$getOrderId}"/>
102+
<argument name="entityId" value="{$orderId}"/>
106103
</actionGroup>
107104
<waitForPageLoad stepKey="waitForAdminSalesOrderViewPageLoad"/>
108105
<!--Verify Success Message-->

0 commit comments

Comments
 (0)