mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-05 01:51:23 +01:00
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:
parent
a89694d5c4
commit
93e7b9d3dd
38 changed files with 400 additions and 2 deletions
|
|
@ -0,0 +1,3 @@
|
|||
<g id="scaleBar" opacity="1" fill="#353540" font-size="10" data-bar-size="2" data-x="99" data-y="99" data-label="" transform="translate(1043,701)">
|
||||
<rect id="scaleBarBack" opacity="0.2" fill="#ffffff" stroke="#000000" stroke-width="1" filter="url(#blur5)" data-top="20" data-right="15" data-bottom="15" data-left="10" x="-10" y="-20" width="234.109375" height="32"></rect>
|
||||
<g id="scaleBarContent"><g><line x1="0.5" y1="0" x2="201.5" y2="0" stroke-width="2" stroke="white"></line><line x1="0" y1="2" x2="202" y2="2" stroke-width="2" stroke="#3d3d3d"></line><line x1="0" y1="0" x2="202" y2="0" stroke-width="6" stroke-dasharray="2 38" stroke="#3d3d3d"></line></g><g text-anchor="middle" font-family="var(--serif)"></g></g></g>
|
||||
Loading…
Add table
Add a link
Reference in a new issue