-
Describe the bugI don't seem to be able to change the port that Playwright runs on. Modifying this value doesn't seem to help: I also tried updating the previous line to This is frustrating because I can't run ReproductionInstall SvelteKit with Playwright. Watch it fail with an error: LogsNo response System InfoSystem:
OS: Linux 5.16 Pop!_OS 21.10
CPU: (4) x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
Memory: 2.02 GB / 7.68 GB
Container: Yes
Shell: 5.1.8 - /bin/bash
Binaries:
Node: 17.4.0 - ~/.n/bin/node
npm: 8.5.1 - ~/.n/bin/npm
Browsers:
Brave Browser: beta
Firefox: 99.0
npmPackages:
@sveltejs/adapter-auto: next => 1.0.0-next.40
@sveltejs/kit: next => 1.0.0-next.324
svelte: ^3.44.0 => 3.47.0 Severityannoyance Additional InformationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You need another
then change to If you want to use the dev server for testing, you can set |
Beta Was this translation helpful? Give feedback.
You need another
--
fornpm run preview
:then change to
port: 3005
.If you want to use the dev server for testing, you can set
webServer.reuseExistingServer: true
too. https://playwright.dev/docs/test-advanced#launching-a-development-web-server-during-the-tests