Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PB-1318 : delete KML definitively #1230

Open
wants to merge 11 commits into
base: develop
Choose a base branch
from

Conversation

sami-nouidri-swisstopo
Copy link
Contributor

@sami-nouidri-swisstopo sami-nouidri-swisstopo commented Feb 5, 2025

KML deletion is now done by sending a request to the pre-existing DELETE route in the service-kml backend.

Note : This PR incorporates changes which have been manually rebased on top of PR #1227
The original is here : #1224

Test link

pakb and others added 11 commits January 31, 2025 15:45
in prep work to the elevation profile module, I started modularizing what will be used by both the viewer and the future elevation profile component.

I used the opportunity of having a smaller scoped project to switch to Typescript entirely all the utilities.
Migration to ESLint9 was also done here, meaning there are some changes because of new linter rules. Some ESLint8 plugins weren't available in ESLint9 so I had to find equivalents, but they don't have exactly the same way of linting
as we are running a preview on a "from scratch" CI instance, geoadmin package has never been built (and added to the local npm registry for that matter).
Building the lib with the same target in mind before running the preview script on the viewer
…erarchy

Please refer to PR #1224 to view the original git history and review
Copy link

cypress bot commented Feb 5, 2025

web-mapviewer    Run #4444

Run Properties:  status check failed Failed #4444  •  git commit 9d60908867: PB-1318 : manually rebased kml deletion changes into new mapviewer hierarchy
Project web-mapviewer
Branch Review task-PB-1318-delete-kml-definitively
Run status status check failed Failed #4444
Run duration 09m 01s
Commit git commit 9d60908867: PB-1318 : manually rebased kml deletion changes into new mapviewer hierarchy
Committer Sami Nouidri
View all properties for this run ↗︎

Test results
Tests that failed  Failures 5
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 20
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 180
View all changes introduced in this branch ↗︎

Tests for review

Failed  drawing.cy.js • 2 failed tests • e2e/electron/mobile

View Output

Test Artifacts
Drawing module tests > KML management > deletes the drawing when confirming the delete modal Test Replay Screenshots
Drawing module tests > KML management > manages the KML layer correctly if it comes attached with an adminId at startup Test Replay Screenshots
Failed  layers.cy.js • 2 failed tests • e2e/electron/mobile

View Output

Test Artifacts
... > reads and adds an external WMTS correctly Test Replay Screenshots
... > layer with timestamp can be configured Test Replay Screenshots
Failed  print.cy.js • 1 failed test • e2e/electron/mobile

View Output

Test Artifacts
Testing print > Send print request with external layers > prints external WMTS correctly Test Replay Screenshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants