Skip to content

Commit 51e5552

Browse files
committed
AC-233: Refactor core MFTF TinyMCE ActionGroup
Remove duplicate Wysiwyg entity data
1 parent 7af5c33 commit 51e5552

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderTextTest/TextDataConsistencyBetweenTextEditorTestWithoutTinyMCE3Test.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<annotations>
1212
<features value="PageBuilder"/>
1313
<stories value="Text"/>
14-
<title value="Data consistency between TextArea, TinyMCE4, TinyMCE4 in PageBuilder stage"/>
14+
<title value="Data consistency between TextArea, TinyMCE, TinyMCE in PageBuilder stage"/>
1515
<description value="Verify data consistent when switching between TinyMCE versions and TextArea"/>
1616
<severity value="AVERAGE"/>
1717
<useCaseId value="MC-36390"/>
@@ -87,7 +87,7 @@
8787
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
8888
<actionGroup ref="exitPageBuilderFullScreen" stepKey="exitPageBuilderFullScreen2"/>
8989
<actionGroup ref="SaveAndContinueEditCmsPageActionGroup" stepKey="saveAndContinueEditCmsPage3" after="exitPageBuilderFullScreen2"/>
90-
<!-- Switch to TinyMCE4 -->
90+
<!-- Switch to TinyMCE -->
9191
<comment userInput="Switch to TinyMCE " stepKey="comment4"/>
9292
<magentoCLI command="config:set cms/wysiwyg/enabled enabled" stepKey="enableWYSIWYG"/>
9393
<actionGroup ref="CliEnableTinyMCEActionGroup" stepKey="switchToTinyMCE" >
@@ -136,14 +136,14 @@
136136
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings1"/>
137137
<actionGroup ref="exitPageBuilderFullScreen" stepKey="exitPageBuilderFullScreen4"/>
138138
<actionGroup ref="SaveAndContinueEditCmsPageActionGroup" stepKey="saveAndContinueEditCmsPage5" after="exitPageBuilderFullScreen4"/>
139-
<!-- Switch to TinyMCE4 -->
139+
<!-- Switch to TinyMCE -->
140140
<comment userInput="Switch to TinyMCE " stepKey="comment9"/>
141141
<magentoCLI command="config:set cms/wysiwyg/enabled enabled" stepKey="enableWYSIWYG1"/>
142142
<actionGroup ref="CliEnableTinyMCEActionGroup" stepKey="switchToTinyMCE2" >
143143
<argument name="TinyMCEValue" value="{{TinyMCE.value}}"/>
144144
</actionGroup>
145-
<!-- Verify image on TinyMCE4 -->
146-
<comment userInput="Verify data on TinyMCE4" stepKey="comment10"/>
145+
<!-- Verify image on TinyMCE -->
146+
<comment userInput="Verify data on TinyMCE" stepKey="comment10"/>
147147
<reloadPage stepKey="reloadPage3"/>
148148
<waitForPageLoad stepKey="waitForPageToBeLoaded3"/>
149149
<actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage4_2"/>

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderTextTest/TextVerifySelectionInlineWYSIWYG.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<annotations>
1212
<features value="PageBuilder"/>
1313
<stories value="Text"/>
14-
<title value="TinyMCE4 selection is preserved after initiation"/>
14+
<title value="TinyMCE selection is preserved after initiation"/>
1515
<description value="Verify that a users selection is not lost between select and initiation"/>
1616
<severity value="AVERAGE"/>
1717
<useCaseId value="PB-170"/>

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderTextTest/TextVerifyTinyMCE4ToolbarOnPageBuilderStageTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<annotations>
1212
<features value="PageBuilder"/>
1313
<stories value="Text"/>
14-
<title value="TinyMCE4 toolbar on PageBuilder stage"/>
14+
<title value="TinyMCE toolbar on PageBuilder stage"/>
1515
<description value="Verify buttons on WYSIWYG toolbar inside PageBuilder"/>
1616
<severity value="MAJOR"/>
1717
<useCaseId value="MC-1412"/>
@@ -102,7 +102,7 @@
102102
<!--Verify FontStyle on preview-->
103103
<comment userInput="Verify FontStyle on preview" stepKey="commentVerifyFontsizeOnPreview"/>
104104
<clickWithLeftButton x="10" y="10" selector="{{TextOnStage.tinymce('1')}}" stepKey="focusOnEditorArea"/>
105-
<fillField selector="{{TextOnStage.tinymce('1')}}" userInput="{{PageBuilderTextProperty.value}}" stepKey="fillTextToTinyMCE4"/>
105+
<fillField selector="{{TextOnStage.tinymce('1')}}" userInput="{{PageBuilderTextProperty.value}}" stepKey="fillTextToTinyMCE"/>
106106
<click selector="{{WYSIWYGOnPageBuilderInline.formatSelector}}" stepKey="expandFormatList"/>
107107
<see userInput="Important" stepKey="seeImportantStyle"/>
108108
<click selector="{{TextOnStage.importantStyle('1')}}" stepKey="selectFormatStyle"/>

0 commit comments

Comments
 (0)