Skip to content

Commit 4654833

Browse files
committed
AC-233: Refactor core MFTF TinyMCE ActionGroup
Change stepKey fillTextToTinyMCE4
1 parent 51e5552 commit 4654833

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<!--Input text into stage-->
6464
<comment userInput="Input text into stage" stepKey="commentInputTextIntoStage"/>
6565
<clickWithLeftButton x="10" y="10" selector="{{TextOnStage.tinymce('1')}}" stepKey="focusOnEditorArea"/>
66-
<fillField selector="{{TextOnStage.tinymce('1')}}" userInput="{{PageBuilderTextContentTypeDefault.value}}" stepKey="fillTextToTinyMCE4"/>
66+
<fillField selector="{{TextOnStage.tinymce('1')}}" userInput="{{PageBuilderTextContentTypeDefault.value}}" stepKey="fillTextToTinyMCE"/>
6767
<click selector="{{PageBuilderPanel.searchPanel}}" stepKey="lostFocusFromWYSIWYG1"/>
6868
<!--Verify inputed text on slideout-->
6969
<comment userInput="Verify inputed text on slideout" stepKey="commentVerifyTextOnSlideout"/>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<!--Input text into stage-->
4848
<comment userInput="Input text into stage" stepKey="commentInputTextIntoStage"/>
4949
<clickWithLeftButton x="10" y="10" selector="{{TextOnStage.tinymce('1')}}" stepKey="focusOnEditorArea"/>
50-
<fillField selector="{{TextOnStage.tinymce('1')}}" userInput="{{PageBuilderTextContentTypeDefault.value}}" stepKey="fillTextToTinyMCE4"/>
50+
<fillField selector="{{TextOnStage.tinymce('1')}}" userInput="{{PageBuilderTextContentTypeDefault.value}}" stepKey="fillTextToTinyMCE"/>
5151
<click selector="{{PageBuilderPanel.searchPanel}}" stepKey="lostFocusFromWYSIWYG1"/>
5252
<!--Verify inputed text on slideout-->
5353
<comment userInput="Verify inputed text on slideout" stepKey="commentVerifyTextOnSlideout"/>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</annotations>
2222

2323
<before>
24-
<!-- Enable WYSIWYG & TinyMCE4 -->
24+
<!-- Enable WYSIWYG & TinyMCE -->
2525
<magentoCLI command="config:set cms/wysiwyg/enabled enabled" stepKey="enableWYSIWYG"/>
2626
<actionGroup ref="CliEnableTinyMCEActionGroup" stepKey="switchToTinyMCE">
2727
<argument name="TinyMCEValue" value="{{TinyMCE.value}}"/>
@@ -58,7 +58,7 @@
5858
<argument name="containerTargetIndex" value="1"/>
5959
</actionGroup>
6060

61-
<!-- Add TinyMCE4 Table to Text Editor -->
61+
<!-- Add TinyMCE Table to Text Editor -->
6262
<clickWithLeftButton x="10" y="10" selector="{{TextOnStage.tinymce('1')}}" stepKey="focusOnTextEditorArea"/>
6363
<waitForElementVisible selector="{{WYSIWYGOnPageBuilderInline.table}}" stepKey="waitForTableMenuItem"/>
6464
<click selector="{{WYSIWYGOnPageBuilderInline.table}}" stepKey="clickOnTableMenuItem"/>

0 commit comments

Comments
 (0)