Skip to content

Commit 52620a7

Browse files
authored
Improve stability of action group
1 parent 817f070 commit 52620a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/PageBuilder/Test/Mftf/ActionGroup/BackgroundConfigurationActionGroup/ValidateVideoBackgroundWithOnlyVideoUrlActionGroup.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
<expectedResult type="string">{{defaultBackgroundColor.rgb}}</expectedResult>
2828
<actualResult type="variable">grabBackgroundColorValue</actualResult>
2929
</assertEquals>
30-
<scrollToTopOfPage stepKey="scrollToTopToAvoidFlakiness" />
3130
<wait time="5" stepKey="waitToPreventVideoFlakiness"/>
32-
<waitForElementVisible selector="{{section.videoBackgroundVideoElement(index)}}" stepKey="waitForVideoVisible"/>
31+
<scrollToTopOfPage stepKey="scrollToTopToAvoidFlakiness" />
32+
<waitForElement selector="{{section.videoBackgroundVideoElement(index)}}" stepKey="waitForVideoVisible"/>
3333
<waitForElement selector="{{section.videoBackgroundVideoUrl(index, videoUrl.renderedValue)}}" stepKey="waitForVideoUrl"/>
3434
<grabAttributeFrom selector="{{section.videoBackgroundJarallaxContainer(index)}}" userInput="style" stepKey="jarallaxStyle"/>
3535
<assertStringContainsString stepKey="assertHeight">

0 commit comments

Comments
 (0)