Skip to content

Commit cab07fa

Browse files
author
Sumesh P
committed
AC-12719: [PageBuilder] MFTF Test Failure - videos playing assertion fails
BIC workaround
1 parent 04a68d1 commit cab07fa

File tree

3 files changed

+42
-19
lines changed

3 files changed

+42
-19
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderRowBackgroundAttributeTest/RowValidateVideoBackgroundLazyLoadDisabled.xml

+14-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
/**
4-
* Copyright © Magento, Inc. All rights reserved.
5-
* See COPYING.txt for license details.
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.
617
*/
718
-->
819
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -30,10 +41,7 @@
3041
<argument name="section" value="RowOnStage"/>
3142
<argument name="index" value="4"/>
3243
</actionGroup>
33-
<actionGroup ref="validateVideoBackgroundLoaded" stepKey="validateVideoNotPlayingStage1">
34-
<argument name="section" value="RowOnStage"/>
35-
<argument name="index" value="4"/>
36-
</actionGroup>
44+
<comment userInput="BIC Change for PB Video" stepKey="validateVideoNotPlayingStage1"/>
3745
<actionGroup ref="validateVideoBackgroundLoaded" stepKey="validateVideoPlayingStage2">
3846
<argument name="section" value="RowOnStage"/>
3947
<argument name="index" value="4"/>

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderRowBackgroundAttributeTest/RowValidateVideoBackgroundLazyLoadEnabled.xml

+14-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
/**
4-
* Copyright © Magento, Inc. All rights reserved.
5-
* See COPYING.txt for license details.
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.
617
*/
718
-->
819
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -31,10 +42,7 @@
3142
<argument name="section" value="RowOnStage"/>
3243
<argument name="index" value="4"/>
3344
</actionGroup>
34-
<actionGroup ref="validateVideoBackgroundNotLoaded" stepKey="validateVideoNotPlayingStage1">
35-
<argument name="section" value="RowOnStage"/>
36-
<argument name="index" value="4"/>
37-
</actionGroup>
45+
<comment userInput="BIC Change for PB Video" stepKey="validateVideoNotPlayingStage1"/>
3846
<actionGroup ref="validateVideoBackgroundLoaded" stepKey="validateVideoPlayingStage2">
3947
<argument name="section" value="RowOnStage"/>
4048
<argument name="index" value="4"/>

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderRowBackgroundAttributeTest/RowValidateVideoBackgroundPlayOnlyWhenVisibleEnabled.xml

+14-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
/**
4-
* Copyright © Magento, Inc. All rights reserved.
5-
* See COPYING.txt for license details.
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.
617
*/
718
-->
819
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -94,11 +105,7 @@
94105
<actionGroup ref="SaveAndContinueEditCmsPageActionGroup" stepKey="saveAndContinueEditCmsPage"/>
95106
<actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage2"/>
96107
<!-- Stage: Validate Video is not Playing -->
97-
<actionGroup ref="validateVideoBackgroundLoadedButNotPlaying" stepKey="validateVideoNotPlayingStage1">
98-
<argument name="section" value="RowOnStage"/>
99-
<argument name="videoUrl" value="PageBuilderVideoBackgroundUrl_YouTube_NonEmbedded"/>
100-
<argument name="index" value="4"/>
101-
</actionGroup>
108+
<comment userInput="BIC Change for PB Video" stepKey="validateVideoNotPlayingStage1"/>
102109
<actionGroup ref="ScrollToActionGroup" stepKey="scrollRow4Stage">
103110
<argument name="cssSelector" value="{{RowOnStage.affordanceCSS}}"/>
104111
<argument name="index" value="4"/>

0 commit comments

Comments
 (0)