File tree Expand file tree Collapse file tree 2 files changed +7
-16
lines changed
Sales/Test/Mftf/ActionGroup Expand file tree Collapse file tree 2 files changed +7
-16
lines changed Original file line number Diff line number Diff line change 34
34
<actionGroup ref =" AdminGridColumnShowActionGroup" stepKey =" showCustomerEmailColumn" >
35
35
<argument name =" columnLabel" value =" Customer Email" />
36
36
</actionGroup >
37
- <actionGroup ref =" AdminOrderChangeByCustomerEmailActionGroup" stepKey =" cancelOrders" >
38
- <argument name =" customerEmail" value =" $$createSimpleUsCustomer.email$$" />
37
+ <actionGroup ref =" AdminGridFilterFillInputFieldActionGroup" stepKey =" filterOrdersByCustomerEmail" >
38
+ <argument name =" filterInputName" value =" customer_email" />
39
+ <argument name =" filterValue" value =" $$createSimpleUsCustomer.email$$" />
39
40
</actionGroup >
41
+ <actionGroup ref =" AdminGridFilterApplyActionGroup" stepKey =" applyFilters" />
42
+ <actionGroup ref =" AdminOrderBulkActionOnGridActionGroup" stepKey =" cancelOrders" />
40
43
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" adminLogout" />
41
44
42
45
<!-- Logout from customer account-->
Original file line number Diff line number Diff line change 7
7
-->
8
8
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
9
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
10
- <actionGroup name =" AdminOrderChangeByCustomerEmailActionGroup " >
10
+ <actionGroup name =" AdminOrderBulkActionOnGridActionGroup " >
11
11
<annotations >
12
12
<description >
13
- Changes all orders found by Customer Email field on Admin Order Grid page.
13
+ Massive action for all rows on Admin Order Grid page.
14
14
</description >
15
15
</annotations >
16
16
<arguments >
17
- <argument name =" customerEmail" type =" string" />
18
17
<argument name =" actionLabel" type =" string" defaultValue =" Cancel" />
19
18
</arguments >
20
19
21
- <!-- Filter orders by Customer Email -->
22
- <click selector =" {{AdminDataGridFilterSection.filterExpand}}" stepKey =" openOrderFilters" />
23
- <fillField
24
- selector =" {{AdminDataGridFilterSection.inputFieldByNameAttr('customer_email')}}"
25
- userInput =" {{customerEmail}}"
26
- stepKey =" fillCustomerEmailFilter"
27
- />
28
- <click selector =" {{AdminDataGridFilterSection.apply}}" stepKey =" applyOrderFilters" />
29
- <waitForLoadingMaskToDisappear stepKey =" waitAfterApplyFilters" />
30
-
31
- <!-- Change found orders -->
32
20
<click selector =" {{AdminGridSelectRows.multicheckDropdown}}" stepKey =" openMulticheckDropdown" />
33
21
<click selector =" {{AdminGridSelectRows.multicheckOption('Select All')}}" stepKey =" selectAllOrders" />
34
22
<click selector =" {{AdminGridSelectRows.bulkActionDropdown}}" stepKey =" clickActionDropdown" />
You can’t perform that action at this time.
0 commit comments