mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
Should only support 10 zoom levels. (#10041)
The map service is dialed back to only support 10 zoom levels iso. 12. Update corresponding integration test.
This commit is contained in:
parent
5ba6603042
commit
1df8e80bc2
1 changed files with 2 additions and 10 deletions
|
@ -293,7 +293,7 @@ bdd.describe('visualize app', function describeIndexTests() {
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
bdd.it('should zoom in to level 12', function () {
|
bdd.it('should zoom in to level 10', function () {
|
||||||
// 6
|
// 6
|
||||||
return PageObjects.visualize.clickMapZoomIn()
|
return PageObjects.visualize.clickMapZoomIn()
|
||||||
.then(function () {
|
.then(function () {
|
||||||
|
@ -308,14 +308,6 @@ bdd.describe('visualize app', function describeIndexTests() {
|
||||||
// 9
|
// 9
|
||||||
return PageObjects.visualize.clickMapZoomIn();
|
return PageObjects.visualize.clickMapZoomIn();
|
||||||
})
|
})
|
||||||
.then(function () {
|
|
||||||
// 10
|
|
||||||
return PageObjects.visualize.clickMapZoomIn();
|
|
||||||
})
|
|
||||||
.then(function () {
|
|
||||||
// 11
|
|
||||||
return PageObjects.visualize.clickMapZoomIn();
|
|
||||||
})
|
|
||||||
.then(function () {
|
.then(function () {
|
||||||
return PageObjects.common.try(function tryingForTime() {
|
return PageObjects.common.try(function tryingForTime() {
|
||||||
return PageObjects.visualize.getMapZoomInEnabled()
|
return PageObjects.visualize.getMapZoomInEnabled()
|
||||||
|
@ -330,7 +322,7 @@ bdd.describe('visualize app', function describeIndexTests() {
|
||||||
.then(function () {
|
.then(function () {
|
||||||
return PageObjects.visualize.getMapZoomInEnabled();
|
return PageObjects.visualize.getMapZoomInEnabled();
|
||||||
})
|
})
|
||||||
// now we're at level 12 and zoom out should be disabled
|
// now we're at level 10 and zoom out should be disabled
|
||||||
.then(function (enabled) {
|
.then(function (enabled) {
|
||||||
expect(enabled).to.be(false);
|
expect(enabled).to.be(false);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue