From 1750499d462262d769a9584f9871df218eff2e35 Mon Sep 17 00:00:00 2001 From: Heliozoa Date: Wed, 11 Sep 2024 18:45:56 +0300 Subject: [PATCH] Add --force-disable-user-env --- playwright/fixtures.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playwright/fixtures.ts b/playwright/fixtures.ts index cc51a0d5..1c4d366e 100644 --- a/playwright/fixtures.ts +++ b/playwright/fixtures.ts @@ -27,6 +27,9 @@ const args = [ "--skip-release-notes", "--skip-welcome", "--user-data-dir=" + userDataDir, + // this makes it so vscode will not overwrite the environment + // variables we set below in `electron.launch` with values from `~/.bashrc` etc. + "--force-disable-user-env", ]; type CustomTestFixtures = {