|
33 | 33 | <waitForElementVisible selector="{{section.videoBackgroundVideoElement(index)}}" stepKey="waitForVideoVisible"/>
|
34 | 34 | <waitForElement selector="{{section.videoBackgroundVideoUrl(index, videoUrl.renderedValue)}}" stepKey="waitForVideoUrl"/>
|
35 | 35 | <grabAttributeFrom selector="{{section.videoBackgroundJarallaxContainer(index)}}" userInput="style" stepKey="jarallaxStyle"/>
|
36 |
| - <assertContains stepKey="assertHeight"> |
| 36 | + <assertStringContainsString stepKey="assertHeight"> |
37 | 37 | <expectedResult type="string">height: 100%;</expectedResult>
|
38 | 38 | <actualResult type="variable">$jarallaxStyle</actualResult>
|
39 |
| - </assertContains> |
40 |
| - <assertContains stepKey="assertWidth"> |
| 39 | + </assertStringContainsString> |
| 40 | + <assertStringContainsString stepKey="assertWidth"> |
41 | 41 | <expectedResult type="string">width: 100%;</expectedResult>
|
42 | 42 | <actualResult type="variable">$jarallaxStyle</actualResult>
|
43 |
| - </assertContains> |
44 |
| - <assertContains stepKey="assertOverflowHidden"> |
| 43 | + </assertStringContainsString> |
| 44 | + <assertStringContainsString stepKey="assertOverflowHidden"> |
45 | 45 | <expectedResult type="string">overflow: hidden;</expectedResult>
|
46 | 46 | <actualResult type="variable">$jarallaxStyle</actualResult>
|
47 |
| - </assertContains> |
| 47 | + </assertStringContainsString> |
48 | 48 | <grabAttributeFrom selector="{{section.videoBackgroundVideoElement(index)}}" userInput="style" stepKey="videoStyle"/>
|
49 |
| - <assertContains stepKey="assertVideoPosition"> |
| 49 | + <assertStringContainsString stepKey="assertVideoPosition"> |
50 | 50 | <expectedResult type="string">position: absolute;</expectedResult>
|
51 | 51 | <actualResult type="variable">$videoStyle</actualResult>
|
52 |
| - </assertContains> |
53 |
| - <assertContains stepKey="assertVideoPlaying"> |
| 52 | + </assertStringContainsString> |
| 53 | + <assertStringContainsString stepKey="assertVideoPlaying"> |
54 | 54 | <expectedResult type="string">transform: translate3d(</expectedResult>
|
55 | 55 | <actualResult type="variable">$videoStyle</actualResult>
|
56 |
| - </assertContains> |
| 56 | + </assertStringContainsString> |
57 | 57 | <executeJS function="return window.getComputedStyle(document.evaluate("{{section.videoBackgroundOverlayElement(index)}}", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue).backgroundColor" stepKey="overlayColor"/>
|
58 | 58 | <assertEquals stepKey="assertOverlayColor">
|
59 | 59 | <expectedResult type="string">{{overlayColor}}</expectedResult>
|
|
70 | 70 | <actualResult type="variable">$fallbackImageSource</actualResult>
|
71 | 71 | </assertRegExp>
|
72 | 72 | <grabAttributeFrom selector="{{section.videoBackgroundFallbackImageSource(index, fallbackImage.fileName)}}" userInput="style" stepKey="fallbackImageStyle"/>
|
73 |
| - <assertContains stepKey="assertImageCover"> |
| 73 | + <assertStringContainsString stepKey="assertImageCover"> |
74 | 74 | <expectedResult type="string">object-fit: cover;</expectedResult>
|
75 | 75 | <actualResult type="variable">$fallbackImageStyle</actualResult>
|
76 |
| - </assertContains> |
77 |
| - <assertContains stepKey="assertImagePosition"> |
| 76 | + </assertStringContainsString> |
| 77 | + <assertStringContainsString stepKey="assertImagePosition"> |
78 | 78 | <expectedResult type="string">position: absolute;</expectedResult>
|
79 | 79 | <actualResult type="variable">$fallbackImageStyle</actualResult>
|
80 |
| - </assertContains> |
| 80 | + </assertStringContainsString> |
81 | 81 | </actionGroup>
|
82 | 82 | </actionGroups>
|
0 commit comments