|
431 | 431 | <argument name="contentBlockIndex" value="1"/>
|
432 | 432 | </actionGroup>
|
433 | 433 | </test>
|
| 434 | + <test name="MoveContentIntoEmptyTallColumnGroup"> |
| 435 | + <annotations> |
| 436 | + <features value="Pagebuilder"/> |
| 437 | + <stories value="Column"/> |
| 438 | + <title value="Drag content from a tall column into adjacent empty column"/> |
| 439 | + <description value="Move content from a tall column within a group into an empty column alongside"/> |
| 440 | + <severity value="CRITICAL"/> |
| 441 | + <testCaseId value="MAGETWO-92572"/> |
| 442 | + <useCaseId value="MAGETWO-86953"/> |
| 443 | + <group value="pagebuilder"/> |
| 444 | + <group value="pagebuilder-column"/> |
| 445 | + <group value="pagebuilder-heading"/> |
| 446 | + </annotations> |
| 447 | + <before> |
| 448 | + <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> |
| 449 | + <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/> |
| 450 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
| 451 | + </before> |
| 452 | + <after> |
| 453 | + <actionGroup ref="logout" stepKey="logout"/> |
| 454 | + </after> |
| 455 | + <actionGroup ref="dragContentBlockToStage" stepKey="dragFirstColumnIntoStage"> |
| 456 | + <argument name="contentBlockType" value="PageBuilderColumnContentBlock"/> |
| 457 | + </actionGroup> |
| 458 | + <actionGroup ref="dragContentBlockToContainer" stepKey="dragHeadingIntoColumn"> |
| 459 | + <argument name="contentBlockType" value="PageBuilderHeadingContentBlock"/> |
| 460 | + <argument name="contentBlockIndex" value="1"/> |
| 461 | + <argument name="containerTargetType" value="PageBuilderColumnContentBlock"/> |
| 462 | + <argument name="containerTargetIndex" value="2"/> |
| 463 | + </actionGroup> |
| 464 | + <actionGroup ref="clickOutsideLiveEditHeading" stepKey="clickOutsideLiveEditHeading"> |
| 465 | + <argument name="index" value="1"/> |
| 466 | + </actionGroup> |
| 467 | + <comment userInput="Create 10 headings to increase height of column group" stepKey="commentDuplicateHeading"/> |
| 468 | + <actionGroup ref="duplicateContentBlock" stepKey="duplicateFirstHeading"> |
| 469 | + <argument name="contentBlockType" value="PageBuilderHeadingContentBlock"/> |
| 470 | + </actionGroup> |
| 471 | + <actionGroup ref="duplicateContentBlock" stepKey="duplicateSecondHeading"> |
| 472 | + <argument name="contentBlockType" value="PageBuilderHeadingContentBlock"/> |
| 473 | + </actionGroup> |
| 474 | + <actionGroup ref="duplicateContentBlock" stepKey="duplicateThirdHeading"> |
| 475 | + <argument name="contentBlockType" value="PageBuilderHeadingContentBlock"/> |
| 476 | + </actionGroup> |
| 477 | + <actionGroup ref="duplicateContentBlock" stepKey="duplicateFourthHeading"> |
| 478 | + <argument name="contentBlockType" value="PageBuilderHeadingContentBlock"/> |
| 479 | + </actionGroup> |
| 480 | + <actionGroup ref="duplicateContentBlock" stepKey="duplicateFifthHeading"> |
| 481 | + <argument name="contentBlockType" value="PageBuilderHeadingContentBlock"/> |
| 482 | + </actionGroup> |
| 483 | + <actionGroup ref="duplicateContentBlock" stepKey="duplicateSixthHeading"> |
| 484 | + <argument name="contentBlockType" value="PageBuilderHeadingContentBlock"/> |
| 485 | + </actionGroup> |
| 486 | + <actionGroup ref="duplicateContentBlock" stepKey="duplicateSeventhHeading"> |
| 487 | + <argument name="contentBlockType" value="PageBuilderHeadingContentBlock"/> |
| 488 | + </actionGroup> |
| 489 | + <actionGroup ref="duplicateContentBlock" stepKey="duplicateEighthHeading"> |
| 490 | + <argument name="contentBlockType" value="PageBuilderHeadingContentBlock"/> |
| 491 | + </actionGroup> |
| 492 | + <actionGroup ref="duplicateContentBlock" stepKey="duplicateNinthHeading"> |
| 493 | + <argument name="contentBlockType" value="PageBuilderHeadingContentBlock"/> |
| 494 | + </actionGroup> |
| 495 | + <actionGroup ref="duplicateContentBlock" stepKey="duplicateTenthHeading"> |
| 496 | + <argument name="contentBlockType" value="PageBuilderHeadingContentBlock"/> |
| 497 | + </actionGroup> |
| 498 | + <comment userInput="Attempt to move heading into half way down other group" stepKey="commentMoveHeading"/> |
| 499 | + <actionGroup ref="moveContentTypeToContainer" stepKey="moveSliderIntoExistingRow"> |
| 500 | + <argument name="contentBlockType" value="PageBuilderHeadingContentBlock"/> |
| 501 | + <argument name="contentBlockIndex" value="5"/> |
| 502 | + <argument name="containerTargetType" value="PageBuilderColumnContentBlock"/> |
| 503 | + <argument name="containerTargetIndex" value="1"/> |
| 504 | + <argument name="containerOffsetXCoordinate" value="10"/> |
| 505 | + <argument name="containerOffsetYCoordinate" value="600"/> |
| 506 | + </actionGroup> |
| 507 | + <comment userInput="Validate heading was moved successfully" stepKey="commentValidateHeadingMove"/> |
| 508 | + <actionGroup ref="validateContentBlockInsideContainerStage" stepKey="confirmHeadingInMovedColumn"> |
| 509 | + <argument name="containerTargetType" value="PageBuilderColumnContentBlock"/> |
| 510 | + <argument name="containerTargetIndex" value="1"/> |
| 511 | + <argument name="positionInContainer" value="1"/> |
| 512 | + <argument name="contentBlockType" value="PageBuilderHeadingContentBlock"/> |
| 513 | + <argument name="contentBlockIndex" value="1"/> |
| 514 | + </actionGroup> |
| 515 | + </test> |
434 | 516 | </tests>
|
0 commit comments