From 3a4989a62ff9313c55005e37c8095652e43a1eb7 Mon Sep 17 00:00:00 2001 From: Steffen Heger Date: Tue, 17 Sep 2024 11:49:38 +0200 Subject: [PATCH] add timezone emulation --- playwright.config.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/playwright.config.ts b/playwright.config.ts index 49955796..e9b72f11 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -8,7 +8,9 @@ export default defineConfig({ // reuseExistingServer: true // }, // use: { - // baseURL: 'http://localhost:5173/' + // baseURL: 'http://localhost:5173/', + // locale: 'de-DE', + // timezoneId: 'Europe/Berlin', // }, webServer: { command: 'docker compose up prima', @@ -17,7 +19,9 @@ export default defineConfig({ reuseExistingServer: true }, use: { - baseURL: 'http://localhost:8080/' + baseURL: 'http://localhost:8080/', + locale: 'de-DE', + timezoneId: 'Europe/Berlin', }, testDir: './tests', projects: [