File tree Expand file tree Collapse file tree 5 files changed +70
-0
lines changed
Backend/Test/Mftf/ActionGroup Expand file tree Collapse file tree 5 files changed +70
-0
lines changed Original file line number Diff line number Diff line change 11
11
<actionGroup name =" AdminFilterLegacyGridActionGroup" >
12
12
<arguments >
13
13
<argument name =" value" type =" string" />
14
+ <argument name =" field" type =" string" defaultValue =" {{AdminLegacyDataGridFilterSection.inputFieldByNameAttr('name')}}" />
14
15
<argument name =" button" type =" string" defaultValue =" {{AdminLegacyDataGridFilterSection.apply}}" />
15
16
</arguments >
17
+ <waitForElementVisible selector =" {{AdminLegacyDataGridFilterSection.clear}}" stepKey =" waitForResetFilters" />
16
18
<click selector =" {{AdminLegacyDataGridFilterSection.clear}}" stepKey =" resetFilters" />
17
19
<waitForPageLoad stepKey =" waitForFilterReset" />
18
20
<fillField selector =" {{field}}" userInput =" {{value}}" stepKey =" fillFieldInFilter" />
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 =" AdminNavigateToConfigurationSystemSectionActionGroup" >
12
+ <annotations >
13
+ <description >Navigates to the specified section in admin on the Stores > Settings > Configuration > Advanced > System page.</description >
14
+ </annotations >
15
+ <arguments >
16
+ <argument name =" section" defaultValue =" " type =" string" />
17
+ </arguments >
18
+ <amOnPage url =" {{AdminConfigSystemBySectionPage.url(section)}}" stepKey =" navigateToConfigurationSystemPage" />
19
+ </actionGroup >
20
+ </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
+ <pages xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
+ xsi:noNamespaceSchemaLocation=" urn:magento:mftf:Page/etc/PageObject.xsd" >
10
+ <page name =" AdminConfigSystemBySectionPage" url =" admin/system_config/edit/section/system/{{section}}" area =" admin" module =" Magento_Config" parameterized =" true" />
11
+ </pages >
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 =" AdminDownloadImportHistoryFileActionGroup" >
12
+ <annotations >
13
+ <description >Downloads the imported file for the specified row on the admin System > Data Transfer > Import History page.</description >
14
+ </annotations >
15
+ <arguments >
16
+ <argument name =" rowIndex" defaultValue =" 1" type =" string" />
17
+ </arguments >
18
+ <waitForElementVisible selector =" {{AdminImportHistorySection.downloadLink(rowIndex)}}" stepKey =" waitForDownloadLink" />
19
+ <click selector =" {{AdminImportHistorySection.downloadLink(rowIndex)}}" stepKey =" clickDownloadLink" />
20
+ <waitForPageLoad stepKey =" waitForDownload" />
21
+ </actionGroup >
22
+ </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
+ <sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/SectionObject.xsd" >
11
+ <section name =" AdminImportHistorySection" >
12
+ <element name =" downloadLink" type =" button" parameterized =" true" selector =" #importHistoryGrid_table tbody tr:nth-of-type({{rowIndex}}) [data-column=imported_file] a" />
13
+ <element name =" importedFileName" type =" text" parameterized =" true" selector =" #importHistoryGrid_table tbody tr:nth-of-type({{rowIndex}}) [data-column=imported_file] p" />
14
+ </section >
15
+ </sections >
You can’t perform that action at this time.
0 commit comments