|
646 | 646 | <wait time="3" stepKey="waitArbitraryTimeForPotentialNavigationToOccurStorefrontMobile2" />
|
647 | 647 | <seeCurrentUrlEquals url="{{ExternalLink.googleUrl}}" stepKey="seeThatUrlIsChangedToMobileWysiwygLinkUrlStorefront" />
|
648 | 648 | </test>
|
| 649 | + <test name="SlideItemPosterOverlayPosition"> |
| 650 | + <annotations> |
| 651 | + <features value="PageBuilder"/> |
| 652 | + <stories value="Slider"/> |
| 653 | + <title value="Poster - Check poster overlay position is correct"/> |
| 654 | + <description value="Check poster overlay is correct"/> |
| 655 | + <severity value="CRITICAL"/> |
| 656 | + <useCaseId value="MC-4116"/> |
| 657 | + <testCaseId value="MC-5033"/> |
| 658 | + <group value="pagebuilder"/> |
| 659 | + <group value="pagebuilder-slide"/> |
| 660 | + <group value="pagebuilder-slideItemPoster"/> |
| 661 | + </annotations> |
| 662 | + <before> |
| 663 | + <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/> |
| 664 | + <actionGroup ref="navigateToAPageWithPageBuilder" stepKey="navigateToAPageWithPageBuilder"/> |
| 665 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
| 666 | + </before> |
| 667 | + <after> |
| 668 | + <actionGroup ref="logout" stepKey="logout"/> |
| 669 | + </after> |
| 670 | + <actionGroup ref="addPageBuilderPageTitle" stepKey="enterPageTitle"> |
| 671 | + <argument name="contentType" value="PageBuilderSliderContentType"/> |
| 672 | + </actionGroup> |
| 673 | + <actionGroup ref="expandPageBuilderPanelGroup" stepKey="expandPageBuilderPanelGroup"> |
| 674 | + <argument name="group" value="PageBuilderSliderContentType"/> |
| 675 | + </actionGroup> |
| 676 | + <actionGroup ref="dragContentTypeToStageAndExpectEditPanel" stepKey="dragSliderIntoStage"> |
| 677 | + <argument name="contentType" value="PageBuilderSliderContentType"/> |
| 678 | + </actionGroup> |
| 679 | + <!-- Fill Out Edit Panel --> |
| 680 | + <comment userInput="Fill Out Edit Panel" stepKey="commentFillEditPanel"/> |
| 681 | + <actionGroup ref="chooseVisualSelectOption" stepKey="enterAppearanceProperty"> |
| 682 | + <argument name="property" value="PageBuilderAppearance_Poster"/> |
| 683 | + </actionGroup> |
| 684 | + <actionGroup ref="addTextToTinyMCE" stepKey="addTextToTinyMCE"> |
| 685 | + <argument name="property" value="PageBuilderSlideItemContent_Slide1"/> |
| 686 | + <argument name="section" value="SlideOnConfigurationPanel"/> |
| 687 | + </actionGroup> |
| 688 | + <actionGroup ref="selectSlideOutPanelField" stepKey="selectShowOverlay"> |
| 689 | + <argument name="property" value="PageBuilderSlideItemShowOverlay_Always"/> |
| 690 | + </actionGroup> |
| 691 | + <actionGroup ref="fillSlideOutPanelField" stepKey="enterOverlayColor"> |
| 692 | + <argument name="property" value="PageBuilderSlideItemOverlayColor_FF0000"/> |
| 693 | + </actionGroup> |
| 694 | + <actionGroup ref="fillSlideOutPanelField" stepKey="enterOverlayTransparency"> |
| 695 | + <argument name="property" value="PageBuilderSlideItemOverlayTransparency_70"/> |
| 696 | + </actionGroup> |
| 697 | + <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/> |
| 698 | + <click selector="{{PageBuilderPanel.searchPanel}}" stepKey="unFocusEditor"/> |
| 699 | + <!-- Validate Stage --> |
| 700 | + <comment userInput="Validate Stage" stepKey="commentValidateStage"/> |
| 701 | + <actionGroup ref="validateOverlayPositionPoster" stepKey="validateOverlayPositionStage"> |
| 702 | + <argument name="page" value="SlideOnBackend"/> |
| 703 | + </actionGroup> |
| 704 | + <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/> |
| 705 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
| 706 | + <!-- Validate Stage After Save --> |
| 707 | + <comment userInput="Validate Stage After Save" stepKey="commentValidateStageAfterSave"/> |
| 708 | + <actionGroup ref="validateOverlayPositionPoster" stepKey="validateOverlayPositionStageAfterSave"> |
| 709 | + <argument name="page" value="SlideOnBackend"/> |
| 710 | + </actionGroup> |
| 711 | + <!-- Validate Storefront --> |
| 712 | + <comment userInput="Validate Storefront" stepKey="commentValidateStorefront"/> |
| 713 | + <actionGroup ref="navigateToStoreFront" stepKey="navigateToStoreFront"> |
| 714 | + <argument name="contentType" value="PageBuilderSliderContentType"/> |
| 715 | + </actionGroup> |
| 716 | + <actionGroup ref="validateOverlayPositionPoster" stepKey="validateOverlayPositionStorefront"> |
| 717 | + <argument name="page" value="SlideOnFrontend"/> |
| 718 | + </actionGroup> |
| 719 | + </test> |
649 | 720 | <test name="SliderItemPosterButtonsCanBeEditedInline">
|
650 | 721 | <annotations>
|
651 | 722 | <features value="PageBuilder"/>
|
|
0 commit comments