|
11 | 11 | <annotations>
|
12 | 12 | <features value="PageBuilder"/>
|
13 | 13 | <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."/> |
16 | 16 | <severity value="CRITICAL"/>
|
17 | 17 | <group value="pagebuilder"/>
|
18 | 18 | <group value="pagebuilder-block"/>
|
|
31 | 31 | <argument name="CMSBlockPage" value="$$createCMSBlock$$"/>
|
32 | 32 | </actionGroup>
|
33 | 33 | <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> |
34 | 38 | </before>
|
35 | 39 | <after>
|
36 | 40 | <resizeWindow width="1280" height="1024" stepKey="resizeWindowToDesktop"/>
|
|
91 | 95 | <argument name="property" value="PageBuilderSlideItemShowButton_Always"/>
|
92 | 96 | </actionGroup>
|
93 | 97 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
|
94 |
| - <!-- Validate Stage on Viewport Desktop --> |
95 |
| - <actionGroup ref="validateVideoBackgroundWithAllAttributes" stepKey="validateCMSBlockStage"> |
| 98 | + <!-- Validate Stage on Viewport mobile --> |
| 99 | + <actionGroup ref="validateVideoBackgroundWithAllAttributes" stepKey="validateCMSBlockStageMobile"> |
96 | 100 | <argument name="section" value="SlideOnBackend"/>
|
97 | 101 | <argument name="backgroundColor" value="{{PageBuilderBackgroundColor_Pink.rgb}}"/>
|
98 | 102 | <argument name="videoUrl" value="PageBuilderVideoBackgroundUrl_YouTube_Embedded"/>
|
|
102 | 106 | <argument name="playOnlyWhenVisible" value="PageBuilderVideoBackgroundPlayOnlyWhenVisible_Enabled"/>
|
103 | 107 | <argument name="fallbackImage" value="PageBuilderVideoBackgroundFallbackImage_JPG"/>
|
104 | 108 | </actionGroup>
|
105 |
| - <actionGroup ref="doubleClickToInlineEditWYSIWYGFromStage" stepKey="inlineEdit"> |
| 109 | + <actionGroup ref="doubleClickToInlineEditWYSIWYGFromStage" stepKey="inlineEditMobile"> |
106 | 110 | <argument name="contentType" value="PageBuilderSlideContentType"/>
|
107 | 111 | <argument name="content" value="{{PageBuilderSlideItemContent_Slide1.value}}"/>
|
108 | 112 | </actionGroup>
|
109 |
| - <actionGroup ref="inlineEditSlideOrBannerButton" stepKey="inlineEditSlideButton"> |
| 113 | + <actionGroup ref="inlineEditSlideOrBannerButton" stepKey="inlineEditSlideButtonMobile"> |
110 | 114 | <argument name="text" value="{{PageBuilderSlideItemButtonText_Slide1.value}}"/>
|
111 | 115 | </actionGroup>
|
112 |
| - <waitForElementVisible selector="{{SlideOnBackend.messageContent('1', PageBuilderSlideItemContent_Slide1.value)}}" stepKey="waitForMessageContentCMSBlockStage"/> |
113 |
| - <waitForElementVisible selector="{{SlideOnBackend.buttonText('1', PageBuilderSlideItemButtonText_Slide1.value)}}" stepKey="waitForButtonTextCMSBlockStage"/> |
114 |
| - <!-- Validate Stage on Viewport mobile --> |
115 |
| - <actionGroup ref="AdminSwitchPageBuilderViewportActionGroup" stepKey="switchToMobileViewportForValidateStage"> |
116 |
| - <argument name="viewportButton" value="mobile"/> |
117 |
| - <argument name="viewportStage" value="mobile"/> |
118 |
| - </actionGroup> |
119 |
| - <actionGroup ref="validateVideoBackgroundWithAllAttributes" stepKey="validateCMSBlockStageMobile"> |
| 116 | + <waitForElementVisible selector="{{SlideOnBackend.messageContent('1', PageBuilderSlideItemContent_Slide1.value)}}" stepKey="waitForMessageContentCMSBlockStageMobile"/> |
| 117 | + <waitForElementVisible selector="{{SlideOnBackend.buttonText('1', PageBuilderSlideItemButtonText_Slide1.value)}}" stepKey="waitForButtonTextCMSBlockStageMobile"/> |
| 118 | + <!-- Validate Stage on Viewport Desktop --> |
| 119 | + <actionGroup ref="validateVideoBackgroundWithAllAttributes" stepKey="validateCMSBlockStage"> |
120 | 120 | <argument name="section" value="SlideOnBackend"/>
|
121 | 121 | <argument name="backgroundColor" value="{{PageBuilderBackgroundColor_Pink.rgb}}"/>
|
122 | 122 | <argument name="videoUrl" value="PageBuilderVideoBackgroundUrl_YouTube_Embedded"/>
|
|
126 | 126 | <argument name="playOnlyWhenVisible" value="PageBuilderVideoBackgroundPlayOnlyWhenVisible_Enabled"/>
|
127 | 127 | <argument name="fallbackImage" value="PageBuilderVideoBackgroundFallbackImage_JPG"/>
|
128 | 128 | </actionGroup>
|
129 |
| - <actionGroup ref="doubleClickToInlineEditWYSIWYGFromStage" stepKey="inlineEditMobile"> |
| 129 | + <actionGroup ref="doubleClickToInlineEditWYSIWYGFromStage" stepKey="inlineEdit"> |
130 | 130 | <argument name="contentType" value="PageBuilderSlideContentType"/>
|
131 | 131 | <argument name="content" value="{{PageBuilderSlideItemContent_Slide1.value}}"/>
|
132 | 132 | </actionGroup>
|
133 |
| - <waitForElementVisible selector="{{SlideOnBackend.messageContent('1', PageBuilderSlideItemContent_Slide1.value)}}" stepKey="waitForMessageContentCMSBlockStageMobile"/> |
134 |
| - <waitForElementVisible selector="{{SlideOnBackend.buttonText('1', PageBuilderSlideItemButtonText_Slide1.value)}}" stepKey="waitForButtonTextCMSBlockStageMobile"/> |
135 |
| - <actionGroup ref="exitPageBuilderFullScreen" stepKey="exitPageBuilderFullScreenBeforeSaveMobile"/> |
136 |
| - <actionGroup ref="SaveCMSBlockActionGroup" stepKey="saveCMSBlockMobile"/> |
137 |
| - <actionGroup ref="NavigateToCreatedCMSPageActionGroup" stepKey="navigateToCreatedCMSPageMobile"> |
| 133 | + <waitForElementVisible selector="{{SlideOnBackend.messageContent('1', PageBuilderSlideItemContent_Slide1.value)}}" stepKey="waitForMessageContentCMSBlockStage"/> |
| 134 | + <waitForElementVisible selector="{{SlideOnBackend.buttonText('1', PageBuilderSlideItemButtonText_Slide1.value)}}" stepKey="waitForButtonTextCMSBlockStage"/> |
| 135 | + <actionGroup ref="exitPageBuilderFullScreen" stepKey="exitPageBuilderFullScreenBeforeSave"/> |
| 136 | + <actionGroup ref="SaveCMSBlockActionGroup" stepKey="saveCMSBlock"/> |
| 137 | + <actionGroup ref="NavigateToCreatedCMSPageActionGroup" stepKey="navigateToCreatedCMSPage"> |
138 | 138 | <argument name="CMSPage" value="$$createCMSPage$$"/>
|
139 | 139 | </actionGroup>
|
140 |
| - <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStageMobile"/> |
| 140 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
141 | 141 | <!-- Edit Row On CMS Page -->
|
| 142 | + <actionGroup ref="AdminSwitchPageBuilderViewportActionGroup" stepKey="switchToMobileViewportForEditRor"> |
| 143 | + <argument name="viewportButton" value="mobile"/> |
| 144 | + <argument name="viewportStage" value="mobile"/> |
| 145 | + </actionGroup> |
142 | 146 | <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditMenuRowCMSPage">
|
143 | 147 | <argument name="contentType" value="PageBuilderRowContentType"/>
|
144 | 148 | </actionGroup>
|
|
0 commit comments