Skip to content

Commit 28cb654

Browse files
committed
MC-3413: Update Google Maps API Key & Unskip Maps Tests
- Fixing closing map tooltip flakiness
1 parent 7f76690 commit 28cb654

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@
227227
<argument name="mapIndex" defaultValue="1" type="string"/>
228228
</arguments>
229229
<comment userInput="closeMapPinTooltipWindow" stepKey="comment"/>
230+
<moveMouseOver selector="{{page.base(mapIndex)}}" x="-1" y="0" stepKey="moveMouseOutsideMap"/>
231+
<waitForPageLoad stepKey="waitForOptionMenuGone"/>
230232
<click selector="{{page.tooltipWindowClose(mapIndex)}}" stepKey="closePinTooltip"/>
231233
<waitForElementNotVisible selector="{{page.tooltipWindow(mapIndex)}}" stepKey="waitForPinTooltipGone"/>
232234
</actionGroup>
@@ -254,6 +256,8 @@
254256
<waitForElementVisible selector="{{page.comment(mapIndex, comment.value)}}" stepKey="waitForComment"/>
255257
<waitForElementVisible selector="{{page.phoneNumber(mapIndex, phoneNumber.value)}}" stepKey="waitForPhoneNumber"/>
256258
<waitForElementVisible selector="{{page.addressCityStateZipCountry(mapIndex, address.value, city.value, state.tooltipValue, zip.value, country.tooltipValue)}}" stepKey="waitForAddress"/>
259+
<moveMouseOver selector="{{page.base(mapIndex)}}" x="-1" y="0" stepKey="moveMouseOutsideMap"/>
260+
<waitForPageLoad stepKey="waitForOptionMenuGone"/>
257261
<click selector="{{page.tooltipWindowClose(mapIndex)}}" stepKey="closePinTooltip"/>
258262
<waitForElementNotVisible selector="{{page.tooltipWindow(mapIndex)}}" stepKey="waitForPinTooltipGone"/>
259263
</actionGroup>

0 commit comments

Comments
 (0)