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 1010 xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
1111 <actionGroup name =" SubmitCreditMemoActionGroup" >
1212 <grabFromCurrentUrl regex =" ~/order_id/(\d+)/~" stepKey =" grabOrderId" />
13- <waitForElementVisible selector =" {{AdminCreditMemoTotalSection.submitRefundOffline }}" stepKey =" waitButtonEnabled" />
14- <click selector =" {{AdminCreditMemoTotalSection.submitRefundOffline }}" stepKey =" clickSubmitCreditMemo" />
13+ <waitForElementVisible selector =" {{AdminCreditMemoTotalSection.submitRefundOfflineEnabled }}" stepKey =" waitButtonEnabled" />
14+ <click selector =" {{AdminCreditMemoTotalSection.submitRefundOfflineEnabled }}" stepKey =" clickSubmitCreditMemo" />
1515 <waitForElementVisible selector =" {{AdminMessagesSection.success}}" stepKey =" waitForMessageAppears" />
1616 <see selector =" {{AdminMessagesSection.success}}" userInput =" You created the credit memo." stepKey =" seeCreditMemoCreateSuccess" />
1717 <seeInCurrentUrl url =" {{AdminOrderDetailsPage.url}}$grabOrderId" stepKey =" seeViewOrderPageCreditMemo" />
Original file line number Diff line number Diff line change 1919 <element name =" emailCopy" type =" checkbox" selector =" .order-totals-actions #send_email" />
2020 <element name =" refundStoreCredit" type =" checkbox" selector =" .order-totals-actions .field-refund-store-credit input[type='checkbox']" />
2121 <element name =" submitRefundOffline" type =" button" selector =" .order-totals-actions button[data-ui-id='order-items-submit-button']" timeout =" 30" />
22+ <element name =" submitRefundOfflineEnabled" type =" button" selector =" .order-totals-actions button[data-ui-id='order-items-submit-button']:not(.disabled)" timeout =" 60" />
2223 <element name =" creditMemoItem" type =" text" selector =" #sales_order_view_tabs_order_creditmemos" />
2324 <element name =" viewMemo" type =" text" selector =" div#sales_order_view_tabs_order_creditmemos_content a.action-menu-item" />
2425 <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