test(app): Playwright and axe browser suite on Chromium (D14)

@playwright/test 1.64.1 and @axe-core/playwright 4.14.0, dev only and pinned. pnpm e2e:ui runs a Vite server of its own on 127.0.0.1:5191 with no backend: the Dialog contract on a dev-only test page and the local tool's dialogs, desktop and 375 px, FR and EN, axe at zero serious violation outside one listed pre-existing finding. Requests outside the allowlist are aborted and fail the test.
This commit is contained in:
bchanot committed 2026-10-25 22:36:43 +01:00
1 parent 6f885eccb2
commit 72ee9f9971
11 files changed
+740 -3

No files matched your search

+5 -2
View File
@@ -8,10 +8,11 @@
"dev": "vite",
"build": "tsc -p tsconfig.json --noEmit && vite build",
"preview": "vite preview",
"typecheck": "tsc -p tsconfig.json --noEmit",
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p e2e/tsconfig.json --noEmit",
"test": "vitest",
"test:run": "vitest run",
"lint": "eslint . --max-warnings 0"
"lint": "eslint . --max-warnings 0",
"e2e:ui": "playwright test -c e2e/playwright.ui.config.ts"
},
"dependencies": {
"@faunosteo/core-wasm": "workspace:*",
@@ -24,6 +25,8 @@
"zustand": "^5.0.2"
},
"devDependencies": {
"@axe-core/playwright": "4.14.0",
"@playwright/test": "1.64.1",
"@tailwindcss/vite": "^4.3.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",