Skip to content

Commit

Permalink
[Tests] update tests to reflect max zoom level for maps (#1823)
Browse files Browse the repository at this point in the history
Maps zoom level were updated to be 14 as noted here:
opensearch-project/maps#4 (comment)

Issue:
n/a

Signed-off-by: Kawika Avilla <[email protected]>
(cherry picked from commit e7362f9)
  • Loading branch information
kavilla authored and github-actions[bot] committed Sep 19, 2022
1 parent c3f6d2b commit 434933f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/apps/visualize/_tile_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand All @@ -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');
});

Expand Down

0 comments on commit 434933f

Please sign in to comment.