test(frontend): playwright e2e scaffolding (config + scripts)

This commit is contained in:
2026-09-15 12:00:45 +08:00
parent a3755bcfab
commit b65ea93984
4 changed files with 78 additions and 0 deletions
+4
View File
@@ -6,6 +6,8 @@
"scripts": {
"test": "vitest run",
"dev": "vite",
"e2e": "playwright test",
"e2e:ui": "playwright test --ui",
"build": "tsc --noEmit && vite build",
"preview": "vite preview",
"check": "tsc --noEmit && eslint . && prettier --check . && vitest run && vite build",
@@ -36,7 +38,9 @@
"tw-animate-css": "^1.4.0"
},
"devDependencies": {
"@axe-core/playwright": "^4.13.0",
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.63.0",
"@tailwindcss/vite": "^4.3.3",
"@testing-library/dom": "^10.4.2",
"@testing-library/jest-dom": "^7.0.1",