File tree Expand file tree Collapse file tree 3 files changed +29
-13
lines changed
Sales/Test/Mftf/ActionGroup Expand file tree Collapse file tree 3 files changed +29
-13
lines changed Original file line number Diff line number Diff line change 31
31
<actionGroup ref =" AdminLoginActionGroup" stepKey =" adminLogin" />
32
32
<actionGroup ref =" AdminOrdersGridClearFiltersActionGroup" stepKey =" goToOrdersPage" />
33
33
<waitForLoadingMaskToDisappear stepKey =" waitAfterClearFilters" />
34
+ <actionGroup ref =" AdminGridColumnShowActionGroup" stepKey =" showCustomerEmailColumn" >
35
+ <argument name =" columnLabel" value =" Customer Email" />
36
+ </actionGroup >
34
37
<actionGroup ref =" AdminOrderChangeByCustomerEmailActionGroup" stepKey =" cancelOrders" >
35
38
<argument name =" customerEmail" value =" $$createSimpleUsCustomer.email$$" />
36
39
</actionGroup >
Original file line number Diff line number Diff line change 10
10
<actionGroup name =" AdminOrderChangeByCustomerEmailActionGroup" >
11
11
<annotations >
12
12
<description >
13
- Changes all orders found by Customer Email field.
13
+ Changes all orders found by Customer Email field on Admin Order Grid page .
14
14
</description >
15
15
</annotations >
16
16
<arguments >
17
17
<argument name =" customerEmail" type =" string" />
18
18
<argument name =" actionLabel" type =" string" defaultValue =" Cancel" />
19
19
</arguments >
20
20
21
- <!-- Show Customer Email column in the grid -->
22
- <click selector =" {{AdminDataGridHeaderSection.columnsToggle}}" stepKey =" openOrderColumns" />
23
- <checkOption
24
- selector =" {{AdminDataGridHeaderSection.columnCheckbox('Customer Email')}}"
25
- stepKey =" showCustomerEmailColumn"
26
- />
27
- <click selector =" {{AdminDataGridHeaderSection.columnsToggle}}" stepKey =" closeOrderColumns" />
28
- <seeElement
29
- selector =" {{AdminDataGridTableSection.columnHeader('Customer Email')}}"
30
- stepKey =" seeCustomerEmailColumnInGrid"
31
- />
32
-
33
21
<!-- Filter orders by Customer Email -->
34
22
<click selector =" {{AdminDataGridFilterSection.filterExpand}}" stepKey =" openOrderFilters" />
35
23
<fillField
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
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
10
+ <actionGroup name =" AdminGridColumnShowActionGroup" >
11
+ <annotations >
12
+ <description >
13
+ Shows new column on Admin Grid page.
14
+ </description >
15
+ </annotations >
16
+ <arguments >
17
+ <argument name =" columnLabel" type =" string" />
18
+ </arguments >
19
+
20
+ <click selector =" {{AdminDataGridHeaderSection.columnsToggle}}" stepKey =" openColumnsTab" />
21
+ <checkOption selector =" {{AdminDataGridHeaderSection.columnCheckbox(columnLabel)}}" stepKey =" showNewColumn" />
22
+ <click selector =" {{AdminDataGridHeaderSection.columnsToggle}}" stepKey =" closeColumnsTab" />
23
+ <seeElement selector =" {{AdminDataGridTableSection.columnHeader(columnLabel)}}" stepKey =" seeNewColumnInGrid" />
24
+ </actionGroup >
25
+ </actionGroups >
You can’t perform that action at this time.
0 commit comments