From fdfd5186dfc869705041ca30559da7b895ba7d43 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Fri, 8 Jul 2022 11:47:43 -0700 Subject: [PATCH] [Tests] update tests to reflect max zoom level for maps (#1823) (#1825) 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 12fa012dbba4..330ea20836da 100644 --- a/test/functional/apps/visualize/_tile_map.js +++ b/test/functional/apps/visualize/_tile_map.js @@ -261,7 +261,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(); } @@ -278,7 +278,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'); });