|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 | <!--
|
3 | 3 | /**
|
4 |
| - * Copyright 2020 Adobe |
5 |
| - * All rights reserved. |
| 4 | + * Copyright © Magento, Inc. All rights reserved. |
| 5 | + * See COPYING.txt for license details. |
6 | 6 | */
|
7 | 7 | -->
|
8 | 8 | <actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
13 | 13 | </annotations>
|
14 | 14 | <arguments>
|
15 | 15 | <argument name="section" defaultValue="RowOnStage"/>
|
| 16 | + <argument name="videoUrl" defaultValue="PageBuilderVideoBackgroundUrl_Empty"/> |
16 | 17 | <argument name="infiniteLoop" defaultValue="PageBuilderVideoBackgroundInfiniteLoop_Enabled"/>
|
17 | 18 | <argument name="lazyLoad" defaultValue="PageBuilderVideoBackgroundLazyLoad_Enabled"/>
|
18 | 19 | <argument name="playOnlyWhenVisible" defaultValue="PageBuilderVideoBackgroundPlayOnlyWhenVisible_Enabled"/>
|
|
29 | 30 | <wait time="5" stepKey="waitToPreventVideoFlakiness"/>
|
30 | 31 | <scrollToTopOfPage stepKey="scrollToTopToAvoidFlakiness" />
|
31 | 32 | <waitForElement selector="{{section.videoBackgroundVideoElement(index)}}" stepKey="waitForVideoVisible"/>
|
| 33 | + <waitForElement selector="{{section.videoBackgroundVideoUrl(index, videoUrl.renderedValue)}}" stepKey="waitForVideoUrl"/> |
32 | 34 | <grabAttributeFrom selector="{{section.videoBackgroundJarallaxContainer(index)}}" userInput="style" stepKey="jarallaxStyle"/>
|
33 | 35 | <assertStringContainsString stepKey="assertHeight">
|
34 | 36 | <expectedResult type="string">height: 100%;</expectedResult>
|
|
48 | 50 | <actualResult type="variable">$videoStyle</actualResult>
|
49 | 51 | </assertStringContainsString>
|
50 | 52 | <assertStringContainsString stepKey="assertVideoPlaying">
|
51 |
| - <expectedResult type="string">transform-style: preserve-3d</expectedResult> |
| 53 | + <expectedResult type="string">transform: translate3d(</expectedResult> |
52 | 54 | <actualResult type="variable">$videoStyle</actualResult>
|
53 | 55 | </assertStringContainsString>
|
54 | 56 | <dontSeeElementInDOM selector="{{section.videoBackgroundOverlayElement(index)}}" stepKey="dontSeeOverlayColorInDOM"/>
|
55 | 57 | <waitForElementVisible selector="{{section.videoBackgroundInfiniteLoop(index, infiniteLoop.value)}}" stepKey="waitForInfiniteLoop"/>
|
56 | 58 | <waitForElementVisible selector="{{section.videoBackgroundLazyLoad(index, lazyLoad.value)}}" stepKey="waitForLazyLoad"/>
|
57 | 59 | <waitForElementVisible selector="{{section.videoBackgroundPlayOnlyWhenVisible(index, playOnlyWhenVisible.value)}}" stepKey="waitForPlayOnlyWhenVisible"/>
|
58 | 60 | <waitForElement selector="{{section.videoBackgroundNoFallbackImage(index)}}" stepKey="waitForNoFallbackImage"/>
|
| 61 | + <dontSeeElement selector="{{section.videoBackgroundNoFallbackImage(index)}}" stepKey="dontSeeFallbackImage"/> |
59 | 62 | <dontSeeElementInDOM selector="{{section.videoBackgroundFallbackImage(index)}}" stepKey="dontSeeFallbackImageInDOM"/>
|
60 | 63 | </actionGroup>
|
61 | 64 | </actionGroups>
|
0 commit comments