Skip to content

Commit

Permalink
update BaseURL in config file
Browse files Browse the repository at this point in the history
  • Loading branch information
tryb3l committed Oct 30, 2024
1 parent ce34e65 commit cc925a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default defineConfig<PlaywrightTestConfig>({
workers: process.env.CI ? 1 : undefined,
reporter: [['html', { outputFolder: 'playwright-report' }]],
use: {
baseURL: 'http://localhost:4200',
baseURL: process.env.BASE_URL || 'http://localhost:4200',
trace: 'on-first-retry',
actionTimeout: 20000,
navigationTimeout: 30000,
Expand All @@ -46,6 +46,7 @@ export default defineConfig<PlaywrightTestConfig>({
webServer: {
command: 'cd app && node --run start',
port: 4200,
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
},
});

0 comments on commit cc925a2

Please sign in to comment.