We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent babdeba commit 15a83faCopy full SHA for 15a83fa
playwright.config.ts
@@ -24,7 +24,7 @@ export default defineConfig({
24
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
25
use: {
26
/* Base URL to use in actions like `await page.goto('/')`. */
27
- baseURL: process.env.BASE_URL,
+ baseURL: process.env.BASE_URL || 'http://127.0.0.1:8888',
28
29
testIdAttribute: 'data-test-id',
30
@@ -74,7 +74,7 @@ export default defineConfig({
74
/* Run your local dev server before starting the tests */
75
webServer: {
76
command: 'pnpm dev:full',
77
- url: 'http://127.0.0.1:8888',
+ url: process.env.BASE_URL || 'http://127.0.0.1:8888',
78
reuseExistingServer: !process.env.CI,
79
},
80
})
0 commit comments