From 434933ff05bf3aca7d7488dc5c76ced99e21873b Mon Sep 17 00:00:00 2001 From: Kawika Avilla Date: Wed, 29 Jun 2022 15:30:14 -0700 Subject: [PATCH] [Tests] update tests to reflect max zoom level for maps (#1823) Maps zoom level were updated to be 14 as noted here: https://github.com/opensearch-project/maps/issues/4#issuecomment-1162013693 Issue: n/a Signed-off-by: Kawika Avilla (cherry picked from commit e7362f93994f7bef010da67648ad3957c8c783e6) --- test/functional/apps/visualize/_tile_map.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/apps/visualize/_tile_map.js b/test/functional/apps/visualize/_tile_map.js index 9a19264ba070..cbee197953ef 100644 --- a/test/functional/apps/visualize/_tile_map.js +++ b/test/functional/apps/visualize/_tile_map.js @@ -259,7 +259,7 @@ export default function ({ getService, getPageObjects }) { zoomWarningEnabled = await testSubjects.exists('zoomWarningEnabled'); log.debug(`Zoom warning enabled: ${zoomWarningEnabled}`); - const zoomLevel = 9; + const zoomLevel = 13; for (let i = 0; i < zoomLevel; i++) { await PageObjects.tileMap.clickMapZoomIn(); } @@ -276,7 +276,7 @@ export default function ({ getService, getPageObjects }) { } }); - it('should show warning at zoom 10', async () => { + it('should show warning at zoom 14', async () => { await testSubjects.existOrFail('maxZoomWarning'); });