From ee7c13ce82c618067576a2d530f27ead14974f52 Mon Sep 17 00:00:00 2001 From: 4gray Date: Wed, 14 Oct 2026 14:20:18 +0200 Subject: [PATCH] test(web-e2e): never reuse another backend as the storage E2E backend server-storage.e2e.ts deletes every playlist before each test. Reusing a backend already listening on STORAGE_BACKEND_PORT outside CI could have wiped a real library; an occupied port now fails the run instead. Co-Authored-By: Claude Opus 5.5 --- apps/web-e2e/playwright.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/web-e2e/playwright.config.ts b/apps/web-e2e/playwright.config.ts index 8578f875d..344dc016f 100644 --- a/apps/web-e2e/playwright.config.ts +++ b/apps/web-e2e/playwright.config.ts @@ -129,7 +129,9 @@ export default defineConfig({ IPTVNATOR_DATA_DIR: storageBackendDataDir, }, url: `http://localhost:${storageBackendPort}/health`, - reuseExistingServer: !process.env['CI'], + // Never another backend on that port: the specs delete every + // playlist before each test, which would wipe its library. + reuseExistingServer: false, cwd: workspaceRoot, }, ],