|
32 | 32 | <actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCreatedCMSPage1">
|
33 | 33 | <argument name="CMSPage" value="$$createCMSPage$$"/>
|
34 | 34 | </actionGroup>
|
| 35 | + <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup1"> |
| 36 | + <argument name="group" value="PageBuilderTextContentType"/> |
| 37 | + </actionGroup> |
35 | 38 | <actionGroup ref="dragContentTypeToStage" stepKey="dragButtonsOntoStage">
|
36 | 39 | <argument name="contentType" value="PageBuilderTextContentType"/>
|
37 | 40 | </actionGroup>
|
|
69 | 72 | <actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCreatedCMSPage1">
|
70 | 73 | <argument name="CMSPage" value="$$createCMSPage$$"/>
|
71 | 74 | </actionGroup>
|
| 75 | + <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup1"> |
| 76 | + <argument name="group" value="PageBuilderTextContentType"/> |
| 77 | + </actionGroup> |
72 | 78 | <actionGroup ref="dragContentTypeToStage" stepKey="dragTextOntoStage">
|
73 | 79 | <argument name="contentType" value="PageBuilderTextContentType"/>
|
74 | 80 | </actionGroup>
|
|
87 | 93 | <switchToIFrame stepKey="exitIFrame1"/>
|
88 | 94 | <actionGroup ref="closeEditPanelSettings" stepKey="closeEditPanelSettings"/>
|
89 | 95 | <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage2"/>
|
| 96 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/> |
90 | 97 | <!--Verify Text Content Type on stage after saving cms page-->
|
91 | 98 | <comment userInput="Verify text content type on storefront" stepKey="commentVerifyTextOnStage"/>
|
92 | 99 | <see userInput="{{PageBuilderTextContentTypeDefault.value}}" stepKey="seeTextOnStage"/>
|
|
113 | 120 | </before>
|
114 | 121 | <after>
|
115 | 122 | <actionGroup ref="navigateToMediaGallery" stepKey="navigateToMediaGallery"/>
|
| 123 | + <click selector="{{MediaGallerySection.WysiwygArrow}}" stepKey="openWYSIWYGFolder"/> |
116 | 124 | <actionGroup ref="NavigateToMediaFolderActionGroup" stepKey="NavigateToFolder">
|
117 |
| - <argument name="FolderName" value="{{ImageUpload3.path}}"/> |
| 125 | + <argument name="FolderName" value="{{ImageFolder.name}}"/> |
118 | 126 | </actionGroup>
|
119 | 127 | <actionGroup ref="DeleteImageFromStorageActionGroup" stepKey="DeleteImageFromStorage">
|
120 | 128 | <argument name="Image" value="ImageUpload3"/>
|
|
125 | 133 | <actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCreatedCMSPage1">
|
126 | 134 | <argument name="CMSPage" value="$$createCMSPage$$"/>
|
127 | 135 | </actionGroup>
|
| 136 | + <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup1"> |
| 137 | + <argument name="group" value="PageBuilderTextContentType"/> |
| 138 | + </actionGroup> |
128 | 139 | <actionGroup ref="dragContentTypeToStage" stepKey="dragTextOntoStage">
|
129 | 140 | <argument name="contentType" value="PageBuilderTextContentType"/>
|
130 | 141 | </actionGroup>
|
|
141 | 152 | </actionGroup>
|
142 | 153 | <actionGroup ref="saveImage" stepKey="insertImage"/>
|
143 | 154 | <actionGroup ref="fillOutUploadImagePopup" stepKey="fillOutUploadImagePopup" />
|
144 |
| - <seeElement selector="{{CmsWYSIWYGSection.imageSource(ImageUpload3.fileName)}}" stepKey="assertMediaSourceOnStage1"/> |
| 155 | + <waitForElementVisible selector="{{CmsWYSIWYGSection.imageSource(ImageUpload3.fileName)}}" stepKey="assertMediaSourceOnStage1"/> |
145 | 156 | <!--Verify inputed image on slideout-->
|
146 | 157 | <comment userInput="Verify inputed variable on slideout" stepKey="commentVerifyVariableOnSlideout"/>
|
147 | 158 | <click selector="{{PageBuilderPanel.searchPanel}}" stepKey="lostFocusFromWYSIWYG1"/>
|
|
154 | 165 | <actionGroup ref="closeEditPanelSettings" stepKey="closeEditPanelSettings"/>
|
155 | 166 | <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage2"/>
|
156 | 167 | <!--Verify image on stage after saving cms page-->
|
157 |
| - <comment userInput="Verify image on storefront" stepKey="commentVerifyImageOnStage"/> |
158 |
| - <seeElementInDOM selector="{{CmsWYSIWYGSection.imageSource(ImageUpload3.fileName)}}" stepKey="assertMediaSourceOnStage2"/> |
| 168 | + <comment userInput="Verify image on stage" stepKey="commentVerifyImageOnStage"/> |
| 169 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/> |
| 170 | + <waitForElementVisible selector="{{CmsWYSIWYGSection.imageSource(ImageUpload3.fileName)}}" stepKey="assertMediaSourceOnStage2"/> |
159 | 171 | <!--Verify image on storefront-->
|
160 | 172 | <comment userInput="Verify image on storefront" stepKey="commentVerifyImageOnStorefront"/>
|
161 | 173 | <amOnPage url="$$createCMSPage.identifier$$" stepKey="amOnPageTestPage"/>
|
162 |
| - <seeElement selector="{{StorefrontCMSPageSection.imageSource(ImageUpload3.fileName)}}" stepKey="assertMediaSource"/> |
| 174 | + <waitForElementVisible selector="{{StorefrontCMSPageSection.imageSource(ImageUpload3.fileName)}}" stepKey="assertMediaSource"/> |
163 | 175 | </test>
|
164 | 176 | <test name="InlineVariableEditing">
|
165 | 177 | <annotations>
|
|
185 | 197 | <actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCreatedCMSPage1">
|
186 | 198 | <argument name="CMSPage" value="$$createCMSPage$$"/>
|
187 | 199 | </actionGroup>
|
| 200 | + <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup1"> |
| 201 | + <argument name="group" value="PageBuilderTextContentType"/> |
| 202 | + </actionGroup> |
188 | 203 | <actionGroup ref="dragContentTypeToStage" stepKey="dragTextOntoStage">
|
189 | 204 | <argument name="contentType" value="PageBuilderTextContentType"/>
|
190 | 205 | </actionGroup>
|
|
202 | 217 | <waitForElementVisible selector="{{VariableSection.InsertWidget}}" stepKey="waitForInsertVariable2"/>
|
203 | 218 | <click selector="{{VariableSection.InsertWidget}}" stepKey="clickInsertVariable2"/>
|
204 | 219 | <waitForElementNotVisible selector="{{VariableSection.InsertWidget}}" stepKey="waitForVariableModalToClose"/>
|
205 |
| - <waitForElementVisible selector="{{TextOnStage.text('1', TinyMCEVariableBaseURL.editPanelValue)}}" stepKey="waitForVariabBaseURLleStage"/> |
| 220 | + <waitForElementVisible selector="{{TextOnStage.text('1', TinyMCEVariableBaseURL.editPanelValue)}}" stepKey="waitForVariabBaseURLleStage1"/> |
206 | 221 | <!--Verify inputed variable on slideout-->
|
207 | 222 | <comment userInput="Verify inputed variable on slideout" stepKey="commentVerifyVariableOnSlideout"/>
|
208 | 223 | <click selector="{{PageBuilderPanel.searchPanel}}" stepKey="lostFocusFromWYSIWYG"/>
|
|
214 | 229 | <switchToIFrame stepKey="exitIFrame"/>
|
215 | 230 | <actionGroup ref="closeEditPanelSettings" stepKey="closeEditPanelSettings"/>
|
216 | 231 | <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage2"/>
|
217 |
| - <waitForElementVisible selector="{{TextOnStage.text('1', TinyMCEVariableCountry.editPanelValue)}}" stepKey="waitForVariableCountryStage2"/> |
| 232 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/> |
| 233 | + <waitForElementVisible selector="{{TextOnStage.text('1', TinyMCEVariableBaseURL.editPanelValue)}}" stepKey="waitForVariabBaseURLleStage2"/> |
218 | 234 | <!-- Validate Storefront -->
|
219 | 235 | <comment userInput="Verify variable on storefront" stepKey="commentVerifyEmptyBlock"/>
|
220 | 236 | <amOnPage url="$$createCMSPage.identifier$$" stepKey="amOnPageTestPage"/>
|
221 |
| - <seeElement selector="{{TextOnStorefront.text('1', _ENV.MAGENTO_BASE_URL)}}" stepKey="waitForVariableStorefront"/> |
| 237 | + <waitForElementVisible selector="{{TextOnStorefront.text('1', _ENV.MAGENTO_BASE_URL)}}" stepKey="waitForVariableStorefront"/> |
222 | 238 | </test>
|
223 | 239 | <test name="InlineWidgetEditing">
|
224 | 240 | <annotations>
|
|
246 | 262 | <actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCreatedCMSPage1">
|
247 | 263 | <argument name="CMSPage" value="$$createCMSPageA$$"/>
|
248 | 264 | </actionGroup>
|
| 265 | + <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup1"> |
| 266 | + <argument name="group" value="PageBuilderTextContentType"/> |
| 267 | + </actionGroup> |
249 | 268 | <actionGroup ref="dragContentTypeToStage" stepKey="dragTextOntoStage">
|
250 | 269 | <argument name="contentType" value="PageBuilderTextContentType"/>
|
251 | 270 | </actionGroup>
|
|
258 | 277 | <!--Verify widget edit page-->
|
259 | 278 | <comment userInput="Verify widget edit page" stepKey="commentVerifyEditWidget"/>
|
260 | 279 | <doubleClick selector="{{TextOnStage.text('1', TinyMCEWidgetCMSPageLink.editPanelValue)}}" stepKey="doubleClickOnWidgetPlaceholder"/>
|
| 280 | + <waitForPageLoad stepKey="waitForPageLoad"/> |
261 | 281 | <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappear"/>
|
262 |
| - <waitForElementVisible selector="{{WidgetSection.WidgetType}}" stepKey="waitForWidgetType"/> |
263 |
| - <click selector="{{WidgetSection.InsertWidget}}" stepKey="clickInsertWidget2"/> |
| 282 | + <waitForElementVisible selector="{{WidgetSection.CancelBtnEnabled}}" stepKey="waitForWidgetType"/> |
| 283 | + <click selector="{{WidgetSection.CancelBtnEnabled}}" stepKey="clickInsertWidget2"/> |
264 | 284 | <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappear5"/>
|
265 | 285 | <waitForElementNotVisible selector="{{WidgetSection.InsertWidget}}" stepKey="waitForInsertWidgetModalToClose"/>
|
266 | 286 | <!--Verify inputed widget on slideout-->
|
|
276 | 296 | <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage2"/>
|
277 | 297 | <!-- Validate stage -->
|
278 | 298 | <comment userInput="Verify Widget Content Type on storefront" stepKey="commentVerifyWidgetOnStage"/>
|
| 299 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/> |
279 | 300 | <waitForElementVisible selector="{{TextOnStage.text('1', TinyMCEWidgetCMSPageLink.editPanelValue)}}" stepKey="waitForWidgetStage2"/>
|
280 | 301 | <!-- Validate Storefront -->
|
281 | 302 | <comment userInput="Verify Widget Content Type on storefront" stepKey="commentVerifyWidgetOnStorefront"/>
|
|
306 | 327 | <actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCreatedCMSPage1">
|
307 | 328 | <argument name="CMSPage" value="$$createCMSPage$$"/>
|
308 | 329 | </actionGroup>
|
| 330 | + <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup1"> |
| 331 | + <argument name="group" value="PageBuilderTextContentType"/> |
| 332 | + </actionGroup> |
309 | 333 | <actionGroup ref="dragContentTypeToStage" stepKey="dragButtonsOntoStage">
|
310 | 334 | <argument name="contentType" value="PageBuilderTextContentType"/>
|
311 | 335 | </actionGroup>
|
312 |
| - <click selector="{{TextOnStage.tinymce(1)}}" stepKey="focusOnTextEditorArea"/> |
| 336 | + <click selector="{{TextOnStage.tinymce('1')}}" stepKey="focusOnTextEditorArea"/> |
313 | 337 | <actionGroup ref="VerifyTinyMCEActionGroup" stepKey="verifyTinyMCE4"/>
|
314 | 338 | <actionGroup ref="VerifyMagentoEntityActionGroup" stepKey="verifyMagentoEntities"/>
|
315 | 339 | <seeElement selector="{{WYSIWYGOnPageBuilder.undo}}" stepKey="seeUndo"/>
|
|
739 | 763 | <argument name="padding" value="PageBuilderPaddingPropertyUnique"/>
|
740 | 764 | <argument name="index" value="1"/>
|
741 | 765 | </actionGroup>
|
| 766 | + <click selector="{{PageBuilderPanel.searchPanel}}" stepKey="lostFocusFromWYSIWYG1"/> |
742 | 767 | <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuOnStage2">
|
743 | 768 | <argument name="contentType" value="PageBuilderTextContentType"/>
|
744 | 769 | </actionGroup>
|
|
860 | 885 | <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup">
|
861 | 886 | <argument name="group" value="PageBuilderTextContentType"/>
|
862 | 887 | </actionGroup>
|
863 |
| - <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroupText"> |
864 |
| - <argument name="group" value="PageBuilderTextContentType"/> |
865 |
| - </actionGroup> |
866 | 888 | <actionGroup ref="dragContentTypeToStage" stepKey="dragIntoStage">
|
867 | 889 | <argument name="contentType" value="PageBuilderTextContentType"/>
|
868 | 890 | </actionGroup>
|
|
900 | 922 | <argument name="property" value="PageBuilderPaddingPropertyUnique"/>
|
901 | 923 | </actionGroup>
|
902 | 924 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
|
| 925 | + <click selector="{{PageBuilderPanel.searchPanel}}" stepKey="lostFocusFromWYSIWYG1"/> |
903 | 926 | <!-- Duplicate and Validate Stage -->
|
904 | 927 | <comment userInput="Duplicate" stepKey="commentDuplicate"/>
|
905 | 928 | <actionGroup ref="duplicateContentType" stepKey="duplicateContentType">
|
|
0 commit comments