Add Playwright visual smoke test
All checks were successful
Deploy Sokko G / deploy (push) Successful in 16s

This commit is contained in:
Shinuwa 2026-08-22 23:42:37 +02:00
parent 59fdcb0927
commit 5c8148c905
6 changed files with 107 additions and 1 deletions

View file

@ -11,7 +11,8 @@
"lists:index": "node scripts/generate-list-indexes.mjs",
"lint": "eslint .",
"check": "node --check server.mjs && node --check vite.config.js && npm run lint && npm run lists:index && npm test && npm run build",
"test": "node --test"
"test": "node --test",
"test:e2e": "playwright test"
},
"dependencies": {
"@vitejs/plugin-react": "^6.0.3",
@ -21,6 +22,7 @@
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.62.1",
"eslint": "^10.8.1",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.4",