Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 1.3] [Tests] update tests to reflect max zoom level for maps #1825

Merged
merged 1 commit into from
Jul 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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