|
1014 | 1014 | <group value="pagebuilder-requiresValidMapAPIKey"/>
|
1015 | 1015 | </annotations>
|
1016 | 1016 | <before>
|
1017 |
| - <magentoCLI command="config:set cms/pagebuilder/google_maps_api_key {{googleMapsAPIKey.valid}}" stepKey="setValidGoogleMapsAPIKey"/> |
1018 | 1017 | <createData entity="_defaultCmsPage" stepKey="createCMSPage" />
|
1019 | 1018 | <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
|
1020 | 1019 | </before>
|
1021 | 1020 | <after>
|
1022 | 1021 | <magentoCLI command="config:set cms/pagebuilder/google_maps_api_key ''" stepKey="setEmptyGoogleMapsAPIKey"/>
|
1023 |
| - <actionGroup ref="logout" stepKey="logout"/> |
1024 | 1022 | <deleteData createDataKey="createCMSPage" stepKey="deletePreReqCMSPage" />
|
| 1023 | + <actionGroup ref="logout" stepKey="logout"/> |
1025 | 1024 | </after>
|
1026 | 1025 | <actionGroup ref="navigateToCreatedCMSPage" stepKey="navigateToCreatedCMSPage">
|
1027 | 1026 | <argument name="CMSPage" value="$$createCMSPage$$"/>
|
|
1084 | 1083 | <argument name="country" value="PageBuilderMapCountry_USA"/>
|
1085 | 1084 | </actionGroup>
|
1086 | 1085 | <actionGroup ref="saveEditPanelSettings" stepKey="saveEditPanelSettings"/>
|
| 1086 | + <!-- Save Page and Set Valid API Key --> |
| 1087 | + <comment userInput="Save Page and Set Valid API Key" stepKey="commentSavePageAndSetKey"/> |
| 1088 | + <magentoCLI command="config:set cms/pagebuilder/google_maps_api_key {{googleMapsAPIKey.valid}}" stepKey="setValidGoogleMapsAPIKey"/> |
| 1089 | + <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/> |
| 1090 | + <actionGroup ref="switchToPageBuilderStage" stepKey="switchToPageBuilderStage"/> |
| 1091 | + <!-- Validate Stage --> |
| 1092 | + <comment userInput="Validate Stage" stepKey="commentValidateStage1"/> |
1087 | 1093 | <!-- Validate contents of tooltip on stage -->
|
1088 | 1094 | <comment userInput="Validate contents of tooltip on stage" stepKey="commentValidateContentsOfTooltip" />
|
1089 | 1095 | <actionGroup ref="validateMapPinLocationData" stepKey="validateMapTooltipStage">
|
|
1099 | 1105 | </actionGroup>
|
1100 | 1106 | <!-- Validate store front -->
|
1101 | 1107 | <comment userInput="Validate storefront" stepKey="commentValidateStorefront" />
|
1102 |
| - <actionGroup ref="saveAndContinueEditCmsPage" stepKey="saveAndContinueEditCmsPage"/> |
1103 |
| - <amOnPage url="$$createCMSPage.identifier$$" stepKey="amOnPageTestPage"/> |
1104 |
| - <waitForPageLoad stepKey="waitForPageLoad" /> |
| 1108 | + <actionGroup ref="navigateToStorefrontForCreatedPage" stepKey="navigateToCmsPage"> |
| 1109 | + <argument name="page" value="$$createCMSPage.identifier$$"/> |
| 1110 | + </actionGroup> |
1105 | 1111 | <actionGroup ref="validateMapPinLocationData" stepKey="validateMapTooltipStorefront">
|
1106 | 1112 | <argument name="page" value="MapOnStorefront" />
|
1107 | 1113 | <argument name="locationName" value="PageBuilderMapLocationName_HtmlCode"/>
|
|
0 commit comments