Skip to content

Commit 0e51723

Browse files
committed
MAGETWO-91198: [Testing] Create/Update Automated Tests
- Fixing map test failures after map config & api branch merge
1 parent dff70cf commit 0e51723

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

dev/tests/acceptance/tests/functional/Magento/FunctionalTest/PageBuilder/Test/AdminPageBuilderMapCommonComponentTests.xml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1301,6 +1301,9 @@
13011301
<argument name="contentBlockType" value="PageBuilderMapContentBlock"/>
13021302
</actionGroup>
13031303
<actionGroup ref="clickMapToAddOrMovePin" stepKey="addMapPin"/>
1304+
<actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterLocationName">
1305+
<argument name="property" value="PageBuilderMapLocationName_TestLocation"/>
1306+
</actionGroup>
13041307
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
13051308
<actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/>
13061309
<!-- Load Storefront -->
@@ -1474,14 +1477,17 @@
14741477
<argument name="contentBlockType" value="PageBuilderMapContentBlock"/>
14751478
</actionGroup>
14761479
<actionGroup ref="clickMapToAddOrMovePin" stepKey="addMapPin"/>
1480+
<actionGroup ref="fillSlideOutPanelFieldGeneral" stepKey="enterLocationName">
1481+
<argument name="property" value="PageBuilderMapLocationName_TestLocation"/>
1482+
</actionGroup>
14771483
<actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
14781484
<actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/>
14791485
<!-- Load Storefront -->
14801486
<openNewTab stepKey="openNewTab"/>
14811487
<actionGroup ref="navigateToStoreFront" stepKey="navigateToStoreFront">
14821488
<argument name="contentBlockType" value="PageBuilderMapContentBlock"/>
14831489
</actionGroup>
1484-
<actionGroup ref="verifyMapHasPin" stepKey="validateMap">
1490+
<actionGroup ref="verifyMapHasPin" stepKey="validateMapStage">
14851491
<argument name="page" value="MapOnStorefront"/>
14861492
</actionGroup>
14871493
<switchToPreviousTab stepKey="switchToPreviousTab"/>
@@ -1502,13 +1508,12 @@
15021508
<!-- Validate Map Does Not Render On Configuration -->
15031509
<comment userInput="Validate Map Does Not Render On Configuration" stepKey="commentValidateConfiguration"/>
15041510
<actionGroup ref="dontSeeRenderedMapOnConfigurationPanel" stepKey="dontSeeRenderedMapOnConfigurationPanel"/>
1505-
<!-- Validate Map Does Not Render On Storefront -->
1506-
<comment userInput="Validate Map Does Not Render On Storefront" stepKey="commentValidateStorefront"/>
1511+
<!-- Validate Map Still Renders On Storefront -->
1512+
<comment userInput="Validate Map Still Not Renders On Storefront" stepKey="commentValidateStorefront"/>
15071513
<switchToNextTab stepKey="switchToNextTab"/>
15081514
<reloadPage stepKey="reloadPage2"/>
15091515
<waitForPageLoad stepKey="waitForPageLoad2"/>
1510-
<actionGroup ref="validateEmptyMapStoreFront" stepKey="validateEmptyMapStoreFront"/>
1511-
<actionGroup ref="validateMapErrorMessage" stepKey="validateMapErrorMessageOnStorefront">
1516+
<actionGroup ref="verifyMapHasPin" stepKey="validateMapStorefront">
15121517
<argument name="page" value="MapOnStorefront"/>
15131518
</actionGroup>
15141519
</test>

0 commit comments

Comments
 (0)