Skip to content

Commit

Permalink
disable playwright web server in config
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Kusumgar committed Nov 7, 2024
1 parent db30122 commit 33e67c9
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions app/static/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ export default defineConfig({
/* Folder for test artifacts such as screenshots, videos, traces, etc. */
// outputDir: 'test-results/',

/* Run your local dev server before starting the tests */
webServer: {
/**
* Use the dev server by default for faster feedback loop.
* Use the preview server on CI for more realistic testing.
* Playwright will re-use the local server if there is already a dev-server running.
*/
command: process.env.CI ? 'npm run build' : 'npm run dev',
port: 5173,
reuseExistingServer: !process.env.CI
}
// /* Run your local dev server before starting the tests */
// webServer: {
// /**
// * Use the dev server by default for faster feedback loop.
// * Use the preview server on CI for more realistic testing.
// * Playwright will re-use the local server if there is already a dev-server running.
// */
// command: process.env.CI ? 'npm run build' : 'npm run dev',
// port: 5173,
// reuseExistingServer: !process.env.CI
// }
})

0 comments on commit 33e67c9

Please sign in to comment.