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-1299, PB-1344: Opening Drawing module with pre-loaded empty KML breaks the drawing module #1220

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

sommerfe
Copy link
Contributor

@sommerfe sommerfe commented Jan 23, 2025

@sommerfe sommerfe self-assigned this Jan 23, 2025
@sommerfe sommerfe force-pushed the fix-pb-1299-drawing-mode-empty-pre-loaded-kml branch from d09be62 to b658875 Compare January 23, 2025 09:38
@github-actions github-actions bot added the bug label Jan 23, 2025
Copy link

cypress bot commented Jan 23, 2025

web-mapviewer    Run #4383

Run Properties:  status check passed Passed #4383  •  git commit f28ff91970: Merge pull request #1220 from geoadmin/fix-pb-1299-drawing-mode-empty-pre-loaded...
Project web-mapviewer
Branch Review develop
Run status status check passed Passed #4383
Run duration 01m 51s
Commit git commit f28ff91970: Merge pull request #1220 from geoadmin/fix-pb-1299-drawing-mode-empty-pre-loaded...
Committer Felix Sommer
View all properties for this run ↗︎

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

@sommerfe sommerfe force-pushed the fix-pb-1299-drawing-mode-empty-pre-loaded-kml branch 2 times, most recently from ea47ec7 to de801cc Compare January 23, 2025 11:09
@sommerfe sommerfe changed the title PB-1299: Opening Drawing module with pre-loaded empty KML breaks the drawing module PB-1299, PB-1344: Opening Drawing module with pre-loaded empty KML breaks the drawing module Jan 23, 2025
@sommerfe sommerfe requested review from pakb, ltshb and ltkum January 23, 2025 11:19
@sommerfe sommerfe marked this pull request as ready for review January 23, 2025 11:19
tests/cypress/support/drawing.js Outdated Show resolved Hide resolved
)
cy.clickDrawingTool(EditableFeatureTypes.MARKER)
cy.get('[data-cy="ol-map"]').click(120, 240)
cy.closeDrawingMode()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it might maybe make sense to check that the KML created was a new one, by intercepting the request that creates it on the backend

@sommerfe sommerfe force-pushed the fix-pb-1299-drawing-mode-empty-pre-loaded-kml branch from de801cc to 9337aff Compare January 27, 2025 08:50
@sommerfe sommerfe requested a review from pakb January 27, 2025 09:01
@sommerfe sommerfe merged commit f28ff91 into develop Jan 28, 2025
6 checks passed
@sommerfe sommerfe deleted the fix-pb-1299-drawing-mode-empty-pre-loaded-kml branch January 28, 2025 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants