Skip to content

Commit 63ea117

Browse files
committed
MC-3308: Automate MFTF for MC-1416
1 parent 4eecf4f commit 63ea117

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderTextTest.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
<switchToIFrame stepKey="exitIFrame1"/>
9494
<actionGroup ref="closeEditPanelSettings" stepKey="closeEditPanelSettings"/>
9595
<actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage2"/>
96+
<actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/>
9697
<!--Verify Text Content Type on stage after saving cms page-->
9798
<comment userInput="Verify text content type on storefront" stepKey="commentVerifyTextOnStage"/>
9899
<see userInput="{{PageBuilderTextContentTypeDefault.value}}" stepKey="seeTextOnStage"/>
@@ -164,6 +165,7 @@
164165
<actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage2"/>
165166
<!--Verify image on stage after saving cms page-->
166167
<comment userInput="Verify image on storefront" stepKey="commentVerifyImageOnStage"/>
168+
<actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/>
167169
<seeElementInDOM selector="{{CmsWYSIWYGSection.imageSource(ImageUpload3.fileName)}}" stepKey="assertMediaSourceOnStage2"/>
168170
<!--Verify image on storefront-->
169171
<comment userInput="Verify image on storefront" stepKey="commentVerifyImageOnStorefront"/>
@@ -226,6 +228,7 @@
226228
<switchToIFrame stepKey="exitIFrame"/>
227229
<actionGroup ref="closeEditPanelSettings" stepKey="closeEditPanelSettings"/>
228230
<actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage2"/>
231+
<actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/>
229232
<waitForElementVisible selector="{{TextOnStage.text('1', TinyMCEVariableCountry.editPanelValue)}}" stepKey="waitForVariableCountryStage2"/>
230233
<!-- Validate Storefront -->
231234
<comment userInput="Verify variable on storefront" stepKey="commentVerifyEmptyBlock"/>
@@ -291,6 +294,7 @@
291294
<actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage2"/>
292295
<!-- Validate stage -->
293296
<comment userInput="Verify Widget Content Type on storefront" stepKey="commentVerifyWidgetOnStage"/>
297+
<actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/>
294298
<waitForElementVisible selector="{{TextOnStage.text('1', TinyMCEWidgetCMSPageLink.editPanelValue)}}" stepKey="waitForWidgetStage2"/>
295299
<!-- Validate Storefront -->
296300
<comment userInput="Verify Widget Content Type on storefront" stepKey="commentVerifyWidgetOnStorefront"/>

0 commit comments

Comments
 (0)