|
219 | 219 | <argument name="content" value="{{RowOnStorefront.baseCSS}}"/>
|
220 | 220 | </actionGroup>
|
221 | 221 | </test>
|
| 222 | + <test name="RowWithBordersPaddingAndLargeContentsGreaterThanMinHeight"> |
| 223 | + <annotations> |
| 224 | + <features value="PageBuilder"/> |
| 225 | + <stories value="Row"/> |
| 226 | + <title value="Row with borders, padding, and large content is greater than min height"/> |
| 227 | + <description value="A user can see Row height with borders, padding, and large content is greater than min height"/> |
| 228 | + <severity value="CRITICAL"/> |
| 229 | + <useCaseId value="MC-5079"/> |
| 230 | + <testCaseId value="MC-5802"/> |
| 231 | + <group value="pagebuilder"/> |
| 232 | + <group value="pagebuilder-row"/> |
| 233 | + <group value="pagebuilder-rowLayout"/> |
| 234 | + </annotations> |
| 235 | + <before> |
| 236 | + <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> |
| 237 | + <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/> |
| 238 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
| 239 | + </before> |
| 240 | + <after> |
| 241 | + <actionGroup ref="logout" stepKey="logout"/> |
| 242 | + </after> |
| 243 | + <actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle"> |
| 244 | + <argument name="contentType" value="PageBuilderRowContentType"/> |
| 245 | + </actionGroup> |
| 246 | + <!-- Configure content type --> |
| 247 | + <comment userInput="Configure content type" stepKey="commentConfigureContentType"/> |
| 248 | + <actionGroup ref="openPageBuilderEditPanelByIndex" stepKey="openEditPanel"> |
| 249 | + <argument name="contentType" value="PageBuilderRowContentType"/> |
| 250 | + </actionGroup> |
| 251 | + <actionGroup ref="fillSlideOutPanelField" stepKey="enterMinHeightProperty"> |
| 252 | + <argument name="property" value="PageBuilderMinHeightProperty_300"/> |
| 253 | + </actionGroup> |
| 254 | + <actionGroup ref="selectSlideOutPanelField" stepKey="enterBorder"> |
| 255 | + <argument name="property" value="PageBuilderAdvancedBorderPropertySolid"/> |
| 256 | + </actionGroup> |
| 257 | + <actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterBorderColor"> |
| 258 | + <argument name="property" value="PageBuilderAdvancedBorderColorProperty_green"/> |
| 259 | + </actionGroup> |
| 260 | + <actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterBorderWidth"> |
| 261 | + <argument name="property" value="PageBuilderAdvancedBorderWidthProperty10"/> |
| 262 | + </actionGroup> |
| 263 | + <actionGroup ref="fillSlideOutPanelFieldPadding" stepKey="enterPadding"> |
| 264 | + <argument name="property" value="PageBuilderPaddingProperty10"/> |
| 265 | + </actionGroup> |
| 266 | + <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/> |
| 267 | + <!-- Add tall content to container --> |
| 268 | + <comment userInput="Add tall content to container" stepKey="commentAddTallContentToContainer"/> |
| 269 | + <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup"> |
| 270 | + <argument name="group" value="PageBuilderHeadingContentType"/> |
| 271 | + </actionGroup> |
| 272 | + <actionGroup ref="dragContentTypeToStage" stepKey="dragContentTypeToContainer"> |
| 273 | + <argument name="contentType" value="PageBuilderHeadingContentType"/> |
| 274 | + </actionGroup> |
| 275 | + <pressKey selector="{{HeadingOnStage.headingEditableText('1')}}" userInput="{{PageBuilderHeadingTextProperty.value}}" stepKey="enterHeadingText1"/> |
| 276 | + <actionGroup ref="clickOutsideLiveEditHeading" stepKey="clickOutsideLiveEditHeading"/> |
| 277 | + <actionGroup ref="duplicateContentType" stepKey="duplicateContentType"> |
| 278 | + <argument name="contentType" value="PageBuilderHeadingContentType"/> |
| 279 | + </actionGroup> |
| 280 | + <actionGroup ref="duplicateContentType" stepKey="duplicateContentType2"> |
| 281 | + <argument name="contentType" value="PageBuilderHeadingContentType"/> |
| 282 | + </actionGroup> |
| 283 | + <actionGroup ref="duplicateContentType" stepKey="duplicateContentType3"> |
| 284 | + <argument name="contentType" value="PageBuilderHeadingContentType"/> |
| 285 | + </actionGroup> |
| 286 | + <actionGroup ref="duplicateContentType" stepKey="duplicateContentType4"> |
| 287 | + <argument name="contentType" value="PageBuilderHeadingContentType"/> |
| 288 | + </actionGroup> |
| 289 | + <actionGroup ref="duplicateContentType" stepKey="duplicateContentType5"> |
| 290 | + <argument name="contentType" value="PageBuilderHeadingContentType"/> |
| 291 | + </actionGroup> |
| 292 | + <!-- Validate height on stage before save --> |
| 293 | + <comment userInput="Validate height on stage before save" stepKey="commentValidateHeightOnStageBeforeSave"/> |
| 294 | + <actionGroup ref="validateContentTypeHeightGreaterThanMinHeight" stepKey="validateContentTypeHeightBeforeSave"> |
| 295 | + <argument name="content" value="{{RowOnStage.baseCSS}}"/> |
| 296 | + <argument name="border" value="PageBuilderAdvancedBorderWidthProperty10"/> |
| 297 | + <argument name="padding" value="PageBuilderPaddingProperty10"/> |
| 298 | + </actionGroup> |
| 299 | + <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/> |
| 300 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
| 301 | + <!-- Validate height on stage after save --> |
| 302 | + <comment userInput="Validate height on stage after save" stepKey="commentValidateHeightOnStageAfterSave"/> |
| 303 | + <actionGroup ref="validateContentTypeHeightGreaterThanMinHeight" stepKey="validateContentTypeHeightAfterSave"> |
| 304 | + <argument name="content" value="{{RowOnStage.baseCSS}}"/> |
| 305 | + <argument name="border" value="PageBuilderAdvancedBorderWidthProperty10"/> |
| 306 | + <argument name="padding" value="PageBuilderPaddingProperty10"/> |
| 307 | + </actionGroup> |
| 308 | + <actionGroup ref="navigateToStoreFront" stepKey="navigateToStoreFront"> |
| 309 | + <argument name="contentType" value="PageBuilderRowContentType"/> |
| 310 | + </actionGroup> |
| 311 | + <!-- Validate height on storefront --> |
| 312 | + <comment userInput="Validate height on storefront" stepKey="commentValidateHeightOnStorefront"/> |
| 313 | + <actionGroup ref="validateContentTypeHeightGreaterThanMinHeight" stepKey="validateContentTypeHeightStorefront"> |
| 314 | + <argument name="content" value="{{RowOnStorefront.baseCSS}}"/> |
| 315 | + </actionGroup> |
| 316 | + </test> |
222 | 317 | <test name="RowContentIsVerticallyAligned">
|
223 | 318 | <annotations>
|
224 | 319 | <features value="PageBuilder"/>
|
|
0 commit comments