File tree Expand file tree Collapse file tree 4 files changed +53
-0
lines changed
app/code/Magento/Paypal/etc/adminhtml
dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Paypal Expand file tree Collapse file tree 4 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 32
32
</group >
33
33
<group id =" other_payment_methods" translate =" label" sortOrder =" 4" showInDefault =" 1" showInWebsite =" 1" showInStore =" 1" >
34
34
<label >Other Payment Methods:</label >
35
+ <attribute type =" expanded" >1</attribute >
35
36
<fieldset_css >paypal-top-section payments-other-header</fieldset_css >
36
37
<frontend_model >\Magento\Config\Block\System\Config\Form\Fieldset</frontend_model >
37
38
</group >
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" xsi : noNamespaceSchemaLocation =" ../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/PageObject.xsd" >
9
+ <page name =" AdminConfigPaymentMethodsPage" url =" admin/system_config/edit/section/payment/" area =" admin" module =" Magento_Config" >
10
+ <section name =" OtherPaymentsConfigSection" />
11
+ </page >
12
+ </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
+ <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 =" OtherPaymentsConfigSection" >
12
+ <element name =" expandedTab" type =" button" selector =" #payment_us_other_payment_methods-head.open" />
13
+ </section >
14
+ </sections >
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 =" ../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd" >
11
+ <test name =" AdminConfigPaymentsSectionState" >
12
+ <annotations >
13
+ <description value =" Other Payment Methods section in Admin expanded by default" />
14
+ <severity value =" AVERAGE" />
15
+ <testCaseId value =" MAGETWO-92043" />
16
+ </annotations >
17
+ <after >
18
+ <amOnPage url =" admin/admin/auth/logout/" stepKey =" amOnLogoutPage" />
19
+ </after >
20
+
21
+ <actionGroup ref =" LoginAsAdmin" stepKey =" loginAsAdmin1" />
22
+ <amOnPage url =" {{AdminConfigPaymentMethodsPage.url}}" stepKey =" navigateToConfigurationPage" />
23
+ <waitForPageLoad stepKey =" waitForPageLoad1" />
24
+ <seeElement selector =" {{OtherPaymentsConfigSection.expandedTab}}" stepKey =" seeSectionExpanded" />
25
+ </test >
26
+ </tests >
You can’t perform that action at this time.
0 commit comments