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:
Thomas Neirynck 2017-01-25 09:48:18 -05:00 committed by GitHub
parent 5ba6603042
commit 1df8e80bc2

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 // 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);
}); });