File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed
app/code/Magento/Sales/Test/Mftf Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+
9
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" AdminStartCreateCreditMemoFromOrderPageActionGroup" >
12
+ <annotations >
13
+ <description >Start to create Credit Memo from order page</description >
14
+ </annotations >
15
+ <click selector =" {{AdminOrderDetailsMainActionsSection.creditMemo}}" stepKey =" clickCreditMemoButton" />
16
+ <conditionalClick selector =" {{AdminConfirmationModalSection.ok}}" dependentSelector =" {{AdminConfirmationModalSection.ok}}"
17
+ visible =" true" stepKey =" acceptModal" />
18
+ <waitForPageLoad time =" 30" stepKey =" waitPageLoaded" />
19
+ <seeInCurrentUrl url =" {{AdminCreditMemoNewPage.url}}" stepKey =" seeNewCreditMemoUrl" />
20
+ <see selector =" {{AdminHeaderSection.pageTitle}}" userInput =" New Memo" stepKey =" seeNewCreditMemoPageTitle" />
21
+ </actionGroup >
22
+ </actionGroups >
Original file line number Diff line number Diff line change 18
18
<element name =" appendComments" type =" checkbox" selector =" .order-totals-actions #notify_customer" />
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
- <element name =" submitRefundOffline" type =" button" selector =" .order-totals-actions button[data-ui-id='order-items-submit-button']" timeout =" 30 " />
21
+ <element name =" submitRefundOffline" type =" button" selector =" .order-totals-actions button[data-ui-id='order-items-submit-button']" timeout =" 60 " />
22
22
<element name =" creditMemoItem" type =" text" selector =" #sales_order_view_tabs_order_creditmemos" />
23
23
<element name =" viewMemo" type =" text" selector =" div#sales_order_view_tabs_order_creditmemos_content a.action-menu-item" />
24
24
<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