From 8d3a6da260356fbae7da78f7ede7f3903b24d080 Mon Sep 17 00:00:00 2001 From: Eberhard Beilharz Date: Mon, 19 Jan 2026 18:17:03 +0100 Subject: [PATCH] fix(web): fix baseline tests Previously the cookies for the baseline tests were set to a fixed time which might be in the past. This change now calculates the expiration time and sets them to expire in 60s. Test-bot: skip --- web/src/test/auto/e2e/baseline/baseline.tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/test/auto/e2e/baseline/baseline.tests.ts b/web/src/test/auto/e2e/baseline/baseline.tests.ts index 636cdbb461..223e64565e 100644 --- a/web/src/test/auto/e2e/baseline/baseline.tests.ts +++ b/web/src/test/auto/e2e/baseline/baseline.tests.ts @@ -140,7 +140,7 @@ test.describe('Baseline tests', () => { value: encodeURIComponent(`${option.key}=${option.value};`), domain: 'localhost', path: '/', - expires: 1768672167 + expires: Date.now() / 1000 + 60, // expire in 1 minute }); } }