|
156 | 156 | <comment userInput="Verify Textarea on stage" stepKey="comment"/>
|
157 | 157 | <waitForElementVisible selector="{{TextOnStage.textArea('1')}}" stepKey="waitForTextOnEditPanel"/>
|
158 | 158 | <fillField selector="{{TextOnStage.textArea('1')}}" userInput="{{PageBuilderTextProperty.value}}" stepKey="fillTextField"/>
|
| 159 | + <click selector="{{PageBuilderPanel.searchPanel}}" stepKey="lostFocusFromTextarea"/> |
159 | 160 | <!-- Validate Edit Panel display TinyMCE3-->
|
160 | 161 | <comment userInput="Validate Edit Panel display TinyMCE3" stepKey="commentValidateEditPanel"/>
|
161 | 162 | <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStage2">
|
162 | 163 | <argument name="contentType" value="PageBuilderTextContentType"/>
|
163 | 164 | </actionGroup>
|
164 |
| - <waitForElementVisible selector="{{TinyMCESection.TinyMCE3}}" stepKey="waitForTinyMCE3" /> |
| 165 | + <!--<waitForElementVisible selector="{{TinyMCESection.TinyMCE3}}" stepKey="waitForTinyMCE3" />--> |
165 | 166 | <switchToIFrame selector="{{TextOnConfiguration.tinyMCEIFrame}}" stepKey="switchToIFrame1"/>
|
166 | 167 | <!-- Verify inputed text is carried out to slideout -->
|
167 | 168 | <comment userInput="Verify inputed text is carried out to slideout" stepKey="comment1"/>
|
168 | 169 | <waitForElementVisible selector="{{TextOnConfiguration.textInIFrame(PageBuilderTextProperty.value)}}" stepKey="waitForText"/>
|
169 | 170 | <!-- Add variable to tinymce3 -->
|
170 | 171 | <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"/> |
172 | 173 | <!-- Add widget to tinymce3 -->
|
173 | 174 | <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"/> |
175 | 176 | <switchToIFrame stepKey="exitIFrame1"/>
|
176 | 177 | <actionGroup ref="closeEditPanelSettings" stepKey="closeEditPanelSettings"/>
|
177 | 178 | <!-- Validate Stage After Save -->
|
178 | 179 | <comment userInput="Validate Stage After Save" stepKey="commentValidateStage2"/>
|
179 | 180 | <waitForElementVisible selector="{{TextOnStage.textAreaTextContains('1', PageBuilderTextArea_WidgetCMSPageLink.editPanelValue)}}" stepKey="waitForWidgetOnStage"/>
|
180 | 181 | <waitForElementVisible selector="{{TextOnStage.textAreaTextContains('1', PageBuilderTextArea_VariableBaseURL.editPanelValue)}}" stepKey="waitForVariableOnStage"/>
|
181 | 182 | <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage2"/>
|
| 183 | + <amOnPage url="" stepKey="goToBaseURL"/> |
| 184 | + <grabFromCurrentUrl stepKey="grabBaseURL"/> |
182 | 185 | <actionGroup ref="navigateToStoreFront" stepKey="navigateToStoreFront">
|
183 | 186 | <argument name="contentType" value="PageBuilderTextContentType"/>
|
184 | 187 | </actionGroup>
|
|
0 commit comments