|
466 | 466 | <testCaseId value="MC-5631"/>
|
467 | 467 | <group value="pagebuilder"/>
|
468 | 468 | <group value="pagebuilder-banner"/>
|
| 469 | + <group value="pagebuilder-bannerPoster"/> |
| 470 | + <group value="pagebuilder-wordWrap"/> |
469 | 471 | </annotations>
|
470 | 472 | <before>
|
471 | 473 | <resizeWindow width="1280" height="1024" stepKey="resetWindowToDesktopBefore"/>
|
|
485 | 487 | <actionGroup ref="dragContentTypeToStage" stepKey="dragColumnIntoStage">
|
486 | 488 | <argument name="contentType" value="PageBuilderColumnContentType"/>
|
487 | 489 | </actionGroup>
|
| 490 | + <!-- Duplicate Column to create small width --> |
| 491 | + <comment userInput="Duplicate Column to create small width" stepKey="commentDuplicateColumnToCreateSmallWidth"/> |
| 492 | + <actionGroup ref="duplicateContentType" stepKey="duplicateColumn"> |
| 493 | + <argument name="contentType" value="PageBuilderColumnContentType"/> |
| 494 | + <argument name="targetIndex" value="1"/> |
| 495 | + <argument name="expectedIndex" value="2"/> |
| 496 | + <argument name="contentTypeXCoordinate" value="10"/> |
| 497 | + <argument name="contentTypeYCoordinate" value="0"/> |
| 498 | + </actionGroup> |
488 | 499 | <!-- Add content type to Column -->
|
489 | 500 | <comment userInput="Add content type to Column" stepKey="addContentTypeToColumn"/>
|
490 | 501 | <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandGroupElements">
|
|
506 | 517 | </actionGroup>
|
507 | 518 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
|
508 | 519 | <click selector="{{PageBuilderPanel.searchPanel}}" stepKey="unFocusEditor"/>
|
509 |
| - <!-- Resize Columns --> |
510 |
| - <comment userInput="Resize Columns" stepKey="commentResizeColumns"/> |
511 |
| - <executeJS function="return document.querySelector('{{ColumnOnBackend.columnResizeGridLine('1')}}').clientWidth" stepKey="guideWidth"/> |
512 |
| - <dragAndDrop selector1="{{ColumnOnBackend.columnX('1')}} {{ColumnOnBackend.columnResizeHandle}}" selector2="{{ColumnOnBackend.columnResizeGridLine('3')}}" x="$guideWidth" stepKey="resizeColumn"/> |
513 |
| - <waitForPageLoad stepKey="waitForDragAndDrop"/> |
514 | 520 | <!-- Validate Height Before Save -->
|
515 | 521 | <comment userInput="Validate Height Before Save" stepKey="commentValidateBeforeSave"/>
|
516 |
| - <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapStage"> |
| 522 | + <actionGroup ref="validateContentWordHeight" stepKey="validateContentWordHeightStage"> |
517 | 523 | <argument name="page" value="BannerOnBackend"/>
|
518 | 524 | <argument name="height" value="110"/>
|
519 | 525 | </actionGroup>
|
520 | 526 | <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/>
|
521 | 527 | <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/>
|
522 | 528 | <!-- Validate Height After Save -->
|
523 | 529 | <comment userInput="Validate Height After Save" stepKey="commentValidateAfterSave"/>
|
524 |
| - <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapAfterSave"> |
| 530 | + <actionGroup ref="validateContentWordHeight" stepKey="validateContentWordHeightAfterSave"> |
525 | 531 | <argument name="page" value="BannerOnBackend"/>
|
526 | 532 | <argument name="height" value="110"/>
|
527 | 533 | </actionGroup>
|
|
530 | 536 | </actionGroup>
|
531 | 537 | <!-- Validate Height Storefront -->
|
532 | 538 | <comment userInput="Validate Height Storefront" stepKey="commentValidateStorefront"/>
|
533 |
| - <actionGroup ref="validateContentWordWrap" stepKey="validateContentWordWrapStorefront"> |
| 539 | + <actionGroup ref="validateContentWordHeight" stepKey="validateContentWordHeightStorefront"> |
534 | 540 | <argument name="page" value="BannerOnFrontend"/>
|
535 | 541 | <argument name="height" value="50"/>
|
536 | 542 | </actionGroup>
|
|
0 commit comments