Skip to content

Commit d25e5c8

Browse files
committed
Merge remote-tracking branch 'origin/MC-4138-flaky-mftf-test-StoreConfigurationGoogleMapsStyleFieldAppearance' into cms-team-1-delivery
2 parents 07feb5b + 87d304e commit d25e5c8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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">

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919
<testCaseId value="MC-2859"/>
2020
<group value="pagebuilder"/>
2121
<group value="pagebuilder-googleMapsStyle"/>
22-
<skip>
23-
<issueId value="MC-4257"/>
24-
</skip>
2522
</annotations>
2623
<before>
2724
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
@@ -34,6 +31,7 @@
3431
<comment userInput="Go To AdminContentManagementPage" stepKey="commentGoToPage"/>
3532
<actionGroup ref="navigateToAdminContentManagementPage" stepKey="navigateToAdminContentManagementPage"/>
3633
<conditionalClick stepKey="expandAdvancedContentTools" selector="{{ContentManagementSection.PageBuilderOptions}}" dependentSelector="{{ContentManagementSection.CheckIfPageBuilderTabExpanded}}" visible="true"/>
34+
<waitForPageLoad stepKey="waitForPageLoad"/>
3735
<!-- Validate Global Scope -->
3836
<comment userInput="Validate Global Scope" stepKey="commentValidateGlobal"/>
3937
<waitForElementVisible selector="{{ContentManagementSection.ConfigurationFieldLabel(googleMapsStyle.section, googleMapsStyle.row, googleMapsStyle.label)}}[@data-config-scope='[GLOBAL]']" stepKey="waitForConfigurationKeyScope"/>
@@ -45,6 +43,7 @@
4543
<comment userInput="Validate Create Map Style Link" stepKey="commentValidateLink"/>
4644
<waitForElementVisible selector="{{ContentManagementSection.GoogleMapsCreateMapStyleLink}}" stepKey="waitForLink"/>
4745
<click selector="{{ContentManagementSection.GoogleMapsCreateMapStyleLink}}" stepKey="clickLink"/>
46+
<wait time="2" stepKey="waitForTabCreation"/>
4847
<switchToNextTab stepKey="switchToNextTab"/>
4948
<seeCurrentUrlEquals url="https://mapstyle.withgoogle.com/" stepKey="validateURL"/>
5049
</test>

0 commit comments

Comments
 (0)