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 8e0fc8f commit 081ba3eCopy full SHA for 081ba3e
template/config/playwright/playwright.config.js
@@ -34,7 +34,7 @@ export default defineConfig({
34
/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */
35
actionTimeout: 0,
36
/* Base URL to use in actions like `await page.goto('/')`. */
37
- baseURL: 'http://localhost:5173',
+ baseURL: process.env.CI ? 'http://localhost:4173' : 'http://localhost:5173',
38
39
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
40
trace: 'on-first-retry',
0 commit comments