You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In general I believe this has something to do with Playwright other than Next.js itself.
After some testing I manage to make it running, but instead of specifying port itself you should use use.baseURL and webServer.url that would help to make it running without issues.
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Verify canary release
Provide environment information
Which example does this report relate to?
with-playwright-app
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
yarn test:e2e
Describe the Bug
Playwright fails because it fails to detect when webserver starts.
Expected Behavior
Playwright should succeed.
To Reproduce
Set the port to 80 instead of leaving the default 3000, changing these 2 lines:
"dev": "next dev -p 80"
here https://github.com/vercel/next.js/blob/canary/examples/with-playwright/package.json#L43000
here https://github.com/vercel/next.js/blob/canary/examples/with-playwright/playwright.config.ts#L19Run
DEBUG=pw:webserver yarn test:e2e
.It fails because the
WebServer available event
is never fired.The text was updated successfully, but these errors were encountered: