Some test fixes

This commit is contained in:
AG
2025-12-06 20:21:41 +02:00
parent 890f4f0958
commit cd0eef9ad6
23 changed files with 48 additions and 44 deletions

View File

@@ -5,14 +5,17 @@ export default defineConfig({
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 1 : undefined,
workers: 1,
reporter: 'html',
use: {
baseURL: 'http://localhost:3000',
trace: 'on-first-retry',
launchOptions: {
headless: false
}
},
webServer: {
command: 'npm run dev:full',
command: 'rm -f server/prisma/prisma/dev.db && npm run migrate:deploy --prefix server && npm run dev:full & wait-on http-get://localhost:3000',
url: 'http://localhost:3000',
reuseExistingServer: !process.env.CI,
},