Add basic playwright tests for Aladin Lite UI

This commit is contained in:
Xen0Xys
2024-07-22 15:45:14 +02:00
committed by Matthieu Baumann
parent fcefe89f17
commit c89156211b
14 changed files with 221 additions and 15 deletions

View File

@@ -44,11 +44,14 @@
"serve:dbg": "npm run dev:dbg",
"preview": "vite preview",
"test:build": "cd src/core && cargo test --release --features webgl2",
"test:unit": "vitest run",
"test:playwright": "npx playwright test",
"test:update-snapshots": "npx playwright test --update-snapshots",
"doc": "jsdoc -c jsdoc.json src/js src/js/shapes && cp aladin-logo.png docs/",
"doc:dev": "npm run doc && open docs/index.html"
},
"devDependencies": {
"@playwright/test": "^1.45.2",
"@types/node": "^20.14.11",
"happy-dom": "^10.11.0",
"jsdoc": "^4.0.2",
"vite": "^4.3.8",