website refactor

This commit is contained in:
2026-01-17 18:28:10 +01:00
parent 6d57f8b1ce
commit 64d9e7fd16
44 changed files with 1729 additions and 415 deletions

View File

@@ -21,8 +21,10 @@ import { defineConfig, devices } from '@playwright/test';
*/
export default defineConfig({
testDir: './tests/e2e/website',
testMatch: ['**/website-pages.e2e.test.ts'],
testDir: './tests',
testMatch: process.env.RUN_EXHAUSTIVE_E2E === '1'
? ['**/e2e/website/*.e2e.test.ts', '**/nightly/website/*.e2e.test.ts']
: ['**/e2e/website/*.e2e.test.ts'],
testIgnore: ['**/electron-build.smoke.test.ts'],
// Serial execution for consistent results
@@ -38,9 +40,9 @@ export default defineConfig({
// Base URL for the website (containerized)
use: {
baseURL: process.env.PLAYWRIGHT_BASE_URL || 'http://website:3000',
screenshot: 'only-on-failure',
video: 'retain-on-failure',
trace: 'retain-on-failure',
screenshot: 'off',
video: 'off',
trace: 'off',
},
// Reporter: verbose for debugging