mirror of
https://github.com/cloud-shuttle/leptos-shadcn-ui.git
synced 2025-12-22 22:00:00 +00:00
fix: Resolve Playwright port conflict issue
- Set reuseExistingServer: true to avoid port conflicts - Fix 'http://localhost:8001 is already used' error in CI - Ensure Playwright tests can run after successful build - Allow reuse of existing server in GitHub Actions environment
This commit is contained in:
@@ -195,7 +195,7 @@ export default defineConfig({
|
|||||||
{
|
{
|
||||||
command: 'cd examples/comprehensive-demo && python3 -m http.server 8001',
|
command: 'cd examples/comprehensive-demo && python3 -m http.server 8001',
|
||||||
port: 8001,
|
port: 8001,
|
||||||
reuseExistingServer: !isCI,
|
reuseExistingServer: true, // Always reuse existing server to avoid port conflicts
|
||||||
timeout: 30 * 1000,
|
timeout: 30 * 1000,
|
||||||
stdout: 'pipe',
|
stdout: 'pipe',
|
||||||
stderr: 'pipe',
|
stderr: 'pipe',
|
||||||
|
|||||||
Reference in New Issue
Block a user