Skip to content

Commit 0feabb8

Browse files
committed
#636-functional-tests-on-mobile-viewport
- fix tests
1 parent a25b362 commit 0feabb8

4 files changed

+16
-8
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/ViewportSwitcherMobile/ViewportSwitcherMobileSlideItemCollageCenterAppearanceThroughBlockContentTypeTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<annotations>
1212
<features value="PageBuilder"/>
1313
<stories value="Viewport Switcher"/>
14-
<title value="Render Slide Item Collage Center Appearance Through Block Content Type"/>
15-
<description value="Verify that users are able to successfully render and use the slide item content type collage center appearance through the Block content type."/>
14+
<title value="Mobile Viewport: Render Slide Item Collage Center Appearance Through Block Content Type"/>
15+
<description value="Verify that users are able to successfully render and use the slide item content type collage center appearance through the Block content type in the mobile viewport."/>
1616
<severity value="CRITICAL"/>
1717
<group value="pagebuilder"/>
1818
<group value="pagebuilder-block"/>

app/code/Magento/PageBuilder/Test/Mftf/Test/ViewportSwitcherMobile/ViewportSwitcherMobileSlideItemCollageLeftAppearanceWithVideoBackgroundThroughBlockContentTypeTest.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<annotations>
1212
<features value="PageBuilder"/>
1313
<stories value="Viewport Switcher"/>
14-
<title value="Render Slide Item CollageL eft Appearance with Video Background Through Block Content Type"/>
15-
<description value="Verify that users are able to successfully render the collage left slide content type with a video background through the Block content type."/>
14+
<title value="Mobile Viewport: Render Slide Item CollageL eft Appearance with Video Background Through Block Content Type"/>
15+
<description value="Verify that users are able to successfully render the collage left slide content type with a video background through the Block content type in the mobile viewport."/>
1616
<severity value="CRITICAL"/>
1717
<group value="pagebuilder"/>
1818
<group value="pagebuilder-block"/>
@@ -31,6 +31,10 @@
3131
<argument name="CMSBlockPage" value="$$createCMSBlock$$"/>
3232
</actionGroup>
3333
<actionGroup ref="AdminOpenPageBuilderFromContentPreviewOverlayActionGroup" stepKey="openPageBuilderFullScreen"/>
34+
<actionGroup ref="AdminSwitchPageBuilderViewportActionGroup" stepKey="switchToMobileViewport">
35+
<argument name="viewportButton" value="mobile"/>
36+
<argument name="viewportStage" value="mobile"/>
37+
</actionGroup>
3438
</before>
3539
<after>
3640
<resizeWindow width="1280" height="1024" stepKey="resizeWindowToDesktop"/>
@@ -139,6 +143,10 @@
139143
</actionGroup>
140144
<actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStageMobile"/>
141145
<!-- Edit Row On CMS Page -->
146+
<actionGroup ref="AdminSwitchPageBuilderViewportActionGroup" stepKey="switchToMobileViewportForEditRor">
147+
<argument name="viewportButton" value="mobile"/>
148+
<argument name="viewportStage" value="mobile"/>
149+
</actionGroup>
142150
<actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuRowCMSPage">
143151
<argument name="contentType" value="PageBuilderRowContentType"/>
144152
</actionGroup>

app/code/Magento/PageBuilder/Test/Mftf/Test/ViewportSwitcherMobile/ViewportSwitcherMobileSlideItemCollageRightAppearanceWithVideoBackgroundThroughBlockContentTypeTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<annotations>
1212
<features value="PageBuilder"/>
1313
<stories value="Viewport Switcher"/>
14-
<title value="Render Slide Item Collage Right Appearance with Video Background Through Block Content Type"/>
15-
<description value="Verify that users are able to successfully render the collage right slide content type with a video background through the Block content type."/>
14+
<title value="Mobile Viewport: Render Slide Item Collage Right Appearance with Video Background Through Block Content Type"/>
15+
<description value="Verify that users are able to successfully render the collage right slide content type with a video background through the Block content type in the mobile viewport."/>
1616
<severity value="CRITICAL"/>
1717
<group value="pagebuilder"/>
1818
<group value="pagebuilder-block"/>

app/code/Magento/PageBuilder/Test/Mftf/Test/ViewportSwitcherMobile/ViewportSwitcherMobileSlideItemPosterAppearanceThroughBlockContentTypeTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<annotations>
1212
<features value="PageBuilder"/>
1313
<stories value="Viewport Switcher"/>
14-
<title value="Render Slide Item Poster Appearance Through Block Content Type in a mobile viewport "/>
15-
<description value="Verify that users are able to successfully render and use the slide item content type poster appearance through the Block content type."/>
14+
<title value="Mobile Viewport: Render Slide Item Poster Appearance Through Block Content Type in a mobile viewport "/>
15+
<description value="Verify that users are able to successfully render and use the slide item content type poster appearance through the Block content type in the mobile viewport."/>
1616
<severity value="CRITICAL"/>
1717
<group value="pagebuilder"/>
1818
<group value="pagebuilder-block"/>

0 commit comments

Comments
 (0)