From 26cd1857f6926aac9f6e04127113385acd190181 Mon Sep 17 00:00:00 2001 From: AmanTahiliani Date: Wed, 29 Jul 2026 23:01:46 -0400 Subject: [PATCH] fix(#91): serialize shared visual test harness --- playwright.visual.config.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/playwright.visual.config.ts b/playwright.visual.config.ts index a2835bd..b304794 100644 --- a/playwright.visual.config.ts +++ b/playwright.visual.config.ts @@ -7,10 +7,11 @@ const WEB_PORT = process.env.BOXBOX_WEB_PORT ?? '15173' export default defineConfig({ testDir: './tests/visual', - fullyParallel: true, + // All projects share one seeded SQLite database behind the same Go server. + fullyParallel: false, forbidOnly: !!process.env.CI, retries: process.env.CI ? 2 : 0, - workers: process.env.CI ? 1 : undefined, + workers: 1, reporter: process.env.CI ? 'github' : 'html', snapshotPathTemplate: '{testDir}/{testFileDir}/__snapshots__/{projectName}/{arg}{ext}', expect: {