Skip to content

Commit 513124d

Browse files
committed
MC-4138: Flaky MFTF Test: StoreConfigurationGoogleMapsStyleFieldAppearance
- Adding waits to flaky test
1 parent 83b210b commit 513124d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
<comment userInput="Go To AdminContentManagementPage" stepKey="commentGoToPage"/>
126126
<actionGroup ref="navigateToAdminContentManagementPage" stepKey="navigateToAdminContentManagementPage"/>
127127
<conditionalClick stepKey="expandAdvancedContentTools" selector="{{ContentManagementSection.PageBuilderOptions}}" dependentSelector="{{ContentManagementSection.CheckIfPageBuilderTabExpanded}}" visible="true"/>
128+
<waitForPageLoad stepKey="waitForPageLoad"/>
128129
<!-- Validate Global Scope -->
129130
<comment userInput="Validate Global Scope" stepKey="commentValidateGlobal"/>
130131
<waitForElementVisible selector="{{ContentManagementSection.ConfigurationFieldLabel(googleMapsAPIKey.section, googleMapsAPIKey.row, googleMapsAPIKey.label)}}[@data-config-scope='[GLOBAL]']" stepKey="waitForConfigurationKeyScope"/>
@@ -140,8 +141,8 @@
140141
<comment userInput="Validate Get API Key Link" stepKey="commentValidateLink"/>
141142
<waitForElementVisible selector="{{ContentManagementSection.GoogleMapsGetAPIKeyLink}}" stepKey="waitForLink"/>
142143
<click selector="{{ContentManagementSection.GoogleMapsGetAPIKeyLink}}" stepKey="clickLink"/>
144+
<wait time="2" stepKey="waitForTabCreation"/>
143145
<switchToNextTab stepKey="switchToNextTab"/>
144-
<waitForPageLoad stepKey="waitForPageLoad"/>
145146
<seeCurrentUrlEquals url="https://developers.google.com/maps/documentation/javascript/get-api-key" stepKey="validateURL"/>
146147
</test>
147148
<test name="StoreConfigurationGoogleMapsAPIKeyTestKeyButtonValidKey">

0 commit comments

Comments
 (0)