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 Jun 29, 2022
1 parent acc71ab commit d214b4c
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 d214b4c

Please sign in to comment.