cypress
cypress copied to clipboard
Svelte 5 component testing
What would you like?
For now it is not possible to do component testing with svelte 5:
Why is this needed?
Because svelte 5 is the new version of svelte.
Other
No response
Thanks for opening. We've got this on our radar. Svelt 5 is currently a release candidate with no confirmed release date: https://svelte.dev/blog/svelte-5-release-candidate
Yes, but it seems to reach some sort of stability. But right now is it just "not supported at all", or "at our own risks"? Because I get an error like "your tests are loading", but I don't know if it's me doing something stupid or if it's due to svelte5 being truly not supported.
It's not supported in Cypress currently.
svelte 5 was released 10 days ago on https://www.npmjs.com/package/svelte/v/5.0.0. We will spike into this to see how much work it takes to support. If the work is minimal, we can likely include it in Cypress 14 or a release soon there after as a feature
Looking forward to this after updating all my components and running my tests only to find out it doesn't work anymore 🤣
Released in 14.0.0.
This comment thread has been locked. If you are still experiencing this issue after upgrading to Cypress v14.0.0, please open a new issue.