From 8478f31518f99b286aed58b9029aeb123908fbb6 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Wed, 29 Jun 2022 15:51:50 -0700 Subject: [PATCH] [Tests] update tests to reflect max zoom level for maps (#1823) (#1827) 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) Co-authored-by: Kawika Avilla --- 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'); });