File tree Expand file tree Collapse file tree 3 files changed +59
-0
lines changed
app/code/Magento/ImportExport/Test/Mftf Expand file tree Collapse file tree 3 files changed +59
-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 =" AdminAssertVisiblePagerActionGroup" >
12
+ <see selector =" .admin__data-grid-header .admin__control-support-text" userInput =" records found" stepKey =" seeRecordsLabel" />
13
+ <seeElement selector =" .admin__data-grid-header div.admin__data-grid-pager-wrap" stepKey =" seeGridPager" />
14
+ </actionGroup >
15
+ </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 =" AdminNavigateToExportPageActionGroup" >
12
+ <amOnPage url =" {{AdminExportIndexPage.url}}" stepKey =" navigateToExportPage" />
13
+ <waitForPageLoad stepKey =" waitForExportPageOpened" />
14
+ </actionGroup >
15
+ </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
+ <tests xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/testSchema.xsd" >
11
+ <test name =" AdminExportPagerGridTest" >
12
+ <annotations >
13
+ <features value =" ImportExport" />
14
+ <stories value =" Export Grid" />
15
+ <title value =" Testing if the grid is present on export page" />
16
+ <description value =" Admin should be able to see the grid onn export page" />
17
+ <severity value =" CRITICAL" />
18
+ <group value =" importExport" />
19
+ </annotations >
20
+ <before >
21
+ <actionGroup ref =" LoginAsAdmin" stepKey =" LoginAsAdmin" />
22
+ </before >
23
+ <after >
24
+ <actionGroup ref =" logout" stepKey =" logout" />
25
+ </after >
26
+ <actionGroup ref =" AdminNavigateToExportPageActionGroup" stepKey =" navigateToExportPage" />
27
+ <actionGroup ref =" AdminAssertVisiblePagerActionGroup" stepKey =" seeGridPager" />
28
+ </test >
29
+ </tests >
You can’t perform that action at this time.
0 commit comments