mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
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:
parent
5f249db235
commit
7aca11968e
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
|
||||
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);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue