QA-1: Playwright e2e harness - config (phone 390px + desktop projects, mock/live via E2E_BASE_URL), npm run e2e, vitest excludes e2e/

This commit is contained in:
2026-06-06 07:16:43 +02:00
parent c9723d2fc8
commit 8d7999c4a5
4 changed files with 69 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
import { defineConfig } from 'vite'
import { configDefaults } from 'vitest/config'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/
@@ -10,4 +11,8 @@ export default defineConfig({
// the port; this only widens the host from localhost to 0.0.0.0.
host: true,
},
test: {
// QA-1: e2e/ gehört Playwright (npm run e2e), nicht vitest.
exclude: [...configDefaults.exclude, 'e2e/**'],
},
})