Skip to content

Commit 9af89cb

Browse files
committed
temporary work to analyze why this test work locally but not online
1 parent f8dad09 commit 9af89cb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/mapviewer/tests/cypress/support/drawing.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,9 @@ Cypress.Commands.add('goToDrawing', (queryParams = {}, withHash = true) => {
149149
addIconFixtureAndIntercept()
150150
addProfileFixtureAndIntercept()
151151
addFileAPIFixtureAndIntercept()
152+
cy.log('WE ARE ABOUT TO GO INTO THE MAPVIEW')
152153
cy.goToMapView(queryParams, withHash)
154+
cy.log('WE JUST DID THE MAPVIEW')
153155
cy.readWindowValue('map')
154156
.then((map) => map.getOverlays().getLength())
155157
.as('nbOverlaysAtBeginning')

packages/mapviewer/tests/cypress/tests-e2e/drawing.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ describe('Drawing module tests', () => {
10691069
})
10701070
})
10711071
})
1072-
it('manages the KML layer correctly if it comes attached with an adminId at startup', () => {
1072+
it.only('manages the KML layer correctly if it comes attached with an adminId at startup', () => {
10731073
// Position of the marker defined in service-kml/lonelyMarker.kml
10741074
const markerLatitude = 46.883715999352546
10751075
const markerLongitude = 7.656108679791837

0 commit comments

Comments
 (0)