Skip to content

Conversation

@pakb
Copy link
Contributor

@pakb pakb commented Sep 26, 2025

@schtibe schtibe force-pushed the feat-PB-1383-pinia-store branch 5 times, most recently from 69171a7 to bdd5620 Compare October 3, 2025 14:20
@pakb pakb force-pushed the feat-PB-1383-pinia-store branch 3 times, most recently from 448f1a4 to 2393419 Compare October 20, 2025 11:40
@cypress
Copy link

cypress bot commented Oct 20, 2025

web-mapviewer    Run #6428

Run Properties:  status check failed Failed #6428  •  git commit 68dae7a847: Merge pull request #1561 from geoadmin/feat-PB-2064-fix-select-features-test
Project web-mapviewer
Branch Review feat-PB-1383-pinia-store
Run status status check failed Failed #6428
Run duration 17m 07s
Commit git commit 68dae7a847: Merge pull request #1561 from geoadmin/feat-PB-2064-fix-select-features-test
Committer Pascal Barth
View all properties for this run ↗︎

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

Tests for review

Failed  tests/cypress/tests-e2e/drawing.cy.ts • 13 failed tests • e2e/chrome/mobile

View Output

Test Artifacts
Drawing module tests > Drawing mode/tools > can create marker/icons and edit them Test Replay Screenshots
Drawing module tests > Drawing mode/tools > can create line / measurement, extend it, and delete the last node by right click / button, and make a polygon Test Replay Screenshots
Drawing module tests > Drawing mode/tools > can create line/polygons and edit them Test Replay Screenshots
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 in the layer list / URL params correctly Test Replay Screenshots
Drawing module tests > KML management > keeps the KML after a page reload, and creates a copy if it is then edited 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
Drawing module tests > KML management > manages the KML layer correctly if it comes attached with an adminId at startup from a legacy URL Test Replay Screenshots
Drawing module tests > KML management > receives an empty KML and can use drawing mode Test Replay Screenshots
Drawing module tests > others > can export the drawing/profile in multiple formats Test Replay Screenshots
The first 10 failed tests are shown, see all 13 tests in Cypress Cloud.

@pakb pakb force-pushed the feat-PB-1383-pinia-store branch from fc5442f to 639f478 Compare October 21, 2025 14:15
@pakb pakb changed the title PB-1383: WIP Pinia store PB-1383: Typescript+Pinia migration Nov 14, 2025
@sommerfe sommerfe force-pushed the feat-PB-1383-pinia-store branch 2 times, most recently from a1cccff to 9e6d8d7 Compare December 2, 2025 08:43
pakb and others added 30 commits January 22, 2026 15:14
no cy.wrap inside should block
A debounce was added to the setPreview action, rendering the test covering useless, only debouncing outside of tests
there are some issue with @geoblocks/mapfishprint not sharing the same instance of OpenLayers than the rest of the code, leading to some false negative with "instanceof" operator.

It is testing against ol/style/Image and ol/style/Circle, but doesn't use the same reference than our code, leading to always false results.

I've added a patch to the lib to fix that
and trying to share the same OL "code" throughout the code-base (when imported into the viewer package)

Also changing vite aliases with a simpler way of aliasing '@' that isn't using a URL anymore.
I had some issue with important not being applied (being second in line), and after testing without the prefix it was working as intended (so no need to add complexity there)
creates more issue that it solves
start moving away from TS enum, as they bring some problem when dealing with serialization/deserialization, while literals do the same kind of job without this downside.
accept time dimensions that are not proper "timestamp" from WMTS capabilities parsing
using the store is unreliable on the CI (and even sometimes locally), maybe due to some race conditions with vector feature selection that I couldn't fix by waiting on event/route change.
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.

5 participants