|
116 | 116 | <actionGroup ref="exitPageBuilderFullScreen" stepKey="exitPageBuilderFullScreenBeforeSave"/>
|
117 | 117 | <actionGroup ref="SaveCMSBlockActionGroup" stepKey="saveCMSBlock"/>
|
118 | 118 | <actionGroup ref="AdminOpenPageBuilderFromContentPreviewOverlayActionGroup" stepKey="openPageBuilderFullScreen"/>
|
119 |
| - <!-- Validate CMS Block Stage on Viewport DesMobile --> |
120 |
| - <actionGroup ref="AdminSwitchPageBuilderViewportActionGroup" stepKey="switchToMobileViewportForValidateBlock"> |
121 |
| - <argument name="viewportButton" value="mobile"/> |
122 |
| - <argument name="viewportStage" value="mobile"/> |
123 |
| - </actionGroup> |
124 |
| - <seeElement selector="{{SlideOnBackend.appearance('1', PageBuilderAppearance_Poster.value)}}" stepKey="seeAppearanceCMSBlockStage"/> |
125 |
| - <actionGroup ref="validateOverlayPositionPoster" stepKey="validateOverlayPositionCMSBlockStage"> |
126 |
| - <argument name="page" value="SlideOnBackend"/> |
127 |
| - </actionGroup> |
128 |
| - <seeElement selector="{{SlideOnBackend.slideName('1', PageBuilderSlideItemSlideName_Slide1.value)}}" stepKey="seeSlideNameCMSBlockStage"/> |
129 |
| - <moveMouseOver selector="{{SliderOnStage.activeSlideNavigationDot}}" stepKey="mouseOverSlideDotCMSBlockStage"/> |
130 |
| - <see userInput="{{PageBuilderSlideItemSlideName_Slide1.value}}" selector="{{SliderOnStage.slideNavigationDotNameTooltip('1')}}" stepKey="seeSlideName1InTooltipCMSBlockStage"/> |
131 |
| - <seeElement selector="{{SlideOnBackend.posterMinimumHeight('1', PageBuilderMinHeightProperty_200px.value)}}" stepKey="seeMinimumHeightCMSBlockStage"/> |
132 |
| - <actionGroup ref="validateContentTypeHeightEqualToMinHeightPlusPaddingAndBorder" stepKey="validateHeightCMSBlockStage"> |
133 |
| - <argument name="content" value="{{SlideOnBackend.wrapperCSS}}"/> |
134 |
| - <argument name="minHeight" value="{{PageBuilderMinHeightProperty_200px.intValue}}"/> |
135 |
| - </actionGroup> |
136 |
| - <actionGroup ref="validateBackgroundAttributesWithNoImageForSlide" stepKey="validateBackgroundAttributesCMSBlockStage"> |
137 |
| - <argument name="section" value="SlideOnBackend"/> |
138 |
| - <argument name="backgroundColor" value="PageBuilderBackgroundColor_Plaintext_Green"/> |
139 |
| - <argument name="backgroundPosition" value="PageBuilderBackgroundPosition_Center"/> |
140 |
| - <argument name="backgroundSize" value="PageBuilderBackgroundSize_Auto"/> |
141 |
| - <argument name="backgroundRepeat" value="PageBuilderBackgroundRepeat_Enabled"/> |
142 |
| - <argument name="backgroundAttachment" value="PageBuilderBackgroundAttachment_Fixed"/> |
143 |
| - </actionGroup> |
144 |
| - <actionGroup ref="validateBackgroundImage" stepKey="validateBackgroundImageCMSBlockStage"> |
145 |
| - <argument name="section" value="SlideOnBackend"/> |
146 |
| - <argument name="backgroundImage" value="PageBuilderBackgroundMobileImage_GIF"/> |
147 |
| - </actionGroup> |
148 |
| - <seeElement selector="{{SlideOnBackend.messageContent('1', PageBuilderSlideItemContent_Slide1.value)}}" stepKey="seeMessageContentCMSBlockStage"/> |
149 |
| - <seeElementInDOM selector="{{SlideOnBackend.button('1')}}" stepKey="seeButtonInDOMCMSBlockStage"/> |
150 |
| - <dontSeeElement selector="{{SlideOnBackend.button('1')}}" stepKey="dontSeeButtonCMSBlockStage"/> |
151 |
| - <seeElement selector="{{SlideOnBackend.transparentOverlay('1')}}" stepKey="seeTransparentOverlayCMSBlockStage"/> |
152 |
| - <moveMouseOver selector="{{SlideOnBackend.appearance('1', PageBuilderAppearance_Poster.value)}}" stepKey="moveMouseOverSlideCMSBlockStage"/> |
153 |
| - <seeElement selector="{{SlideOnBackend.button('1')}}" stepKey="seeButtonOnHoverCMSBlockStage"/> |
154 |
| - <seeElement selector="{{SlideOnBackend.buttonText('1', PageBuilderSlideItemButtonText_Common.value)}}" stepKey="seeButtonTextOnHoverCMSBlockStage"/> |
155 |
| - <seeElement selector="{{SlideOnBackend.buttonType('1', PageBuilderSlideItemButtonType_Secondary.value)}}" stepKey="seeButtonTypeOnHoverCMSBlockStage"/> |
156 |
| - <seeElement selector="{{SlideOnBackend.overlayBackgroundColor('1', PageBuilderSlideItemOverlayColor_Blue_Opaque.value)}}" stepKey="seeOverlayOnHoverCMSBlockStage"/> |
157 |
| - <executeJS function="return {{SlideOnBackend.overlayJS('1')}}.getBoundingClientRect().left" stepKey="overlayLeftPositionCMSBlockStage"/> |
158 |
| - <executeJS function="return document.evaluate("{{SlideOnBackend.button('1')}}", document.body).iterateNext().getBoundingClientRect().left" stepKey="buttonLeftPositionCMSBlockStage"/> |
159 |
| - <executeJS function="return Math.abs(Math.round({$buttonLeftPositionCMSBlockStage}-{$overlayLeftPositionCMSBlockStage}-{{PageBuilderPaddingProperty40.paddingLeft}}))" stepKey="buttonMinusOverlayMinusPaddingCMSBlockStage"/> |
160 |
| - <assertLessThanOrEqual stepKey="assertButtonLeftAlignedCMSBlockStage"> |
161 |
| - <expectedResult type="int">5</expectedResult> |
162 |
| - <actualResult type="variable">buttonMinusOverlayMinusPaddingCMSBlockStage</actualResult> |
163 |
| - </assertLessThanOrEqual> |
164 |
| - <executeJS function="return window.getComputedStyle({{SlideOnBackend.wrapperJS('1')}}).textAlign" stepKey="grabDefaultComputedTextAlignCMSBlockStage"/> |
165 |
| - <assertEquals stepKey="assertDefaultComputedTextAlignCMSBlockStage"> |
166 |
| - <expectedResult type="string">{{PageBuilderAdvancedAlignmentPropertyLeft.value}}</expectedResult> |
167 |
| - <actualResult type="variable">grabDefaultComputedTextAlignCMSBlockStage</actualResult> |
168 |
| - </assertEquals> |
169 |
| - <!-- Validate CMS Block Stage Mobile --> |
| 119 | + <!-- Validate CMS Block Stage Mobile Viewport--> |
170 | 120 | <actionGroup ref="AdminSwitchPageBuilderViewportActionGroup" stepKey="switchToMobileViewportForValidateBlock">
|
171 | 121 | <argument name="viewportButton" value="mobile"/>
|
172 | 122 | <argument name="viewportStage" value="mobile"/>
|
|
0 commit comments