- Notifications
You must be signed in to change notification settings - Fork506
Closed
Description
Creating a new project withnpm init vue@latest and adding cypress as a package incorrectly sets the default baseUrl for cypress to ``"http://localhost:5050",` even though the default port for the application itself islocalhost:3000. It would be nice if cypress were default-configured to look for your new vue app at `http://localhost:3000` so it can find it without additional configuration.
To reproduce: create a new vue3 project withnpm init vue@latest, choose vue3 and include cypress for e2e testing, then boot the server withnpm run dev and open cypress withnpx cypress open then open the example test. It will fail to find the application as the autogeneratedcypress.json file has the incorrect "baseUrl" setting
Metadata
Metadata
Assignees
Labels
No labels