Skip to content

Commit d4226c7

Browse files
committed
AC-233: Refactor core MFTF TinyMCE ActionGroup
Renamed test file
1 parent d0b40d3 commit d4226c7

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

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 {{WysiwygEnabledByDefault.path}} {{WysiwygEnabledByDefault.value}}" stepKey="enableWYSIWYG"/>
23+
<actionGroup ref="EnabledWYSIWYGActionGroup" stepKey="enableWYSIWYG"/>
2424

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
<description>Enables the WYSIWYG Editor via the CLI.</description>
1414
</annotations>
1515

16-
<magentoCLI stepKey="enableWYSIWYG" command="config:set cms/wysiwyg/enabled enabled"/>
16+
<magentoCLI stepKey="enableWYSIWYG" command="config:set {{WysiwygEnabledByDefault.path}} {{WysiwygEnabledByDefault.value}}"/>
1717
</actionGroup>
1818
</actionGroups>

app/code/Magento/MediaGalleryCatalogUi/Test/Mftf/Test/AdminMediaGalleryCatalogUiUsedInProductFilterOnTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</annotations>
2121

2222
<before>
23-
<magentoCLI command="config:set {{WysiwygEnabledByDefault.path}} {{WysiwygEnabledByDefault.value}}" stepKey="enableWYSIWYG"/>
23+
<actionGroup ref="EnabledWYSIWYGActionGroup" stepKey="enableWYSIWYG"/>
2424
<createData entity="SimpleProduct2" stepKey="createProduct"/>
2525
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
2626
</before>

0 commit comments

Comments
 (0)