Skip to content

Commit 6b29440

Browse files
committed
test(playwright): force English locale for E2E runtime
Signed-off-by: Vitor Mattos <[email protected]>
1 parent 7a643fa commit 6b29440

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

playwright.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ export default defineConfig({
3333
/* Base URL to use in actions like `await page.goto('./apps/libresign')`. */
3434
baseURL: process.env.PLAYWRIGHT_BASE_URL ?? 'https://localhost',
3535

36+
/* Force E2E execution in English regardless of container/user locale. */
37+
locale: 'en-US',
38+
extraHTTPHeaders: {
39+
'Accept-Language': 'en-US,en;q=0.9',
40+
},
41+
3642
/* Ignore HTTPS errors on local self-signed certificates */
3743
ignoreHTTPSErrors: true,
3844

0 commit comments

Comments
 (0)