|
313 | 313 | <argument name="index" defaultValue="1" type="string"/>
|
314 | 314 | <argument name="variable"/>
|
315 | 315 | </arguments>
|
| 316 | + <waitForElementVisible selector="{{section.directive(index, variable.editPanelValue)}}" stepKey="waitForVariableVisible"/> |
316 | 317 | <doubleClick selector="{{section.directive(index, variable.editPanelValue)}}" stepKey="doubleClickOnVariablePlaceholder"/>
|
317 |
| - <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappear"/> |
| 318 | + <waitForPageLoad stepKey="waitForPageLoad"/> |
318 | 319 | <waitForElementVisible selector="{{VariableSection.CancelBtnEnabled}}" stepKey="waitForCancelButton"/>
|
319 | 320 | <waitForElementVisible selector="{{VariableSection.Radio(variable.variableName)}}" stepKey="waitForVariableAfterDoubleClick"/>
|
320 | 321 | </actionGroup>
|
321 | 322 | <actionGroup name="closeVariablePanelTinyMCE">
|
322 | 323 | <waitForElementVisible selector="{{VariableSection.CancelBtnEnabled}}" stepKey="waitForCancelButton"/>
|
323 | 324 | <click selector="{{VariableSection.CancelBtnEnabled}}" stepKey="clickCancelButton"/>
|
| 325 | + <waitForPageLoad stepKey="waitForPageLoad"/> |
324 | 326 | <waitForElementNotVisible selector="{{VariableSection.CancelBtnEnabled}}" stepKey="waitForVariableCancelNotVisible"/>
|
325 | 327 | </actionGroup>
|
326 | 328 | <actionGroup name="doubleClickWidgetTinyMCE">
|
|
329 | 331 | <argument name="index" defaultValue="1" type="string"/>
|
330 | 332 | <argument name="widget"/>
|
331 | 333 | </arguments>
|
| 334 | + <waitForElementVisible selector="{{section.directive('1', TinyMCEWidgetCMSPageLink.editPanelValue)}}" stepKey="waitForWidgetVisible"/> |
332 | 335 | <doubleClick selector="{{section.directive('1', TinyMCEWidgetCMSPageLink.editPanelValue)}}" stepKey="doubleClickOnWidgetPlaceholder"/>
|
333 | 336 | <waitForPageLoad stepKey="waitForPageLoad"/>
|
334 |
| - <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappear"/> |
335 | 337 | <waitForElementVisible selector="{{WidgetSection.CancelBtnEnabled}}" stepKey="waitForWidgetType"/>
|
336 | 338 | </actionGroup>
|
337 | 339 | <actionGroup name="closeWidgetPanelTinyMCE">
|
338 |
| - <click selector="{{WidgetSection.CancelBtnEnabled}}" stepKey="clickInsertWidget3"/> |
339 |
| - <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappear7"/> |
| 340 | + <waitForElementVisible selector="{{WidgetSection.CancelBtnEnabled}}" stepKey="waitForCancelButton"/> |
| 341 | + <click selector="{{WidgetSection.CancelBtnEnabled}}" stepKey="clickInsertWidget"/> |
| 342 | + <waitForPageLoad stepKey="waitForPageLoad"/> |
| 343 | + <waitForElementNotVisible selector="{{WidgetSection.CancelBtnEnabled}}}" stepKey="waitForCancelButtonNotVisible"/> |
| 344 | + </actionGroup> |
| 345 | + <actionGroup name="focusTinyMCE"> |
| 346 | + <arguments> |
| 347 | + <argument name="section" defaultValue="TextOnStage"/> |
| 348 | + <argument name="index" defaultValue="1" type="string"/> |
| 349 | + </arguments> |
| 350 | + <waitForElementVisible selector="{{section.tinymce(index)}}" stepKey="waitForTinyMCE"/> |
| 351 | + <click selector="{{section.tinymce(index)}}" stepKey="focusOnTextEditorArea"/> |
| 352 | + <waitForPageLoad stepKey="waitForPageLoad"/> |
| 353 | + <waitForElementVisible selector="{{section.tinymceFocused(index)}}" stepKey="waitForTinyMCEFocus"/> |
340 | 354 | </actionGroup>
|
341 | 355 | </actionGroups>
|
0 commit comments