|
113 | 113 | <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappear"/>
|
114 | 114 | <waitForElementVisible selector="{{section.imageSourceByIndex(index, property.fileName)}}" stepKey="waitForMainImageSource1"/>
|
115 | 115 | </actionGroup>
|
116 |
| - <actionGroup name="inlineEditWYSIWYGFromStage"> |
117 |
| - <arguments> |
118 |
| - <argument name="contentType"/> |
119 |
| - <argument name="content" type="string"/> |
120 |
| - <argument name="index" defaultValue="1" type="string"/> |
121 |
| - </arguments> |
122 |
| - <click selector="{{PageBuilderStage.inlineWYSIWYGEditor(contentType.role, index)}}" stepKey="focusOnEditorArea"/> |
123 |
| - <waitForElementVisible selector="{{PageBuilderStage.inlineWYSIWYGEditorPanel(contentType.role, index)}}" stepKey="waitForEditorPanel"/> |
124 |
| - <pressKey selector="{{PageBuilderStage.inlineWYSIWYGEditor(contentType.role, index)}}" userInput="{{content}}" stepKey="enterContentIntoEditor"/> |
125 |
| - <waitForPageLoad stepKey="waitForPageLoad"/> |
126 |
| - <click selector="{{PageBuilderPanel.searchPanel}}" stepKey="loseFocusFromEditor"/> |
127 |
| - </actionGroup> |
128 |
| - <actionGroup name="inlineEditTextAreaFromStage"> |
129 |
| - <arguments> |
130 |
| - <argument name="contentType"/> |
131 |
| - <argument name="content" type="string"/> |
132 |
| - <argument name="index" defaultValue="1" type="string"/> |
133 |
| - </arguments> |
134 |
| - <click selector="{{PageBuilderStage.inlineTextAreaEditor(contentType.role, index)}}" stepKey="focusOnEditorArea"/> |
135 |
| - <waitForPageLoad stepKey="waitForPageLoad"/> |
136 |
| - <fillField selector="{{PageBuilderStage.inlineTextAreaEditor(contentType.role, index)}}" userInput="{{content}}" stepKey="enterContentIntoEditor"/> |
137 |
| - <waitForPageLoad stepKey="waitForPageLoad1"/> |
138 |
| - <click selector="{{PageBuilderPanel.searchPanel}}" stepKey="loseFocusFromEditor"/> |
139 |
| - </actionGroup> |
140 | 116 | <actionGroup name="verifyUploadImageButtons">
|
141 | 117 | <arguments>
|
142 | 118 | <argument name="contentType"/>
|
|
151 | 127 | <seeElement selector="{{section.onHoverUploadImageButton(contentType.role, index)}}" stepKey="seeUploadImageButton" />
|
152 | 128 | <seeElement selector="{{section.onHoverSelectFromGalleryButton(contentType.role, index)}}" stepKey="seeSelectFromGalleryButton"/>
|
153 | 129 | </actionGroup>
|
| 130 | + <actionGroup name="focusOnInlineTinyMCEEditor"> |
| 131 | + <arguments> |
| 132 | + <argument name="section" defaultValue="TextOnStage"/> |
| 133 | + <argument name="index" defaultValue="1" type="string"/> |
| 134 | + </arguments> |
| 135 | + <comment userInput="focusOnInlineTinyMCEEditor" stepKey="comment"/> |
| 136 | + <waitForElementVisible selector="{{section.tinymce(index)}}" stepKey="waitForEditor"/> |
| 137 | + <click selector="{{section.tinymce(index)}}" stepKey="clickEditor"/> |
| 138 | + <waitForPageLoad stepKey="waitForEditorToBeFocused"/> |
| 139 | + <waitForElementVisible selector="{{section.tinymceInFocus(index)}}" stepKey="waitForEditorFocused"/> |
| 140 | + </actionGroup> |
| 141 | + <actionGroup name="focusOnInlineTextAreaEditor"> |
| 142 | + <arguments> |
| 143 | + <argument name="section" defaultValue="TextOnStage"/> |
| 144 | + <argument name="index" defaultValue="1" type="string"/> |
| 145 | + </arguments> |
| 146 | + <comment userInput="focusOnInlineTextAreaEditor" stepKey="comment"/> |
| 147 | + <waitForElementVisible selector="{{section.textArea(index)}}" stepKey="waitForEditor"/> |
| 148 | + <click selector="{{section.textArea(index)}}" stepKey="clickEditor"/> |
| 149 | + <waitForPageLoad stepKey="waitForEditorToBeFocused"/> |
| 150 | + </actionGroup> |
154 | 151 | </actionGroups>
|
0 commit comments