fix: playwright config with baseURL env bar.

This commit is contained in:
Stepan Vladovskiy 2024-07-08 10:24:07 +00:00
parent 32519d5ee9
commit 3bfa4adf68

View File

@ -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 */