fix: playwright config with baseURL env bar.
This commit is contained in:
parent
32519d5ee9
commit
3bfa4adf68
|
@ -27,7 +27,7 @@ export default defineConfig({
|
||||||
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
|
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
|
||||||
use: {
|
use: {
|
||||||
/* Base URL to use in actions like `await page.goto('/')`. */
|
/* Base URL to use in actions like `await page.goto('/')`. */
|
||||||
baseURL: 'https://localhost:3000',
|
baseURL: process.env.BASE_URL || 'https://localhost:3000',
|
||||||
/* Headless */
|
/* Headless */
|
||||||
headless: true,
|
headless: true,
|
||||||
/* Ignode SSL certificates */
|
/* Ignode SSL certificates */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user