File tree 4 files changed +74
-0
lines changed
app/code/Magento/Ui/Test/Mftf
4 files changed +74
-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
+
9
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" AdminAssertGridRecordsPerPageNumberActionGroup" >
12
+ <annotations >
13
+ <description >Validates that the number of records per page on the Ui grid page is correct.</description >
14
+ </annotations >
15
+ <arguments >
16
+ <argument name =" number" type =" string" defaultValue =" {{GridCountPerPageData.defaultCountPerPage}}" />
17
+ </arguments >
18
+ <waitForElementVisible selector =" {{AdminDataGridPaginationSection.perPageDropDownValue}}" stepKey =" waitForDropdownVisible" />
19
+ <seeInField selector =" {{AdminDataGridPaginationSection.perPageDropDownValue}}" userInput =" {{number}}" stepKey =" seePerPageValueInDropDown" />
20
+ </actionGroup >
21
+ </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
+ <actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
10
+ <actionGroup name =" AdminGridGoToCustomPageNumberActionGroup" >
11
+ <annotations >
12
+ <description >Go to custom page of the admin grid.</description >
13
+ </annotations >
14
+ <arguments >
15
+ <argument name =" pageNumber" defaultValue =" 15" />
16
+ </arguments >
17
+ <waitForElementVisible selector =" {{AdminDataGridPaginationSection.currentPage}}" stepKey =" waitForInputVisible" />
18
+ <clearField selector =" {{AdminDataGridPaginationSection.currentPage}}" stepKey =" clearInput" />
19
+ <fillField selector =" {{AdminDataGridPaginationSection.currentPage}}" userInput =" {{pageNumber}}" stepKey =" fillPageNumber" />
20
+ <pressKey selector =" {{AdminDataGridPaginationSection.currentPage}}" parameterArray =" [\Facebook\WebDriver\WebDriverKeys::TAB]" stepKey =" unFocusField" />
21
+ <waitForPageLoad stepKey =" waitForPageLoad" />
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
+ <entities xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd" >
11
+ <entity name =" GridCountPerPageData" >
12
+ <data key =" customCountPerPage" >1</data >
13
+ <data key =" defaultCountPerPage" >32</data >
14
+ </entity >
15
+ </entities >
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
+ <entities xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd" >
11
+ <entity name =" GridPageNumberData" >
12
+ <data key =" page2" >2</data >
13
+ <data key =" page4" >4</data >
14
+ </entity >
15
+ </entities >
You can’t perform that action at this time.
0 commit comments