File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
app/code/Magento/Sales/Test/Mftf Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 57
57
</actionGroup >
58
58
<actionGroup name =" SubmitCreditMemoActionGroup" >
59
59
<grabFromCurrentUrl regex =" ~/order_id/(\d+)/~" stepKey =" grabOrderId" />
60
- <waitForElementVisible selector =" {{AdminCreditMemoTotalSection.submitRefundOffline }}" stepKey =" waitButtonEnabled" />
61
- <click selector =" {{AdminCreditMemoTotalSection.submitRefundOffline }}" stepKey =" clickSubmitCreditMemo" />
60
+ <waitForElementVisible selector =" {{AdminCreditMemoTotalSection.submitRefundOfflineEnabled }}" stepKey =" waitButtonEnabled" />
61
+ <click selector =" {{AdminCreditMemoTotalSection.submitRefundOfflineEnabled }}" stepKey =" clickSubmitCreditMemo" />
62
62
<waitForElementVisible selector =" {{AdminMessagesSection.success}}" stepKey =" waitForMessageAppears" />
63
63
<see selector =" {{AdminMessagesSection.success}}" userInput =" You created the credit memo." stepKey =" seeCreditMemoCreateSuccess" />
64
64
<seeInCurrentUrl url =" {{AdminOrderDetailsPage.url}}$grabOrderId" stepKey =" seeViewOrderPageCreditMemo" />
Original file line number Diff line number Diff line change 19
19
<element name =" emailCopy" type =" checkbox" selector =" .order-totals-actions #send_email" />
20
20
<element name =" refundStoreCredit" type =" checkbox" selector =" .order-totals-actions .field-refund-store-credit input[type='checkbox']" />
21
21
<element name =" submitRefundOffline" type =" button" selector =" .order-totals-actions button[data-ui-id='order-items-submit-button']" timeout =" 60" />
22
+ <element name =" submitRefundOfflineEnabled" type =" button" selector =" .order-totals-actions button[data-ui-id='order-items-submit-button']:not(.disabled)" timeout =" 60" />
22
23
<element name =" creditMemoItem" type =" text" selector =" #sales_order_view_tabs_order_creditmemos" />
23
24
<element name =" viewMemo" type =" text" selector =" div#sales_order_view_tabs_order_creditmemos_content a.action-menu-item" />
24
25
<element name =" refundOffline" type =" button" selector =" .order-totals-actions button[data-ui-id='order-items-submit-offline']" />
You can’t perform that action at this time.
0 commit comments