From 3bfa4adf6855bcea1eef733b3632974ada32661a Mon Sep 17 00:00:00 2001 From: Stepan Vladovskiy Date: Mon, 8 Jul 2024 10:24:07 +0000 Subject: [PATCH] fix: playwright config with baseURL env bar. --- playwright.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright.config.ts b/playwright.config.ts index 3d8bb816..b3bf954d 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -27,7 +27,7 @@ export default defineConfig({ /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ use: { /* Base URL to use in actions like `await page.goto('/')`. */ - baseURL: 'https://localhost:3000', + baseURL: process.env.BASE_URL || 'https://localhost:3000', /* Headless */ headless: true, /* Ignode SSL certificates */