Skip to content

Commit

Permalink
chore: added webserver configuration to playwright config
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanketmundada committed Oct 8, 2024
1 parent b1d6830 commit 49ae4b8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ export default defineConfig({
trace: 'on-first-retry',
},

webServer: {
command: 'npm run dev',
url: 'http://127.0.0.1:3000',
reuseExistingServer: !process.env.CI,
},

/* Configure projects for major browsers */
projects: [
{
Expand Down

0 comments on commit 49ae4b8

Please sign in to comment.