Skip to content

Commit

Permalink
updated playwright config to start server before executing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aasimsyed committed Apr 23, 2024
1 parent e672bec commit 44e7e15
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frontend/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,10 @@ export default defineConfig({
// url: 'http://127.0.0.1:3000',
// reuseExistingServer: !process.env.CI,
// },
webServer: {
command: "docker compose --env-file ../.env.dev up --build",
port: 3000,
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
},
});

0 comments on commit 44e7e15

Please sign in to comment.