File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed
app/code/Magento/Ui/Test/Mftf/ActionGroup Expand file tree Collapse file tree 2 files changed +42
-0
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
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
10
+ <actionGroup name =" AdminAddColumnToAdminGridActionGroup" >
11
+ <annotations >
12
+ <description value =" Adds column to admin grid" />
13
+ </annotations >
14
+ <arguments >
15
+ <argument name =" columnName" defaultValue =" Email" type =" string" />
16
+ </arguments >
17
+ <waitForElementVisible selector =" {{AdminDataGridHeaderSection.columnCheckbox(columnName)}}" stepKey =" verifyAdminGridColumnControlsForSelectedColumnVisible" />
18
+ <click selector =" {{AdminDataGridHeaderSection.columnCheckbox(columnName)}}" stepKey =" clickForAdminGridControlForSelectedColumn" />
19
+ <waitForElementVisible selector =" {{AdminGridHeaders.headerByName(columnName)}}" stepKey =" waitForAdminGridColumnHeaderForSelectedColumn" />
20
+ <click selector =" {{AdminGridColumnsControls.columns}}" stepKey =" reOpenAdminGridColumnControlsColumn" />
21
+ <waitForElementNotVisible selector =" {{AdminGridColumnsControls.columnName(columnName)}}" stepKey =" verifyAdminGridColumnControlsForSelectedColumnNotVisible" />
22
+ </actionGroup >
23
+ </actionGroups >
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 =" AdminOpenColumnActionDropDownForAdminGridActionGroup" >
12
+ <annotations >
13
+ <description >Opens column action drop down for admin grid</description >
14
+ </annotations >
15
+
16
+ <waitForElementVisible selector =" {{AdminGridColumnsControls.columns}}" stepKey =" waitForAdminGridColumnControlsColumn" />
17
+ <click selector =" {{AdminGridColumnsControls.columns}}" stepKey =" clickAdminGridColumnControlsColumn" />
18
+ </actionGroup >
19
+ </actionGroups >
You can’t perform that action at this time.
0 commit comments