Skip to content

Commit 801b2ab

Browse files
committed
#512: User edits Blocks content in full-screen mode only - Fixed mftf test
1 parent 1c3fac3 commit 801b2ab

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderBlockRenderElementContentTypesTest/ButtonGroupInBlockOnDifferentLineWhenInFullWidthRowTest.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
</after>
3838
<!-- Change row appearance to full-width -->
3939
<comment userInput="Change row appearance to full-width" stepKey="commentChangeRowAppearanceBlock"/>
40+
<actionGroup ref="AdminOpenPageBuilderFromContentPreviewOverlayActionGroup" stepKey="openPageBuilderFullScreen"/>
4041
<actionGroup ref="openPageBuilderEditPanel" stepKey="openRowEditMenuOnStageBlock">
4142
<argument name="contentType" value="PageBuilderRowContentType"/>
4243
</actionGroup>
@@ -69,13 +70,14 @@
6970
<expectedResult type="variable">yCoordinate1Block</expectedResult>
7071
<actualResult type="variable">yCoordinate2Block</actualResult>
7172
</assertNotEquals>
73+
<actionGroup ref="exitPageBuilderFullScreen" stepKey="exitPageBuilderFullScreen"/>
7274
<actionGroup ref="SaveAndCloseCMSBlockWithSplitButtonActionGroup" stepKey="saveCMSBlock"/>
7375
<!-- Go to CMS Page and choose Block -->
7476
<comment userInput="Go to CMS Page and choose Block" stepKey="commentGoToCMSPage"/>
7577
<actionGroup ref="NavigateToCreatedCMSPageActionGroup" stepKey="navigateToCreatedCMSPage">
7678
<argument name="CMSPage" value="$$createCMSPage$$"/>
7779
</actionGroup>
78-
<actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStagePage"/>
80+
<actionGroup ref="AdminOpenPageBuilderFromContentPreviewOverlayActionGroup" stepKey="openPageBuilderFullScreen2"/>
7981
<actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandMenuSectionAddContentPage">
8082
<argument name="contentType" value="PageBuilderBlockContentType"/>
8183
</actionGroup>
@@ -97,7 +99,7 @@
9799
<expectedResult type="variable">yCoordinate1Page</expectedResult>
98100
<actualResult type="variable">yCoordinate2Page</actualResult>
99101
</assertNotEquals>
100-
<actionGroup ref="exitPageBuilderFullScreen" stepKey="exitPageBuilderFullScreen"/>
102+
<actionGroup ref="exitPageBuilderFullScreen" stepKey="exitPageBuilderFullScreen2"/>
101103
<actionGroup ref="SaveAndContinueEditCmsPageActionGroup" stepKey="saveAndContinueEditCmsPage"/>
102104
<!-- Validate CMS Page Storefront -->
103105
<comment userInput="Validate Storefront" stepKey="commentValidateStorefront"/>

0 commit comments

Comments
 (0)