|
35 | 35 | </actionGroup>
|
36 | 36 | <!-- Check invalid Link Url and Message Text Widget -->
|
37 | 37 | <!-- Add Widget to TinyMCE -->
|
38 |
| - <!-- ? --> |
39 | 38 | <actionGroup ref="saveEditPanelAndValidateFieldError" stepKey="validateInvalidMessageWithWidget">
|
40 | 39 | <argument name="property" value="PageBuilderSlideItemMessageInvalidWidgetProperty"/>
|
41 | 40 | </actionGroup>
|
|
49 | 48 | </actionGroup>
|
50 | 49 | <!-- Check invalid Link Url and Message Text Link -->
|
51 | 50 | <!-- Add Link to TinyMCE -->
|
52 |
| - <!-- ? --> |
53 | 51 | <actionGroup ref="saveEditPanelAndValidateFieldError" stepKey="validateInvalidMessageWithLink">
|
54 | 52 | <argument name="property" value="PageBuilderSlideItemMessageInvalidProperty"/>
|
55 | 53 | </actionGroup>
|
|
63 | 61 | </actionGroup>
|
64 | 62 | <!-- Check invalid Link Url and Message Text Image Link -->
|
65 | 63 | <!-- Add Image Link to TinyMCE -->
|
66 |
| - <fillField selector="{{WYSIWYGInsertLinkModal.textToDisplayInput}}" userInput="{{PageBuilderSlideItemLinkURL_External.value}}" stepKey="insertTinyMCELinkModalTextToDisplay"/> |
67 |
| - <click selector="{{WYSIWYGInsertLinkModal.okButton}}" stepKey="clickTinyMCELinkModalOkButton"/> |
68 |
| - <waitForElementNotVisible selector="{{WYSIWYGInsertLinkModal.modal}}" stepKey="waitForTinyMCEInsertLinkModalGone"/> |
| 64 | + <actionGroup ref="fillTinyMCEInsertImageModalAndSaveActionGroup" stepKey="fillTinyMCEInsertImageModalAndSave"> |
| 65 | + <argument name="textToDisplay" value="{{PageBuilderSlideItemLinkURL_External.value}}"/> |
| 66 | + </actionGroup> |
69 | 67 | <actionGroup ref="saveEditPanelAndValidateFieldError" stepKey="validateInvalidMessageWithImageLink">
|
70 | 68 | <argument name="property" value="PageBuilderSlideItemMessageInvalidProperty"/>
|
71 | 69 | </actionGroup>
|
|
90 | 88 | <argument name="selection" value="{{ExternalLink.url}}"/>
|
91 | 89 | <argument name="newTab" value="PageBuilderSlideItemLinkNewTab_False"/>
|
92 | 90 | </actionGroup>
|
93 |
| - <!-- ? --> |
94 | 91 | <actionGroup ref="saveEditPanelAndValidateFieldError" stepKey="validateInvalidMessageWithWidgetAfterFillOutLinkUrl">
|
95 | 92 | <argument name="property" value="PageBuilderSlideItemMessageInvalidWidgetProperty"/>
|
96 | 93 | </actionGroup>
|
|
103 | 100 | <argument name="section" value="SlideOnConfigurationPanel"/>
|
104 | 101 | </actionGroup>
|
105 | 102 | <!-- Check inline WYSIWYG editor will validate for not allowing Widget and Link URL at the same time -->
|
106 |
| - <click selector="{{PageBuilderStage.inlineWYSIWYGEditor(PageBuilderSlideContentType.role, '1')}}" stepKey="focusOnInlineWYSIWYGEditorArea"/> |
107 |
| - <!-- ? --> |
108 |
| - <waitForElementVisible selector="{{PageBuilderStage.inlineWYSIWYGEditorPanel(PageBuilderSlideContentType.role, '1')}}" stepKey="waitForInlineWYSIWYGEditorPanel"/> |
109 |
| - <!-- Add Widget to inline WYSIWYG editor on Stage --> |
110 |
| - <!-- ? --> |
| 103 | + <actionGroup ref="focusOnInlineTinyMCEEditor" stepKey="focusOnInlineWYSIWYGEditorArea"> |
| 104 | + <argument name="section" value="SlideOnBackend"/> |
| 105 | + </actionGroup> |
| 106 | + <!-- Add Widget to inline WYSIWYG editor on Stage --> |
111 | 107 | <waitForElementVisible selector="{{PageBuilderStage.modal(PageBuilderSlideItemMessageInvalidProperty.stageErrorMessage)}}" stepKey="waitForNestingWidgetCorrectErrorModal"/>
|
112 | 108 | <!-- Checks for Widget (placeholder) within the WYSIWYG with regex -->
|
113 | 109 | <!-- Check inline WYSIWYG editor will validate for not allowing Link and Link URL at the same time -->
|
114 |
| - <click selector="{{PageBuilderStage.inlineWYSIWYGEditor(PageBuilderSlideContentType.role, '1')}}" stepKey="focusOnInlineWYSIWYGEditorAreaAddLink"/> |
115 |
| - <!-- ? --> |
116 |
| - <waitForElementVisible selector="{{PageBuilderStage.inlineWYSIWYGEditorPanel(PageBuilderSlideContentType.role, '1')}}" stepKey="waitForInlineWYSIWYGEditorPanelAddLink"/> |
| 110 | + <actionGroup ref="focusOnInlineTinyMCEEditor" stepKey="focusOnInlineWYSIWYGEditorAreaAddLink" > |
| 111 | + <argument name="section" value="SlideOnBackend"/> |
| 112 | + </actionGroup> |
117 | 113 | <!-- Add Link to inline WYSIWYG editor on Stage -->
|
118 |
| - <!-- ? --> |
119 | 114 | <waitForElementVisible selector="{{PageBuilderStage.modal(PageBuilderSlideItemMessageInvalidProperty.stageErrorMessage)}}" stepKey="waitForNestingLinkCorrectErrorModal"/>
|
120 | 115 | <!-- Checks for A tags within the WYSIWYG with regex -->
|
121 | 116 | <!-- Check inline WYSIWYG editor will validate for not allowing Image Link and Link URL at the same time -->
|
122 |
| - <click selector="{{PageBuilderStage.inlineWYSIWYGEditor(PageBuilderSlideContentType.role, '1')}}" stepKey="focusOnInlineWYSIWYGEditorAreaAddImageLink"/> |
123 |
| - <!-- ? --> |
124 |
| - <waitForElementVisible selector="{{PageBuilderStage.inlineWYSIWYGEditorPanel(PageBuilderSlideContentType.role, '1')}}" stepKey="waitForInlineWYSIWYGEditorPanelAddImageLink"/> |
| 117 | + <actionGroup ref="focusOnInlineTinyMCEEditor" stepKey="focusOnInlineWYSIWYGEditorAreaAddImageLink"> |
| 118 | + <argument name="section" value="SlideOnBackend"/> |
| 119 | + </actionGroup> |
125 | 120 | <!-- Add Image Link to inline WYSIWYG -->
|
126 |
| - <!-- ? --> |
127 | 121 | <waitForElementVisible selector="{{PageBuilderStage.modal(PageBuilderSlideItemMessageInvalidProperty.stageErrorMessage)}}" stepKey="waitForNestingImageLinkCorrectErrorModal"/>
|
128 | 122 | <!-- Checks for A tags within the TinyMCE with regex -->
|
129 | 123 | <!-- Checks for Widget Block within the message with regex -->
|
|
0 commit comments