|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 | <!--
|
3 | 3 | /**
|
4 |
| - * Copyright © Magento, Inc. All rights reserved. |
5 |
| - * See COPYING.txt for license details. |
6 |
| - */ |
| 4 | + * ADOBE CONFIDENTIAL |
| 5 | + * |
| 6 | + * Copyright 2020 Adobe |
| 7 | + * All Rights Reserved. |
| 8 | + * |
| 9 | + * NOTICE: All information contained herein is, and remains |
| 10 | + * the property of Adobe and its suppliers, if any. The intellectual |
| 11 | + * and technical concepts contained herein are proprietary to Adobe |
| 12 | + * and its suppliers and are protected by all applicable intellectual |
| 13 | + * property laws, including trade secret and copyright laws. |
| 14 | + * Dissemination of this information or reproduction of this material |
| 15 | + * is strictly forbidden unless prior written permission is obtained |
| 16 | + * from Adobe. |
| 17 | + */ |
7 | 18 | -->
|
8 | 19 | <actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
9 |
| - xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd"> |
| 20 | + xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd"> |
10 | 21 | <actionGroup name="validateVideoPlaying">
|
11 | 22 | <annotations>
|
12 | 23 | <description>Validates that the video content type is playing.</description>
|
|
17 | 28 | </arguments>
|
18 | 29 | <waitForPageLoad stepKey="waitForPageLoad"/>
|
19 | 30 | <waitForElementVisible selector="{{page.videoElement(index)}}" stepKey="waitForVideoVisible"/>
|
20 |
| - <executeJS function="document.querySelector('[data-element=\'video\']').id = 'video-iframe'" stepKey="setIframeId"/> |
21 |
| - <switchToIFrame userInput="video-iframe" stepKey="switchToVideoIframe"/> |
22 |
| - <waitForElementVisible selector="{{page.iframePlaying(index)}}" stepKey="seeIframePlaying"/> |
23 |
| - <switchToIFrame stepKey="switchBackFromIframe"/> |
| 31 | + <comment userInput="BIC Change for PB Video: Iframe not available as video URL is changed" stepKey="setIframeId"/> |
| 32 | + <comment userInput="BIC Change for PB Video: Iframe not available as video URL is changed" stepKey="switchToVideoIframe"/> |
| 33 | + <waitForElementVisible selector="{{page.videoAutoplay(index)}}" stepKey="seeIframePlaying"/> |
| 34 | + <comment userInput="BIC Change for PB Video: Iframe not available as video URL is changed" stepKey="switchBackFromIframe"/> |
24 | 35 | </actionGroup>
|
25 | 36 | </actionGroups>
|
0 commit comments