|
120 | 120 | </before>
|
121 | 121 | <after>
|
122 | 122 | <actionGroup ref="navigateToMediaGallery" stepKey="navigateToMediaGallery"/>
|
| 123 | + <click selector="{{MediaGallerySection.WysiwygArrow}}" stepKey="openWYSIWYGFolder"/> |
123 | 124 | <actionGroup ref="NavigateToMediaFolderActionGroup" stepKey="NavigateToFolder">
|
124 |
| - <argument name="FolderName" value="{{ImageUpload3.path}}"/> |
| 125 | + <argument name="FolderName" value="{{ImageFolder.name}}"/> |
125 | 126 | </actionGroup>
|
126 | 127 | <actionGroup ref="DeleteImageFromStorageActionGroup" stepKey="DeleteImageFromStorage">
|
127 | 128 | <argument name="Image" value="ImageUpload3"/>
|
|
151 | 152 | </actionGroup>
|
152 | 153 | <actionGroup ref="saveImage" stepKey="insertImage"/>
|
153 | 154 | <actionGroup ref="fillOutUploadImagePopup" stepKey="fillOutUploadImagePopup" />
|
154 |
| - <seeElement selector="{{CmsWYSIWYGSection.imageSource(ImageUpload3.fileName)}}" stepKey="assertMediaSourceOnStage1"/> |
| 155 | + <waitForElementVisible selector="{{CmsWYSIWYGSection.imageSource(ImageUpload3.fileName)}}" stepKey="assertMediaSourceOnStage1"/> |
155 | 156 | <!--Verify inputed image on slideout-->
|
156 | 157 | <comment userInput="Verify inputed variable on slideout" stepKey="commentVerifyVariableOnSlideout"/>
|
157 | 158 | <click selector="{{PageBuilderPanel.searchPanel}}" stepKey="lostFocusFromWYSIWYG1"/>
|
|
164 | 165 | <actionGroup ref="closeEditPanelSettings" stepKey="closeEditPanelSettings"/>
|
165 | 166 | <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage2"/>
|
166 | 167 | <!--Verify image on stage after saving cms page-->
|
167 |
| - <comment userInput="Verify image on storefront" stepKey="commentVerifyImageOnStage"/> |
| 168 | + <comment userInput="Verify image on stage" stepKey="commentVerifyImageOnStage"/> |
168 | 169 | <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/>
|
169 |
| - <seeElementInDOM selector="{{CmsWYSIWYGSection.imageSource(ImageUpload3.fileName)}}" stepKey="assertMediaSourceOnStage2"/> |
| 170 | + <waitForElementVisible selector="{{CmsWYSIWYGSection.imageSource(ImageUpload3.fileName)}}" stepKey="assertMediaSourceOnStage2"/> |
170 | 171 | <!--Verify image on storefront-->
|
171 | 172 | <comment userInput="Verify image on storefront" stepKey="commentVerifyImageOnStorefront"/>
|
172 | 173 | <amOnPage url="$$createCMSPage.identifier$$" stepKey="amOnPageTestPage"/>
|
173 |
| - <seeElement selector="{{StorefrontCMSPageSection.imageSource(ImageUpload3.fileName)}}" stepKey="assertMediaSource"/> |
| 174 | + <waitForElementVisible selector="{{StorefrontCMSPageSection.imageSource(ImageUpload3.fileName)}}" stepKey="assertMediaSource"/> |
174 | 175 | </test>
|
175 | 176 | <test name="InlineVariableEditing">
|
176 | 177 | <annotations>
|
|
216 | 217 | <waitForElementVisible selector="{{VariableSection.InsertWidget}}" stepKey="waitForInsertVariable2"/>
|
217 | 218 | <click selector="{{VariableSection.InsertWidget}}" stepKey="clickInsertVariable2"/>
|
218 | 219 | <waitForElementNotVisible selector="{{VariableSection.InsertWidget}}" stepKey="waitForVariableModalToClose"/>
|
219 |
| - <waitForElementVisible selector="{{TextOnStage.text('1', TinyMCEVariableBaseURL.editPanelValue)}}" stepKey="waitForVariabBaseURLleStage"/> |
| 220 | + <waitForElementVisible selector="{{TextOnStage.text('1', TinyMCEVariableBaseURL.editPanelValue)}}" stepKey="waitForVariabBaseURLleStage1"/> |
220 | 221 | <!--Verify inputed variable on slideout-->
|
221 | 222 | <comment userInput="Verify inputed variable on slideout" stepKey="commentVerifyVariableOnSlideout"/>
|
222 | 223 | <click selector="{{PageBuilderPanel.searchPanel}}" stepKey="lostFocusFromWYSIWYG"/>
|
|
229 | 230 | <actionGroup ref="closeEditPanelSettings" stepKey="closeEditPanelSettings"/>
|
230 | 231 | <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage2"/>
|
231 | 232 | <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/>
|
232 |
| - <waitForElementVisible selector="{{TextOnStage.text('1', TinyMCEVariableCountry.editPanelValue)}}" stepKey="waitForVariableCountryStage2"/> |
| 233 | + <waitForElementVisible selector="{{TextOnStage.text('1', TinyMCEVariableBaseURL.editPanelValue)}}" stepKey="waitForVariabBaseURLleStage2"/> |
233 | 234 | <!-- Validate Storefront -->
|
234 | 235 | <comment userInput="Verify variable on storefront" stepKey="commentVerifyEmptyBlock"/>
|
235 | 236 | <amOnPage url="$$createCMSPage.identifier$$" stepKey="amOnPageTestPage"/>
|
236 |
| - <seeElement selector="{{TextOnStorefront.text('1', _ENV.MAGENTO_BASE_URL)}}" stepKey="waitForVariableStorefront"/> |
| 237 | + <waitForElementVisible selector="{{TextOnStorefront.text('1', _ENV.MAGENTO_BASE_URL)}}" stepKey="waitForVariableStorefront"/> |
237 | 238 | </test>
|
238 | 239 | <test name="InlineWidgetEditing">
|
239 | 240 | <annotations>
|
|
276 | 277 | <!--Verify widget edit page-->
|
277 | 278 | <comment userInput="Verify widget edit page" stepKey="commentVerifyEditWidget"/>
|
278 | 279 | <doubleClick selector="{{TextOnStage.text('1', TinyMCEWidgetCMSPageLink.editPanelValue)}}" stepKey="doubleClickOnWidgetPlaceholder"/>
|
| 280 | + <waitForPageLoad stepKey="waitForPageLoad"/> |
279 | 281 | <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappear"/>
|
280 |
| - <waitForElementVisible selector="{{WidgetSection.WidgetType}}" stepKey="waitForWidgetType"/> |
281 |
| - <click selector="{{WidgetSection.InsertWidget}}" stepKey="clickInsertWidget2"/> |
| 282 | + <waitForElementVisible selector="{{WidgetSection.CancelBtnEnabled}}" stepKey="waitForWidgetType"/> |
| 283 | + <click selector="{{WidgetSection.CancelBtnEnabled}}" stepKey="clickInsertWidget2"/> |
282 | 284 | <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskToDisappear5"/>
|
283 | 285 | <waitForElementNotVisible selector="{{WidgetSection.InsertWidget}}" stepKey="waitForInsertWidgetModalToClose"/>
|
284 | 286 | <!--Verify inputed widget on slideout-->
|
|
331 | 333 | <actionGroup ref="dragContentTypeToStage" stepKey="dragButtonsOntoStage">
|
332 | 334 | <argument name="contentType" value="PageBuilderTextContentType"/>
|
333 | 335 | </actionGroup>
|
334 |
| - <click selector="{{TextOnStage.tinymce(1)}}" stepKey="focusOnTextEditorArea"/> |
| 336 | + <click selector="{{TextOnStage.tinymce('1')}}" stepKey="focusOnTextEditorArea"/> |
335 | 337 | <actionGroup ref="VerifyTinyMCEActionGroup" stepKey="verifyTinyMCE4"/>
|
336 | 338 | <actionGroup ref="VerifyMagentoEntityActionGroup" stepKey="verifyMagentoEntities"/>
|
337 | 339 | <seeElement selector="{{WYSIWYGOnPageBuilder.undo}}" stepKey="seeUndo"/>
|
|
0 commit comments