Should only support 10 zoom levels. (#10060)

Backports PR #10041

**Commit 1:**
Should only support 10 zoom levels.

The map service is dialed back to only support 10 zoom levels iso. 12. Update corresponding integration test.

* Original sha: 6d31111127
* Authored by Thomas Neirynck <thomas@elastic.co> on 2017-01-24T17:01:47Z
This commit is contained in:
jasper 2017-01-25 10:51:33 -05:00 committed by Thomas Neirynck
parent 5f249db235
commit 7aca11968e

View file

@ -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
return PageObjects.visualize.clickMapZoomIn()
.then(function () {
@ -308,14 +308,6 @@ bdd.describe('visualize app', function describeIndexTests() {
// 9
return PageObjects.visualize.clickMapZoomIn();
})
.then(function () {
// 10
return PageObjects.visualize.clickMapZoomIn();
})
.then(function () {
// 11
return PageObjects.visualize.clickMapZoomIn();
})
.then(function () {
return PageObjects.common.try(function tryingForTime() {
return PageObjects.visualize.getMapZoomInEnabled()
@ -330,7 +322,7 @@ bdd.describe('visualize app', function describeIndexTests() {
.then(function () {
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) {
expect(enabled).to.be(false);
});