Skip to content

Commit 461f77e

Browse files
committed
Merge remote-tracking branch 'origin/MC-1438' into MC-1438
2 parents 520fabe + b211e77 commit 461f77e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,29 +156,32 @@
156156
<comment userInput="Verify Textarea on stage" stepKey="comment"/>
157157
<waitForElementVisible selector="{{TextOnStage.textArea('1')}}" stepKey="waitForTextOnEditPanel"/>
158158
<fillField selector="{{TextOnStage.textArea('1')}}" userInput="{{PageBuilderTextProperty.value}}" stepKey="fillTextField"/>
159+
<click selector="{{PageBuilderPanel.searchPanel}}" stepKey="lostFocusFromTextarea"/>
159160
<!-- Validate Edit Panel display TinyMCE3-->
160161
<comment userInput="Validate Edit Panel display TinyMCE3" stepKey="commentValidateEditPanel"/>
161162
<actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStage2">
162163
<argument name="contentType" value="PageBuilderTextContentType"/>
163164
</actionGroup>
164-
<waitForElementVisible selector="{{TinyMCESection.TinyMCE3}}" stepKey="waitForTinyMCE3" />
165+
<!--<waitForElementVisible selector="{{TinyMCESection.TinyMCE3}}" stepKey="waitForTinyMCE3" />-->
165166
<switchToIFrame selector="{{TextOnConfiguration.tinyMCEIFrame}}" stepKey="switchToIFrame1"/>
166167
<!-- Verify inputed text is carried out to slideout -->
167168
<comment userInput="Verify inputed text is carried out to slideout" stepKey="comment1"/>
168169
<waitForElementVisible selector="{{TextOnConfiguration.textInIFrame(PageBuilderTextProperty.value)}}" stepKey="waitForText"/>
169170
<!-- Add variable to tinymce3 -->
170171
<comment userInput="Add variable to tinymce3" stepKey="comment2"/>
171-
<executeJS function="tinymce.get('pagebuilder_text_form_content').setContent('{{PageBuilderTextArea_VariableBaseURL.editPanelValue}}');" stepKey="addVariable"/>
172+
<executeJS function="tinymce.get('pagebuilder_text_form_content').setContent({{PageBuilderTextArea_VariableBaseURL.editPanelValue}});" stepKey="addVariable"/>
172173
<!-- Add widget to tinymce3 -->
173174
<comment userInput="Add widget to tinymce3" stepKey="comment3"/>
174-
<executeJS function="tinymce.get('pagebuilder_text_form_content').setContent('{{PageBuilderTextArea_WidgetCMSPageLink.editPanelValue}}');" stepKey="addWidget"/>
175+
<executeJS function="tinymce.get('pagebuilder_text_form_content').setContent({{PageBuilderTextArea_WidgetCMSPageLink.editPanelValue}});" stepKey="addWidget"/>
175176
<switchToIFrame stepKey="exitIFrame1"/>
176177
<actionGroup ref="closeEditPanelSettings" stepKey="closeEditPanelSettings"/>
177178
<!-- Validate Stage After Save -->
178179
<comment userInput="Validate Stage After Save" stepKey="commentValidateStage2"/>
179180
<waitForElementVisible selector="{{TextOnStage.textAreaTextContains('1', PageBuilderTextArea_WidgetCMSPageLink.editPanelValue)}}" stepKey="waitForWidgetOnStage"/>
180181
<waitForElementVisible selector="{{TextOnStage.textAreaTextContains('1', PageBuilderTextArea_VariableBaseURL.editPanelValue)}}" stepKey="waitForVariableOnStage"/>
181182
<actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage2"/>
183+
<amOnPage url="" stepKey="goToBaseURL"/>
184+
<grabFromCurrentUrl stepKey="grabBaseURL"/>
182185
<actionGroup ref="navigateToStoreFront" stepKey="navigateToStoreFront">
183186
<argument name="contentType" value="PageBuilderTextContentType"/>
184187
</actionGroup>

0 commit comments

Comments
 (0)