Should only support 10 zoom levels.

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-24 12:01:47 -05:00
parent 7ef480fe89
commit 6d31111127

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