Skip to content

Commit 83b210b

Browse files
author
Hwashiang Yu
committed
MC-4138: Flaky MFTF Test StoreConfigurationGoogleMapsStyleFieldAppearance
- Added additional waits
1 parent ed9380a commit 83b210b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Test/AdminPageBuilderStoreConfigurationGoogleMapsStyleTests.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
<comment userInput="Go To AdminContentManagementPage" stepKey="commentGoToPage"/>
3232
<actionGroup ref="navigateToAdminContentManagementPage" stepKey="navigateToAdminContentManagementPage"/>
3333
<conditionalClick stepKey="expandAdvancedContentTools" selector="{{ContentManagementSection.PageBuilderOptions}}" dependentSelector="{{ContentManagementSection.CheckIfPageBuilderTabExpanded}}" visible="true"/>
34+
<waitForPageLoad stepKey="waitForPageLoad"/>
3435
<!-- Validate Global Scope -->
3536
<comment userInput="Validate Global Scope" stepKey="commentValidateGlobal"/>
3637
<waitForElementVisible selector="{{ContentManagementSection.ConfigurationFieldLabel(googleMapsStyle.section, googleMapsStyle.row, googleMapsStyle.label)}}[@data-config-scope='[GLOBAL]']" stepKey="waitForConfigurationKeyScope"/>
@@ -42,6 +43,7 @@
4243
<comment userInput="Validate Create Map Style Link" stepKey="commentValidateLink"/>
4344
<waitForElementVisible selector="{{ContentManagementSection.GoogleMapsCreateMapStyleLink}}" stepKey="waitForLink"/>
4445
<click selector="{{ContentManagementSection.GoogleMapsCreateMapStyleLink}}" stepKey="clickLink"/>
46+
<wait time="2" stepKey="waitForTabCreation"/>
4547
<switchToNextTab stepKey="switchToNextTab"/>
4648
<seeCurrentUrlEquals url="https://mapstyle.withgoogle.com/" stepKey="validateURL"/>
4749
</test>

0 commit comments

Comments
 (0)