Skip to content

Commit

Permalink
[Tests] update tests to reflect max zoom level for maps (#1823) (#1825)
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)

Co-authored-by: Kawika Avilla <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and kavilla authored Jul 8, 2022
1 parent 1bd1e05 commit fdfd518
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 @@ -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();
}
Expand All @@ -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');
});

Expand Down

0 comments on commit fdfd518

Please sign in to comment.