|
628 | 628 | <argument name="contentType" value="PageBuilderBlockContentType"/>
|
629 | 629 | </actionGroup>
|
630 | 630 | </test>
|
| 631 | + <test name="PageBuilderCmsBlockVerifyCanMoveSlideItems" extends="SlideItemMoveSlideItemsToRearrange"> |
| 632 | + <annotations> |
| 633 | + <features value="PageBuilder"/> |
| 634 | + <stories value="CMS Block"/> |
| 635 | + <title value="Verify that user can move Slide Items in CMS Block"/> |
| 636 | + <description value="This test is intended to ensure that users can move Slide Items within the PageBuilder stage for CMS Block."/> |
| 637 | + <severity value="CRITICAL"/> |
| 638 | + <useCaseId value="MC-3328"/> |
| 639 | + <testCaseId value="MC-13764"/> |
| 640 | + <group value="pagebuilder"/> |
| 641 | + <group value="pagebuilder-slide"/> |
| 642 | + <group value="pagebuilder-move"/> |
| 643 | + <group value="pagebuilder-cms-block"/> |
| 644 | + </annotations> |
| 645 | + <before> |
| 646 | + <createData entity="_defaultBlock" stepKey="createPreReqBlock" after="loginAsAdmin"/> |
| 647 | + <actionGroup ref="navigateToCreatedCMSBlockPage" stepKey="navigateToAPageWithPageBuilder"> |
| 648 | + <argument name="CMSBlockPage" value="$$createPreReqBlock$$" /> |
| 649 | + </actionGroup> |
| 650 | + <comment userInput="---merging to remove step---" stepKey="switchToPageBuilderStage"/> |
| 651 | + </before> |
| 652 | + <after> |
| 653 | + <deleteData createDataKey="createPreReqBlock" stepKey="deleteCreatedProduct" before="logout"/> |
| 654 | + </after> |
| 655 | + <comment userInput="---merging to remove step---" stepKey="enterPageTitle"/> |
| 656 | + <click selector="{{CmsNewBlockBlockActionsSection.savePage}}" stepKey="saveAndContinueEditCmsPage"/> |
| 657 | + <comment userInput="---merging to remove step---" stepKey="switchToPageBuilderStage1"/> |
| 658 | + <click selector="{{CmsNewBlockBlockActionsSection.savePage}}" stepKey="saveAndContinueEditCmsPage1"/> |
| 659 | + <comment userInput="---merging to remove step---" stepKey="switchToPageBuilderStage2"/> |
| 660 | + <!-- Go to CMS Page and choose Block --> |
| 661 | + <comment userInput="Go to CMS Page and choose Block" stepKey="commentGoToCMSPage" after="seeSlideContentAfterSave2"/> |
| 662 | + <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilderAfterBlock" after="commentGoToCMSPage"/> |
| 663 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStageAfterBlock" after="navigateToAPageWithPageBuilderAfterBlock"/> |
| 664 | + <actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitleAfterBlock" after="switchToPageBuilderStageAfterBlock"> |
| 665 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 666 | + </actionGroup> |
| 667 | + <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandGroupAddContent" after="enterPageTitleAfterBlock"> |
| 668 | + <argument name="group" value="PageBuilderBlockContentType"/> |
| 669 | + </actionGroup> |
| 670 | + <actionGroup ref="dragContentTypeToStage" stepKey="dragBlockIntoStage" after="expandGroupAddContent"> |
| 671 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 672 | + </actionGroup> |
| 673 | + <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditAfterDrop" after="dragBlockIntoStage"> |
| 674 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 675 | + </actionGroup> |
| 676 | + <actionGroup ref="searchBlockInGrid" stepKey="searchBlockInGrid" after="openEditAfterDrop"> |
| 677 | + <argument name="block" value="$$createPreReqBlock$$"/> |
| 678 | + </actionGroup> |
| 679 | + <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsAfterBlock" after="searchBlockInGrid"/> |
| 680 | + <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPageAfterBlock" after="saveEditPanelSettingsAfterBlock"/> |
| 681 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStageAfterSave" after="saveAndContinueEditCmsPageAfterBlock"/> |
| 682 | + <actionGroup ref="navigateToStoreFront" stepKey="navigateToStoreFront"> |
| 683 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 684 | + </actionGroup> |
| 685 | + </test> |
| 686 | + <test name="PageBuilderCmsBlockVerifyCanMoveTabItems" extends="TabsRearrangeTabItems"> |
| 687 | + <annotations> |
| 688 | + <features value="PageBuilder"/> |
| 689 | + <stories value="CMS Block"/> |
| 690 | + <title value="Verify that user can move Tab Items in CMS Block"/> |
| 691 | + <description value="This test is intended to ensure that users can move Tab Items within the PageBuilder stage for CMS Block."/> |
| 692 | + <severity value="CRITICAL"/> |
| 693 | + <useCaseId value="MC-3328"/> |
| 694 | + <testCaseId value="MC-13765"/> |
| 695 | + <group value="pagebuilder"/> |
| 696 | + <group value="pagebuilder-tab"/> |
| 697 | + <group value="pagebuilder-move"/> |
| 698 | + <group value="pagebuilder-cms-block"/> |
| 699 | + </annotations> |
| 700 | + <before> |
| 701 | + <createData entity="_defaultBlock" stepKey="createPreReqBlock" after="loginAsAdmin"/> |
| 702 | + <actionGroup ref="navigateToCreatedCMSBlockPage" stepKey="navigateToAPageWithPageBuilder"> |
| 703 | + <argument name="CMSBlockPage" value="$$createPreReqBlock$$" /> |
| 704 | + </actionGroup> |
| 705 | + <comment userInput="---merging to remove step---" stepKey="switchToPageBuilderStage"/> |
| 706 | + </before> |
| 707 | + <after> |
| 708 | + <deleteData createDataKey="createPreReqBlock" stepKey="deleteCreatedProduct" before="logout"/> |
| 709 | + </after> |
| 710 | + <comment userInput="---merging to remove step---" stepKey="enterPageTitle"/> |
| 711 | + <click selector="{{CmsNewBlockBlockActionsSection.savePage}}" stepKey="saveAndContinueEditCmsPage"/> |
| 712 | + <comment userInput="---merging to remove step---" stepKey="switchToPageBuilderStage"/> |
| 713 | + <!-- Go to CMS Page and choose Block --> |
| 714 | + <comment userInput="Go to CMS Page and choose Block" stepKey="commentGoToCMSPage" after="seeTab2NameStageAfterSave"/> |
| 715 | + <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilderAfterBlock" after="commentGoToCMSPage"/> |
| 716 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStageAfterBlock" after="navigateToAPageWithPageBuilderAfterBlock"/> |
| 717 | + <actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitleAfterBlock" after="switchToPageBuilderStageAfterBlock"> |
| 718 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 719 | + </actionGroup> |
| 720 | + <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandGroupAddContent" after="enterPageTitleAfterBlock"> |
| 721 | + <argument name="group" value="PageBuilderBlockContentType"/> |
| 722 | + </actionGroup> |
| 723 | + <actionGroup ref="dragContentTypeToStage" stepKey="dragBlockIntoStage" after="expandGroupAddContent"> |
| 724 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 725 | + </actionGroup> |
| 726 | + <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditAfterDrop" after="dragBlockIntoStage"> |
| 727 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 728 | + </actionGroup> |
| 729 | + <actionGroup ref="searchBlockInGrid" stepKey="searchBlockInGrid" after="openEditAfterDrop"> |
| 730 | + <argument name="block" value="$$createPreReqBlock$$"/> |
| 731 | + </actionGroup> |
| 732 | + <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsAfterBlock" after="searchBlockInGrid"/> |
| 733 | + <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPageAfterBlock" after="saveEditPanelSettingsAfterBlock"/> |
| 734 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStageAfterSave" after="saveAndContinueEditCmsPageAfterBlock"/> |
| 735 | + <actionGroup ref="navigateToStoreFront" stepKey="navigateToStoreFront"> |
| 736 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 737 | + </actionGroup> |
| 738 | + </test> |
631 | 739 | </tests>
|
0 commit comments