From 50c9271b4603a49aac2ef6b012d1b1438a0eaa8c Mon Sep 17 00:00:00 2001 From: amalv <1252707+amalv@users.noreply.github.com> Date: Tue, 9 Jan 2024 03:58:24 +0100 Subject: [PATCH] fix(playwright): update baseURL to use BASE_URL environment variable --- playwright.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright.config.ts b/playwright.config.ts index 6fe6f67..6af5f2b 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -24,7 +24,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: process.env.URL || "http://localhost:5173", + baseURL: process.env.PRODUCTION_BASE_URL || "http://localhost:5173", /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ trace: "on-first-retry",