File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
app/code/Magento/OrderCancellationUi/Test/Mftf/Test Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 81
81
<grabTextFrom selector =" {{CustomerOrderCancellationSection.referenceToLatestOrderId}}" stepKey =" getOrderId" />
82
82
83
83
<!-- Go to Admin Sales Order View Page-->
84
- <amOnPage url =" {{AdminSalesOrderViewPage.url({$getOrderId})}}" stepKey =" navigateToSalesOrderViewPage" />
84
+ <amOnPage url =" {{AdminOrdersPage.url}}" stepKey =" onOrdersPage" />
85
+ <waitForLoadingMaskToDisappear stepKey =" waitForLoadingMaskToDisappearOnOrdersPage" />
86
+ <actionGroup ref =" ClearFiltersAdminDataGridActionGroup" stepKey =" clearGridFilter" />
87
+ <fillField selector =" {{AdminOrdersGridSection.search}}" userInput =" {$getOrderId}" stepKey =" fillOrderNum" />
88
+ <click selector =" {{AdminOrdersGridSection.submitSearch}}" stepKey =" submitSearchOrderNum" />
89
+ <waitForLoadingMaskToDisappear stepKey =" waitForLoadingMaskToDisappearOnSearch" />
90
+ <actionGroup ref =" AdminOrderGridClickFirstRowActionGroup" stepKey =" navigateToSalesOrderViewPage" />
85
91
<waitForPageLoad stepKey =" waitForAdminSalesOrderViewPageLoad" />
86
92
<!-- Check Order History block-->
87
93
<waitForElementVisible selector =" {{AdminSalesOrderViewSection.orderHistoryNoteListFirstComment}}" stepKey =" waitForReteriveOrderCancellationReason" />
Original file line number Diff line number Diff line change 83
83
<grabTextFrom selector =" {{CustomerOrderCancellationSection.referenceToLatestOrderId}}" stepKey =" getOrderId" />
84
84
85
85
<!-- Go to Admin Sales Order View Page-->
86
- <amOnPage url =" {{AdminSalesOrderViewPage.url({$getOrderId})}}" stepKey =" navigateToSalesOrderViewPage" />
86
+ <amOnPage url =" {{AdminOrdersPage.url}}" stepKey =" onOrdersPage" />
87
+ <waitForLoadingMaskToDisappear stepKey =" waitForLoadingMaskToDisappearOnOrdersPage" />
88
+ <actionGroup ref =" ClearFiltersAdminDataGridActionGroup" stepKey =" clearGridFilter" />
89
+ <fillField selector =" {{AdminOrdersGridSection.search}}" userInput =" {$getOrderId}" stepKey =" fillOrderNum" />
90
+ <click selector =" {{AdminOrdersGridSection.submitSearch}}" stepKey =" submitSearchOrderNum" />
91
+ <waitForLoadingMaskToDisappear stepKey =" waitForLoadingMaskToDisappearOnSearch" />
92
+ <actionGroup ref =" AdminOrderGridClickFirstRowActionGroup" stepKey =" navigateToSalesOrderViewPage" />
87
93
<waitForPageLoad stepKey =" waitForAdminSalesOrderViewPageLoad" />
88
94
89
95
<!-- Check Order History block-->
You can’t perform that action at this time.
0 commit comments