Skip to content

Commit db35779

Browse files
committed
AC-233: Refactor core MFTF TinyMCE ActionGroup
Changed file name
1 parent f15c1ae commit db35779

9 files changed

+18
-61
lines changed

app/code/Magento/Catalog/Test/Mftf/Data/WYSIWYGConfigData.xml

Lines changed: 0 additions & 29 deletions
This file was deleted.

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateTextEditorProductAttributeTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</annotations>
2121
<before>
2222
<!-- Enable WYSIWYG editor -->
23-
<magentoCLI command="config:set {{EnableWYSIWYG.path}} {{EnableWYSIWYG.value}}" stepKey="enableWYSIWYG"/>
23+
<magentoCLI command="config:set {{WysiwygEnabledByDefault.path}} {{WysiwygEnabledByDefault.value}}" stepKey="enableWYSIWYG"/>
2424

2525
<!-- Enable TinyMCE 4 -->
2626
<actionGroup ref="CliEnableTinyMCEActionGroup" stepKey="switchToTinyMCE" >

app/code/Magento/Catalog/Test/Mftf/Test/VerifyTinyMCEv4IsNativeWYSIWYGOnCatalogTest.xml renamed to app/code/Magento/Catalog/Test/Mftf/Test/VerifyTinyMCEIsNativeWYSIWYGOnCatalogTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
11-
<test name="VerifyTinyMCEv4IsNativeWYSIWYGOnCatalogTest">
11+
<test name="VerifyTinyMCEIsNativeWYSIWYGOnCatalogTest">
1212
<annotations>
1313
<features value="Catalog"/>
1414
<stories value="MAGETWO-72137-Apply new WYSIWYG on Categories Page"/>

app/code/Magento/Catalog/Test/Mftf/Test/VerifyTinyMCEv4IsNativeWYSIWYGOnProductTest.xml renamed to app/code/Magento/Catalog/Test/Mftf/Test/VerifyTinyMCEIsNativeWYSIWYGOnProductTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
10-
<test name="VerifyTinyMCEv4IsNativeWYSIWYGOnProductTest">
10+
<test name="VerifyTinyMCEIsNativeWYSIWYGOnProductTest">
1111
<annotations>
1212
<features value="Catalog"/>
1313
<stories value="MAGETWO-72114-TinyMCE v4.6 as a native WYSIWYG editor"/>

app/code/Magento/Cms/Test/Mftf/Data/WysiwygConfigData.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,16 @@
1818
<data key="scope_id">0</data>
1919
<data key="value">disabled</data>
2020
</entity>
21+
<entity name="EnableTinyMCE4">
22+
<data key="path">cms/wysiwyg/editor</data>
23+
<data key="scope_id">0</data>
24+
<data key="label">Yes</data>
25+
<data key="value">mage/adminhtml/wysiwyg/tiny_mce/tinymce4Adapter</data>
26+
</entity>
27+
<entity name="TinyMCE">
28+
<data key="path">cms/wysiwyg/editor</data>
29+
<data key="scope_id">0</data>
30+
<data key="label">Yes</data>
31+
<data key="value">mage/adminhtml/wysiwyg/tiny_mce/tinymce4Adapter</data>
32+
</entity>
2133
</entities>

app/code/Magento/Cms/Test/Mftf/Test/VerifyTinyMCEv4IsNativeWYSIWYGOnBlockTest.xml renamed to app/code/Magento/Cms/Test/Mftf/Test/VerifyTinyMCEIsNativeWYSIWYGOnBlockTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
11-
<test name="VerifyTinyMCEv4IsNativeWYSIWYGOnBlockTest">
11+
<test name="VerifyTinyMCEIsNativeWYSIWYGOnBlockTest">
1212
<annotations>
1313
<features value="Cms"/>
1414
<stories value="MAGETWO-42046-Apply new WYSIWYG on CMS Page and Block"/>

app/code/Magento/Cms/Test/Mftf/Test/VerifyTinyMCEv4IsNativeWYSIWYGOnCMSPageTest.xml renamed to app/code/Magento/Cms/Test/Mftf/Test/VerifyTinyMCEIsNativeWYSIWYGOnCMSPageTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
11-
<test name="VerifyTinyMCEv4IsNativeWYSIWYGOnCMSPageTest">
11+
<test name="VerifyTinyMCEIsNativeWYSIWYGOnCMSPageTest">
1212
<annotations>
1313
<features value="Cms"/>
1414
<stories value="MAGETWO-42046-Apply new WYSIWYG on CMS Page"/>

app/code/Magento/Config/Test/Mftf/ActionGroup/SwitcherActionGroup.xml

Lines changed: 0 additions & 26 deletions
This file was deleted.

app/code/Magento/Newsletter/Test/Mftf/Test/VerifyTinyMCEv4IsNativeWYSIWYGOnNewsletterTest.xml renamed to app/code/Magento/Newsletter/Test/Mftf/Test/VerifyTinyMCEIsNativeWYSIWYGOnNewsletterTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
10-
<test name="VerifyTinyMCEv4IsNativeWYSIWYGOnNewsletterTest">
10+
<test name="VerifyTinyMCEIsNativeWYSIWYGOnNewsletterTest">
1111
<annotations>
1212
<features value="Newsletter"/>
1313
<stories value="MAGETWO-47309-Apply new WYSIWYG in Newsletter"/>

0 commit comments

Comments
 (0)