Skip to content

Commit

Permalink
PB-878: Fix unit test by using higher zoom level so that layer can be…
Browse files Browse the repository at this point in the history
… seen (not filtered out).
  • Loading branch information
ismailsunni committed Sep 4, 2024
1 parent 76e6dff commit 60fa6e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/cypress/tests-e2e/print.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ describe('Testing print', () => {
cy.goToMapView(
{
layers: `KML|${getServiceKmlBaseUrl()}some-kml-file.kml`,
z: 9,
z: 15,
},
true
)
Expand Down Expand Up @@ -312,7 +312,7 @@ describe('Testing print', () => {
)

const mapAttributes = attributes.map
expect(mapAttributes['scale']).to.equals(5000)
expect(mapAttributes['scale']).to.equals(2500000)
expect(mapAttributes['dpi']).to.equals(254)
expect(mapAttributes['projection']).to.equals('EPSG:2056')

Expand Down Expand Up @@ -444,7 +444,7 @@ describe('Testing print', () => {
)

const mapAttributes = attributes.map
expect(mapAttributes['scale']).to.equals(5000)
expect(mapAttributes['scale']).to.equals(2500000)
expect(mapAttributes['dpi']).to.equals(254)
expect(mapAttributes['projection']).to.equals('EPSG:2056')

Expand Down Expand Up @@ -515,7 +515,7 @@ describe('Testing print', () => {
)

const mapAttributes = attributes.map
expect(mapAttributes['scale']).to.equals(5000)
expect(mapAttributes['scale']).to.equals(2500000)
expect(mapAttributes['dpi']).to.equals(254)
expect(mapAttributes['projection']).to.equals('EPSG:2056')

Expand Down

0 comments on commit 60fa6e4

Please sign in to comment.