|
2664 | 2664 | <argument name="index" value="2"/>
|
2665 | 2665 | </actionGroup>
|
2666 | 2666 | </test>
|
| 2667 | + <test name="BlockRenderSlideItemPosterAppearanceWithVideoBackgroundThroughBlockContentType"> |
| 2668 | + <annotations> |
| 2669 | + <features value="PageBuilder"/> |
| 2670 | + <stories value="Block Content"/> |
| 2671 | + <title value="Render Slide Item Poster Appearance with Video Background Through Block Content Type"/> |
| 2672 | + <description value="Verify that users are able to successfully render the poster slide content type with a video background through the Block content type."/> |
| 2673 | + <severity value="BLOCKER"/> |
| 2674 | + <testCaseId value="MC-32023"/> |
| 2675 | + <useCaseId value="PB-266"/> |
| 2676 | + <group value="pagebuilder"/> |
| 2677 | + <group value="pagebuilder-block"/> |
| 2678 | + <group value="pagebuilder-block-content"/> |
| 2679 | + <group value="pagebuilder-slide"/> |
| 2680 | + <group value="pagebuilder-sliderPoster"/> |
| 2681 | + <group value="pagebuilder-video-background"/> |
| 2682 | + </annotations> |
| 2683 | + <before> |
| 2684 | + <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> |
| 2685 | + <createData entity="_emptyCmsPage" stepKey="createCMSPage"/> |
| 2686 | + <createData entity="_emptyCmsBlock" stepKey="createCMSBlock"/> |
| 2687 | + <actionGroup ref="NavigateToCreatedCMSBlockPageActionGroup" stepKey="navigateToCreatedCMSBlockPage1"> |
| 2688 | + <argument name="CMSBlockPage" value="$$createCMSBlock$$"/> |
| 2689 | + </actionGroup> |
| 2690 | + </before> |
| 2691 | + <after> |
| 2692 | + <deleteData createDataKey="createCMSBlock" stepKey="deleteCMSBlock"/> |
| 2693 | + <deleteData createDataKey="createCMSPage" stepKey="deleteCMSPage"/> |
| 2694 | + <actionGroup ref="NavigateToMediaGalleryActionGroup" stepKey="navigateToMediaGallery"/> |
| 2695 | + <actionGroup ref="NavigateToMediaFolderActionGroup" stepKey="navigateToFallbackImageFolder"> |
| 2696 | + <argument name="FolderName" value="{{PageBuilderVideoBackgroundFallbackImage_JPG.path}}"/> |
| 2697 | + </actionGroup> |
| 2698 | + <actionGroup ref="DeleteImageFromStorageActionGroup" stepKey="deleteFallbackImage"> |
| 2699 | + <argument name="Image" value="PageBuilderVideoBackgroundFallbackImage_JPG"/> |
| 2700 | + </actionGroup> |
| 2701 | + <actionGroup ref="logout" stepKey="logout"/> |
| 2702 | + </after> |
| 2703 | + <!-- Add Slider to Stage --> |
| 2704 | + <actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandPageBuilderPanelMenuSection"> |
| 2705 | + <argument name="contentType" value="PageBuilderSliderContentType"/> |
| 2706 | + </actionGroup> |
| 2707 | + <actionGroup ref="dragContentTypeToStage" stepKey="dragSliderIntoStage"> |
| 2708 | + <argument name="contentType" value="PageBuilderSliderContentType"/> |
| 2709 | + <argument name="containerTargetIndex" value="1"/> |
| 2710 | + </actionGroup> |
| 2711 | + <!-- Set Video Background on Poster appearance Slide --> |
| 2712 | + <actionGroup ref="openPageBuilderEditPanelSmallByIndex" stepKey="openEditPanelAfterDrop"> |
| 2713 | + <argument name="section" value="SlideOnBackend"/> |
| 2714 | + </actionGroup> |
| 2715 | + <actionGroup ref="chooseVisualSelectOption" stepKey="setAppearance"> |
| 2716 | + <argument name="property" value="PageBuilderAppearance_Poster"/> |
| 2717 | + </actionGroup> |
| 2718 | + <actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterMinHeightProperty"> |
| 2719 | + <argument name="property" value="PageBuilderMinHeightProperty_200px"/> |
| 2720 | + </actionGroup> |
| 2721 | + <!-- Update All Video Background Fields --> |
| 2722 | + <actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterBackgroundColor"> |
| 2723 | + <argument name="property" value="PageBuilderBackgroundColor_Pink"/> |
| 2724 | + </actionGroup> |
| 2725 | + <actionGroup ref="chooseVisualSelectOption" stepKey="setBackgroundType"> |
| 2726 | + <argument name="property" value="PageBuilderBackgroundType_Video"/> |
| 2727 | + </actionGroup> |
| 2728 | + <actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterVideoUrl"> |
| 2729 | + <argument name="property" value="PageBuilderVideoBackgroundUrl_YouTube_Embedded"/> |
| 2730 | + </actionGroup> |
| 2731 | + <actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterOverlayColor"> |
| 2732 | + <argument name="property" value="PageBuilderVideoBackgroundOverlayColor_Hex_Grey"/> |
| 2733 | + </actionGroup> |
| 2734 | + <actionGroup ref="conditionalClickSlideOutPanelFieldGeneral" stepKey="setInfiniteLoop"> |
| 2735 | + <argument name="property" value="PageBuilderVideoBackgroundInfiniteLoop_Enabled"/> |
| 2736 | + </actionGroup> |
| 2737 | + <actionGroup ref="conditionalClickSlideOutPanelFieldGeneral" stepKey="setLazyLoad"> |
| 2738 | + <argument name="property" value="PageBuilderVideoBackgroundLazyLoad_Enabled"/> |
| 2739 | + </actionGroup> |
| 2740 | + <actionGroup ref="conditionalClickSlideOutPanelFieldGeneral" stepKey="setPlayOnlyWhenVisible"> |
| 2741 | + <argument name="property" value="PageBuilderVideoBackgroundPlayOnlyWhenVisible_Enabled"/> |
| 2742 | + </actionGroup> |
| 2743 | + <actionGroup ref="attachFileSlideOutProperty" stepKey="attachFallbackImage"> |
| 2744 | + <argument name="property" value="PageBuilderVideoBackgroundFallbackImage_JPG"/> |
| 2745 | + </actionGroup> |
| 2746 | + <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/> |
| 2747 | + <!-- Validate Stage --> |
| 2748 | + <actionGroup ref="validateVideoBackgroundWithAllAttributes" stepKey="validateCMSBlockStage"> |
| 2749 | + <argument name="section" value="SlideOnBackend"/> |
| 2750 | + <argument name="backgroundColor" value="{{PageBuilderBackgroundColor_Pink.rgb}}"/> |
| 2751 | + <argument name="videoUrl" value="PageBuilderVideoBackgroundUrl_YouTube_Embedded"/> |
| 2752 | + <argument name="overlayColor" value="{{PageBuilderVideoBackgroundOverlayColor_Hex_Grey.rgba}}"/> |
| 2753 | + <argument name="infiniteLoop" value="PageBuilderVideoBackgroundInfiniteLoop_Enabled"/> |
| 2754 | + <argument name="lazyLoad" value="PageBuilderVideoBackgroundLazyLoad_Enabled"/> |
| 2755 | + <argument name="playOnlyWhenVisible" value="PageBuilderVideoBackgroundPlayOnlyWhenVisible_Enabled"/> |
| 2756 | + <argument name="fallbackImage" value="PageBuilderVideoBackgroundFallbackImage_JPG"/> |
| 2757 | + </actionGroup> |
| 2758 | + <actionGroup ref="SaveCMSBlockActionGroup" stepKey="saveCMSBlock"/> |
| 2759 | + <!-- Add Block to CMS Page --> |
| 2760 | + <actionGroup ref="NavigateToCreatedCMSPageActionGroup" stepKey="navigateToCreatedCMSPage"> |
| 2761 | + <argument name="CMSPage" value="$$createCMSPage$$"/> |
| 2762 | + </actionGroup> |
| 2763 | + <actionGroup ref="expandPageBuilderPanelMenuSection" stepKey="expandPanelAddContentMenuSection"> |
| 2764 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 2765 | + </actionGroup> |
| 2766 | + <actionGroup ref="dragContentTypeToStage" stepKey="dragBlockIntoStage"> |
| 2767 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 2768 | + </actionGroup> |
| 2769 | + <actionGroup ref="openPageBuilderEditPanel" stepKey="openEditAfterDropBlock"> |
| 2770 | + <argument name="contentType" value="PageBuilderBlockContentType"/> |
| 2771 | + </actionGroup> |
| 2772 | + <actionGroup ref="searchBlockInGrid" stepKey="searchBlockInGrid"> |
| 2773 | + <argument name="block" value="$$createCMSBlock$$"/> |
| 2774 | + </actionGroup> |
| 2775 | + <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettingsBlock"/> |
| 2776 | + <!-- Validate CMS Page Stage --> |
| 2777 | + <actionGroup ref="validateVideoBackgroundWithAllAttributes" stepKey="validateCMSPageStage"> |
| 2778 | + <argument name="section" value="SlideOnBackend"/> |
| 2779 | + <argument name="backgroundColor" value="{{PageBuilderBackgroundColor_Pink.rgb}}"/> |
| 2780 | + <argument name="videoUrl" value="PageBuilderVideoBackgroundUrl_YouTube_Embedded"/> |
| 2781 | + <argument name="overlayColor" value="{{PageBuilderVideoBackgroundOverlayColor_Hex_Grey.rgba}}"/> |
| 2782 | + <argument name="infiniteLoop" value="PageBuilderVideoBackgroundInfiniteLoop_Enabled"/> |
| 2783 | + <argument name="lazyLoad" value="PageBuilderVideoBackgroundLazyLoad_Enabled"/> |
| 2784 | + <argument name="playOnlyWhenVisible" value="PageBuilderVideoBackgroundPlayOnlyWhenVisible_Enabled"/> |
| 2785 | + <argument name="fallbackImage" value="PageBuilderVideoBackgroundFallbackImage_JPG"/> |
| 2786 | + </actionGroup> |
| 2787 | + <actionGroup ref="SaveAndContinueEditCmsPageActionGroup" stepKey="saveAndContinueEditCmsPage"/> |
| 2788 | + <!-- Validate Storefront --> |
| 2789 | + <actionGroup ref="NavigateToStorefrontForCreatedPageActionGroup" stepKey="navigateToStorefront"> |
| 2790 | + <argument name="page" value="$$createCMSPage.identifier$$"/> |
| 2791 | + </actionGroup> |
| 2792 | + <actionGroup ref="validateVideoBackgroundWithAllAttributes" stepKey="validateStorefront"> |
| 2793 | + <argument name="section" value="SlideOnFrontend"/> |
| 2794 | + <argument name="backgroundColor" value="{{PageBuilderBackgroundColor_Pink.rgb}}"/> |
| 2795 | + <argument name="videoUrl" value="PageBuilderVideoBackgroundUrl_YouTube_Embedded"/> |
| 2796 | + <argument name="overlayColor" value="{{PageBuilderVideoBackgroundOverlayColor_Hex_Grey.rgba}}"/> |
| 2797 | + <argument name="infiniteLoop" value="PageBuilderVideoBackgroundInfiniteLoop_Enabled"/> |
| 2798 | + <argument name="lazyLoad" value="PageBuilderVideoBackgroundLazyLoad_Enabled"/> |
| 2799 | + <argument name="playOnlyWhenVisible" value="PageBuilderVideoBackgroundPlayOnlyWhenVisible_Enabled"/> |
| 2800 | + <argument name="fallbackImage" value="PageBuilderVideoBackgroundFallbackImage_JPG"/> |
| 2801 | + </actionGroup> |
| 2802 | + </test> |
| 2803 | + <test name="BlockRenderSlideItemCollageLeftAppearanceWithVideoBackgroundThroughBlockContentType" extends="BlockRenderSlideItemPosterAppearanceWithVideoBackgroundThroughBlockContentType"> |
| 2804 | + <annotations> |
| 2805 | + <features value="PageBuilder"/> |
| 2806 | + <stories value="Block Content"/> |
| 2807 | + <title value="Render Slide Item Collage Left Appearance with Video Background Through Block Content Type"/> |
| 2808 | + <description value="Verify that users are able to successfully render the collage left slide content type with a video background through the Block content type."/> |
| 2809 | + <severity value="BLOCKER"/> |
| 2810 | + <testCaseId value="MC-32024"/> |
| 2811 | + <useCaseId value="PB-266"/> |
| 2812 | + <group value="pagebuilder"/> |
| 2813 | + <group value="pagebuilder-block"/> |
| 2814 | + <group value="pagebuilder-block-content"/> |
| 2815 | + <group value="pagebuilder-slide"/> |
| 2816 | + <group value="pagebuilder-slideItemCollageLeft"/> |
| 2817 | + <group value="pagebuilder-video-background"/> |
| 2818 | + </annotations> |
| 2819 | + <actionGroup ref="chooseVisualSelectOption" stepKey="setAppearance"> |
| 2820 | + <argument name="property" value="PageBuilderAppearance_CollageLeft"/> |
| 2821 | + </actionGroup> |
| 2822 | + </test> |
| 2823 | + <test name="BlockRenderSlideItemCollageRightAppearanceWithVideoBackgroundThroughBlockContentType" extends="BlockRenderSlideItemPosterAppearanceWithVideoBackgroundThroughBlockContentType"> |
| 2824 | + <annotations> |
| 2825 | + <features value="PageBuilder"/> |
| 2826 | + <stories value="Block Content"/> |
| 2827 | + <title value="Render Slide Item Collage Right Appearance with Video Background Through Block Content Type"/> |
| 2828 | + <description value="Verify that users are able to successfully render the collage right slide content type with a video background through the Block content type."/> |
| 2829 | + <severity value="BLOCKER"/> |
| 2830 | + <testCaseId value="MC-32025"/> |
| 2831 | + <useCaseId value="PB-266"/> |
| 2832 | + <group value="pagebuilder"/> |
| 2833 | + <group value="pagebuilder-block"/> |
| 2834 | + <group value="pagebuilder-block-content"/> |
| 2835 | + <group value="pagebuilder-slide"/> |
| 2836 | + <group value="pagebuilder-slideItemCollageRight"/> |
| 2837 | + <group value="pagebuilder-video-background"/> |
| 2838 | + </annotations> |
| 2839 | + <actionGroup ref="chooseVisualSelectOption" stepKey="setAppearance"> |
| 2840 | + <argument name="property" value="PageBuilderAppearance_CollageRight"/> |
| 2841 | + </actionGroup> |
| 2842 | + </test> |
| 2843 | + <test name="BlockRenderSlideItemCollageCenterAppearanceWithVideoBackgroundThroughBlockContentType" extends="BlockRenderSlideItemPosterAppearanceWithVideoBackgroundThroughBlockContentType"> |
| 2844 | + <annotations> |
| 2845 | + <features value="PageBuilder"/> |
| 2846 | + <stories value="Block Content"/> |
| 2847 | + <title value="Render Slide Item Collage Center Appearance with Video Background Through Block Content Type"/> |
| 2848 | + <description value="Verify that users are able to successfully render the collage center slide content type with a video background through the Block content type."/> |
| 2849 | + <severity value="BLOCKER"/> |
| 2850 | + <testCaseId value="MC-32026"/> |
| 2851 | + <useCaseId value="PB-266"/> |
| 2852 | + <group value="pagebuilder"/> |
| 2853 | + <group value="pagebuilder-block"/> |
| 2854 | + <group value="pagebuilder-block-content"/> |
| 2855 | + <group value="pagebuilder-slide"/> |
| 2856 | + <group value="pagebuilder-slideItemCollageCenter"/> |
| 2857 | + <group value="pagebuilder-video-background"/> |
| 2858 | + </annotations> |
| 2859 | + <actionGroup ref="chooseVisualSelectOption" stepKey="setAppearance"> |
| 2860 | + <argument name="property" value="PageBuilderAppearance_CollageCentered"/> |
| 2861 | + </actionGroup> |
| 2862 | + </test> |
2667 | 2863 | </tests>
|
0 commit comments