Skip to content

Commit

Permalink
specify inspector port to playwright preview:worker commands to avoid…
Browse files Browse the repository at this point in the history
… flakiness in e2es (#51)

* specify inspector port to playwright preview:worker commands to avoid flakiness in e2es

* fixup! specify inspector port to playwright preview:worker commands to avoid flakiness in e2es

move inspector port setting to package.json files
  • Loading branch information
dario-piotrowicz authored Oct 7, 2024
1 parent 04be59b commit 57c450e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "next start",
"lint": "next lint",
"build:worker": "pnpm cloudflare",
"dev:worker": "wrangler dev --port 8770",
"dev:worker": "wrangler dev --port 8770 --inspector-port 9330",
"preview:worker": "pnpm build:worker && pnpm dev:worker",
"e2e": "playwright test -c e2e/playwright.config.ts",
"e2e:dev": "playwright test -c e2e/playwright.dev.config.ts",
Expand Down
2 changes: 1 addition & 1 deletion examples/create-next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"start": "next start",
"lint": "next lint",
"build:worker": "cloudflare",
"dev:worker": "wrangler dev --port 8771",
"dev:worker": "wrangler dev --port 8771 --inspector-port 9331",
"preview:worker": "pnpm build:worker && pnpm dev:worker",
"e2e": "playwright test -c e2e/playwright.config.ts"
},
Expand Down

0 comments on commit 57c450e

Please sign in to comment.