Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Svelte 5 component testing #29641

Closed
tobiasBora opened this issue Jun 10, 2024 · 5 comments · Fixed by #30700, cypress-io/cypress-component-testing-apps#40 or cypress-io/cypress-documentation#6028
Assignees
Labels
CT Issue related to component testing Cypress 14 Issues scoped for Cypress 14 npm: @cypress/svelte @cypress/svelte package issues

Comments

@tobiasBora
Copy link

What would you like?

For now it is not possible to do component testing with svelte 5:

image

Why is this needed?

Because svelte 5 is the new version of svelte.

Other

No response

@jennifer-shehane jennifer-shehane added CT Issue related to component testing npm: @cypress/svelte @cypress/svelte package issues labels Jun 10, 2024
@jennifer-shehane
Copy link
Member

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

@tobiasBora
Copy link
Author

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.

@jennifer-shehane
Copy link
Member

It's not supported in Cypress currently.

@AtofStryker
Copy link
Contributor

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

@AtofStryker AtofStryker added the Cypress 14 Issues scoped for Cypress 14 label Nov 8, 2024
@jennifer-shehane jennifer-shehane moved this from Understanding to Designing / Scoping in Cypress App Priorities Nov 13, 2024
@claridgicus
Copy link

Looking forward to this after updating all my components and running my tests only to find out it doesn't work anymore 🤣

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CT Issue related to component testing Cypress 14 Issues scoped for Cypress 14 npm: @cypress/svelte @cypress/svelte package issues
Projects
Status: Building
4 participants