diff --git a/frontend/package.json b/frontend/package.json index 49fa763d5d..e6f485fda7 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -15,7 +15,7 @@ "postinstall": "yarn husky:configure", "husky:configure": "cd .. && husky install frontend/.husky", "playwright": "playwright test --config=./playwright.config.ts", - "playwright:local:debug": "PWDEBUG=console yarn playwright" + "playwright:local:debug": "PWDEBUG=console yarn playwright --headed --browser=chromium" }, "engines": { "node": ">=12.13.0" diff --git a/frontend/playwright.config.ts b/frontend/playwright.config.ts index 9747285a66..3fc61908c7 100644 --- a/frontend/playwright.config.ts +++ b/frontend/playwright.config.ts @@ -1,4 +1,7 @@ import { PlaywrightTestConfig } from '@playwright/test'; +import dotenv from 'dotenv'; + +dotenv.config(); const config: PlaywrightTestConfig = { forbidOnly: !!process.env.CI,