Fail to test component: The server is configured with a public base URL #31430
Unanswered
tuxtux59
asked this question in
Component Testing
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I just started to install cypress on a react vite project using the new
yarn cypress open
but it fails to test a component with following error message:I have indeed a file with following content
I have also
vite.config.ts
andcypress.config.ts
files where I assume I need to redefine cypress server configuration.I am a bit confused why cypress targets my development config and not test one.
For information
http://localhost:3036/vite-dev
is accessible but nothttp://localhost:3036/vite-dev/__cypress/src/index.html
Thanks for any advice
Beta Was this translation helpful? Give feedback.
All reactions