feat: add Playwright for end-to-end testing and update snapshots

- Introduced Playwright for E2E testing with a new configuration file.
- Added test scripts to package.json for running E2E tests.
- Updated package-lock.json and package.json with new dependencies for Playwright and types.
- Created new SVG snapshot files for various layers (ruler, scaleBar, temperature, terrain, vignette, zones) to support visual testing.
- Excluded e2e directory from TypeScript compilation.
This commit is contained in:
Marc Emmanuel 2026-01-23 11:22:27 +01:00
parent a89694d5c4
commit 93e7b9d3dd
38 changed files with 400 additions and 2 deletions

View file

@ -0,0 +1 @@
<g id="prec" stroke="#000000" stroke-width="0" fill="#003dff" style="display: none;"><g id="wind"><text text-rendering="optimizeSpeed" x="1228" y="60.904999999999994"></text><text text-rendering="optimizeSpeed" x="20" y="187.95"></text><text text-rendering="optimizeSpeed" x="1228" y="305.625"></text><text text-rendering="optimizeSpeed" x="1228" y="428.15"></text><text text-rendering="optimizeSpeed" x="20" y="547.8299999999999"></text><text text-rendering="optimizeSpeed" x="1228" y="661.2449999999999"></text><text text-rendering="optimizeSpeed" x="640" y="42"></text><text text-rendering="optimizeSpeed" x="640" y="700"></text></g></g>