Skip to content

Commit 2c3d275

Browse files
committed
MC-5723: Flaky MFTF Map Tests - Google Maps Rate Limit Reached
- Fixing failing test - Removing unused action groups
1 parent 5bebf77 commit 2c3d275

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

app/code/Magento/PageBuilder/Test/Mftf/ActionGroup/ContentTypeMapActionGroup.xml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -362,14 +362,6 @@
362362
<waitForElementVisible selector="{{page.latitude(index, latitude)}}" stepKey="waitForLatitude"/>
363363
<waitForElementVisible selector="{{page.longitude(index, longitude)}}" stepKey="waitForLongitude"/>
364364
</actionGroup>
365-
<actionGroup name="dontSeeWarningMessage">
366-
<arguments>
367-
<argument name="page" defaultValue="MapOnStage"/>
368-
<argument name="index" defaultValue="1" type="string"/>
369-
</arguments>
370-
<waitForElement selector="{{page.base(index)}}" stepKey="seeMap"/>
371-
<dontSee userInput="{{googleMapsAPIKey.warningMessage}}" stepKey="dontSeeWarningMessage"/>
372-
</actionGroup>
373365
<actionGroup name="validateMapErrorMessageStage">
374366
<arguments>
375367
<argument name="index" defaultValue="1" type="string"/>
@@ -394,13 +386,6 @@
394386
<see userInput="{{PageBuilderMapCommonData.mapErrorTitleStorefront}}" selector="{{MapOnStorefront.errorTitle(index)}}" stepKey="seeMapErrorTitle"/>
395387
<see userInput="{{PageBuilderMapCommonData.mapErrorMessageStorefront}}" selector="{{MapOnStorefront.errorMessage(index)}}" stepKey="seeMapErrorMessage"/>
396388
</actionGroup>
397-
<actionGroup name="dontSeeRenderedMapOnLocationForm">
398-
<arguments>
399-
<argument name="index" defaultValue="1" type="string"/>
400-
</arguments>
401-
<waitForElementVisible selector="{{AddLocationForm.base(index)}}" stepKey="seeMap"/>
402-
<dontSeeElementInDOM selector="{{AddLocationForm.renderedMap}}" stepKey="dontSeeRenderedMap"/>
403-
</actionGroup>
404389
<actionGroup name="validateWarningMessageLink">
405390
<arguments>
406391
<argument name="section"/>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@
329329
<waitForPageLoad stepKey="waitForPageLoad"/>
330330
<waitForElementVisible selector="{{AddLocationForm.form}}" stepKey="waitForForm"/>
331331
<see userInput="Add Location" selector="{{AddLocationForm.formTitle}}" stepKey="seeFormTitle"/>
332-
<waitForElementVisible selector="{{AddLocationForm.base}}" stepKey="waitForLocationMap"/>
332+
<waitForElementVisible selector="{{AddLocationForm.errorContainer('1')}}" stepKey="waitForLocationMapOverlay"/>
333333
<actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterLocationName2">
334334
<argument name="property" value="PageBuilderMapLocationName_TestLocationEdit"/>
335335
</actionGroup>

0 commit comments

Comments
 (0)