Is Vite supported only for component testing? #18017
mrmartineau
started this conversation in
General
Replies: 2 comments
-
Absolutely, cypress isn't tied to technology, anything that runs in the browser should be able to be tested |
Beta Was this translation helpful? Give feedback.
0 replies
-
Just need the url of the application to visit and Cypress end to end can test anything there. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Can anyone confirm that Vite is supported only for component testing? I ask because the only mention of it on the Cypress website is in relation to component tests.
I have followed the instructions and have successfully setup component tests for my Vite-based app, but I would also like to run end-to-end tests for the app too. Is this currently possible?
FYI, here are the npm scripts that I use to run either the component tests or the e2e tests:
And my
cypress/plugins/index.js
file:Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions