File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Config Expand file tree Collapse file tree 2 files changed +37
-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 =" ../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" ConfigAminAccountSharingActionGroup" >
12
+ <amOnPage url =" admin/admin/system_config/edit/section/admin/" stepKey =" navigateToConfigurationPage" />
13
+ <waitForPageLoad stepKey =" wait1" />
14
+ <conditionalClick stepKey =" expandSecurityTab" selector =" {{AdminSection.SecurityTab}}" dependentSelector =" {{AdminSection.CheckIfTabExpand}}" visible =" true" />
15
+ <waitForElementVisible selector =" {{AdminSection.AdminAccountSharing}}" stepKey =" waitForAdminAccountSharingDrpDown" />
16
+ <selectOption selector =" {{AdminSection.AdminAccountSharing}}" userInput =" Yes" stepKey =" selectYes" />
17
+ <click selector =" {{AdminSection.SecurityTab}}" stepKey =" clollapseSecurityTab" />
18
+ <click selector =" {{ContentManagementSection.Save}}" stepKey =" saveConfig" />
19
+ </actionGroup >
20
+ </actionGroups >
21
+
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 =" ../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd" >
11
+ <section name =" AdminSection" >
12
+ <element name =" CheckIfTabExpand" type =" button" selector =" #admin_security-head:not(.open)" />
13
+ <element name =" SecurityTab" type =" button" selector =" #admin_security-head" />
14
+ <element name =" AdminAccountSharing" type =" button" selector =" #admin_security_admin_account_sharing" />
15
+ </section >
16
+ </sections >
You can’t perform that action at this time.
0 commit comments