|
622 | 622 | </actionGroup>
|
623 | 623 | <dontSeeElementInDOM selector="{{VideoOnStage.base('1')}}" stepKey="dontSeeVideo"/>
|
624 | 624 | </test>
|
625 |
| - <test name="VideoCanAddToColumn"> |
626 |
| - <annotations> |
627 |
| - <features value="PageBuilder"/> |
628 |
| - <stories value="Video"/> |
629 |
| - <title value="Add Video to Column container and view on Admin and Storefront"/> |
630 |
| - <description value="As a Content Manager I want column to be a container so that I can add Video inside"/> |
631 |
| - <severity value="CRITICAL"/> |
632 |
| - <useCaseId value="MC-515"/> |
633 |
| - <testCaseId value="MC-3138"/> |
634 |
| - <group value="pagebuilder"/> |
635 |
| - <group value="pagebuilder-column"/> |
636 |
| - <group value="pagebuilder-video"/> |
637 |
| - <group value="pagebuilder-addToColumn"/> |
638 |
| - </annotations> |
639 |
| - <before> |
640 |
| - <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> |
641 |
| - <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/> |
642 |
| - <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
643 |
| - </before> |
644 |
| - <after> |
645 |
| - <actionGroup ref="logout" stepKey="logout"/> |
646 |
| - </after> |
647 |
| - <actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle"> |
648 |
| - <argument name="contentType" value="PageBuilderVideoContentType"/> |
649 |
| - </actionGroup> |
650 |
| - <actionGroup ref="dragContentTypeToStage" stepKey="dragColumnIntoStage"> |
651 |
| - <argument name="contentType" value="PageBuilderColumnContentType"/> |
652 |
| - </actionGroup> |
653 |
| - <!-- Add Video to Stage --> |
654 |
| - <comment userInput="Add Video to Stage" stepKey="addVideoToStage"/> |
655 |
| - <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandGroupMedia"> |
656 |
| - <argument name="group" value="PageBuilderVideoContentType"/> |
657 |
| - </actionGroup> |
658 |
| - <actionGroup ref="dragContentTypeToContainer" stepKey="dragVideoOntoColumn"> |
659 |
| - <argument name="contentType" value="PageBuilderVideoContentType"/> |
660 |
| - <argument name="containerTargetType" value="PageBuilderColumnContentType"/> |
661 |
| - <argument name="containerTargetIndex" value="2" /> |
662 |
| - </actionGroup> |
663 |
| - <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/> |
664 |
| - <!-- Validate Stage --> |
665 |
| - <comment userInput="User sees Video displayed in column on Stage" stepKey="confirmVideoOnStage"/> |
666 |
| - <actionGroup ref="validateContentTypeInsideContainerStage" stepKey="checkContentTypeInContainerStage"> |
667 |
| - <argument name="contentType" value="PageBuilderVideoContentType"/> |
668 |
| - <argument name="containerTargetType" value="PageBuilderColumnContentType"/> |
669 |
| - <argument name="contentTypeIndex" value="1"/> |
670 |
| - <argument name="containerTargetIndex" value="2"/> |
671 |
| - </actionGroup> |
672 |
| - <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/> |
673 |
| - <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/> |
674 |
| - <!-- Validate Stage After Save --> |
675 |
| - <comment userInput="Validate stage after save" stepKey="validateVideoOnStage"/> |
676 |
| - <actionGroup ref="validateContentTypeInsideContainerStage" stepKey="checkContentTypeInContainerStage2"> |
677 |
| - <argument name="contentType" value="PageBuilderVideoContentType"/> |
678 |
| - <argument name="containerTargetType" value="PageBuilderColumnContentType"/> |
679 |
| - <argument name="contentTypeIndex" value="1"/> |
680 |
| - <argument name="containerTargetIndex" value="2"/> |
681 |
| - </actionGroup> |
682 |
| - <!-- Validate Storefront --> |
683 |
| - <comment userInput="View Video inside column on storefront" stepKey="viewVideoOnStorefront"/> |
684 |
| - <actionGroup ref="navigateToStoreFront" stepKey="navigateToStoreFront"> |
685 |
| - <argument name="contentType" value="PageBuilderVideoContentType"/> |
686 |
| - </actionGroup> |
687 |
| - <actionGroup ref="validateContentTypeInsideContainerStorefrontInDOM" stepKey="checkContentTypeInContainerStorefront"> |
688 |
| - <argument name="contentType" value="PageBuilderVideoContentType"/> |
689 |
| - <argument name="containerTargetType" value="PageBuilderColumnContentType"/> |
690 |
| - <argument name="contentTypeIndex" value="1"/> |
691 |
| - <argument name="containerTargetIndex" value="2"/> |
692 |
| - </actionGroup> |
693 |
| - </test> |
694 | 625 | <test name="CanAddVideoToColumn">
|
695 | 626 | <annotations>
|
696 | 627 | <features value="PageBuilder"/>
|
|
0 commit comments