File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
app/code/Magento/Config/Test/Mftf Expand file tree Collapse file tree 2 files changed +21
-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 =" ../../../../../../../dev/tests/acceptance/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/actionGroupSchema.xsd" >
11
+ <actionGroup name =" useStaticURLForMediaContentInWYSIWYGActionGroup" >
12
+ <amOnPage url =" {{ConfigurationStoresPage.url}}" stepKey =" navigateToWYSIWYGConfigPage1" />
13
+ <waitForPageLoad stepKey =" waitForPageLoad" />
14
+ <conditionalClick stepKey =" expandWYSIWYGOptions" selector =" {{ContentManagementSection.WYSIWYGOptions}}" dependentSelector =" {{ContentManagementSection.CheckIfTabExpand}}" visible =" true" />
15
+ <waitForElementVisible selector =" {{ContentManagementSection.EnableWYSIWYG}}" stepKey =" waitForEnableWYSIWYGDropdown1" />
16
+ <selectOption selector =" {{ContentManagementSection.StaticURL}}" userInput =" Yes" stepKey =" selectOption1" />
17
+ <click selector =" {{ContentManagementSection.WYSIWYGOptions}}" stepKey =" collapseWYSIWYGOptions" />
18
+ <click selector =" {{ContentManagementSection.Save}}" stepKey =" saveConfig" />
19
+ </actionGroup >
20
+ </actionGroups >
Original file line number Diff line number Diff line change 15
15
<element name =" EnableWYSIWYG" type =" button" selector =" #cms_wysiwyg_enabled" />
16
16
<element name =" SwitcherSystemValue" type =" button" selector =" #cms_wysiwyg_editor_inherit" />
17
17
<element name =" Switcher" type =" button" selector =" #cms_wysiwyg_editor" />
18
+ <element name =" StaticURL" type =" button" selector =" #cms_wysiwyg_use_static_urls_in_catalog" />
18
19
<element name =" Save" type =" button" selector =" #save" />
19
20
</section >
20
21
<section name =" WebSection" >
You can’t perform that action at this time.
0 commit comments