|
671 | 671 | </actionGroup>
|
672 | 672 | <dontSeeElementInDOM selector="{{BlockOnStage.base('1')}}" stepKey="dontSeeBlock"/>
|
673 | 673 | </test>
|
674 |
| - <test name="BlockCanAddToColumn"> |
675 |
| - <annotations> |
676 |
| - <features value="PageBuilder"/> |
677 |
| - <stories value="Block"/> |
678 |
| - <title value="Add Block to Column container and view on Admin and Storefront"/> |
679 |
| - <description value="As a Content Manager I want column to be a container so that I can add Block inside"/> |
680 |
| - <severity value="CRITICAL"/> |
681 |
| - <useCaseId value="MC-515"/> |
682 |
| - <testCaseId value="MC-3118"/> |
683 |
| - <group value="pagebuilder"/> |
684 |
| - <group value="pagebuilder-column"/> |
685 |
| - <group value="pagebuilder-block"/> |
686 |
| - <group value="pagebuilder-addToColumn"/> |
687 |
| - </annotations> |
688 |
| - <before> |
689 |
| - <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> |
690 |
| - <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/> |
691 |
| - <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
692 |
| - </before> |
693 |
| - <after> |
694 |
| - <actionGroup ref="logout" stepKey="logout"/> |
695 |
| - </after> |
696 |
| - <actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle"> |
697 |
| - <argument name="contentType" value="PageBuilderBlockContentType"/> |
698 |
| - </actionGroup> |
699 |
| - <actionGroup ref="dragContentTypeToStage" stepKey="dragColumnIntoStage"> |
700 |
| - <argument name="contentType" value="PageBuilderColumnContentType"/> |
701 |
| - </actionGroup> |
702 |
| - <!-- Add Block to Stage --> |
703 |
| - <comment userInput="Add Block to Stage" stepKey="addBlockToStage"/> |
704 |
| - <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandGroupInteractive"> |
705 |
| - <argument name="group" value="PageBuilderBlockContentType"/> |
706 |
| - </actionGroup> |
707 |
| - <actionGroup ref="dragContentTypeToContainer" stepKey="dragBlockOntoColumn"> |
708 |
| - <argument name="contentType" value="PageBuilderBlockContentType"/> |
709 |
| - <argument name="containerTargetType" value="PageBuilderColumnContentType"/> |
710 |
| - <argument name="containerTargetIndex" value="2" /> |
711 |
| - </actionGroup> |
712 |
| - <!-- Validate Stage --> |
713 |
| - <comment userInput="User sees Block displayed in column on Stage" stepKey="confirmBlockOnStage"/> |
714 |
| - <actionGroup ref="validateContentTypeInsideContainerStage" stepKey="checkContentTypeInContainerStage"> |
715 |
| - <argument name="contentType" value="PageBuilderBlockContentType"/> |
716 |
| - <argument name="containerTargetType" value="PageBuilderColumnContentType"/> |
717 |
| - <argument name="contentTypeIndex" value="1"/> |
718 |
| - <argument name="containerTargetIndex" value="2"/> |
719 |
| - </actionGroup> |
720 |
| - <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/> |
721 |
| - <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/> |
722 |
| - <!-- Validate Stage After Save --> |
723 |
| - <comment userInput="Validate stage after save" stepKey="validateBlockOnStage"/> |
724 |
| - <actionGroup ref="validateContentTypeInsideContainerStage" stepKey="checkContentTypeInContainerStage2"> |
725 |
| - <argument name="contentType" value="PageBuilderBlockContentType"/> |
726 |
| - <argument name="containerTargetType" value="PageBuilderColumnContentType"/> |
727 |
| - <argument name="contentTypeIndex" value="1"/> |
728 |
| - <argument name="containerTargetIndex" value="2"/> |
729 |
| - </actionGroup> |
730 |
| - <!-- Validate Storefront --> |
731 |
| - <comment userInput="View Block inside column on storefront" stepKey="viewBlockOnStorefront"/> |
732 |
| - <actionGroup ref="navigateToStoreFront" stepKey="navigateToStoreFront"> |
733 |
| - <argument name="contentType" value="PageBuilderBlockContentType"/> |
734 |
| - </actionGroup> |
735 |
| - <actionGroup ref="validateContentTypeInsideContainerStorefrontInDOM" stepKey="checkContentTypeInContainerStorefront"> |
736 |
| - <argument name="contentType" value="PageBuilderBlockContentType"/> |
737 |
| - <argument name="containerTargetType" value="PageBuilderColumnContentType"/> |
738 |
| - <argument name="contentTypeIndex" value="1"/> |
739 |
| - <argument name="containerTargetIndex" value="2"/> |
740 |
| - </actionGroup> |
741 |
| - </test> |
742 | 674 | </tests>
|
0 commit comments