-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
feat: adding svelte component testing support #23553
Conversation
Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
…-support feat: Add svelte detection to wizard
Thanks for taking the time to open a PR!
|
Test summaryRun details
View run in Cypress Dashboard ➡️ Flakiness
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
I fixed up the types in e53f3a1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approved all previous PRs, this looks to be 💯
Couple of failing CI steps, but looks like Percy just failing to finalize.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing work! 💯 Validated Vite JS/TS and Webpack, all bootstrap and run tests as expected. Just a couple minor issues on the docs
npm/svelte/README.md
Outdated
## Install | ||
|
||
- Requires Svelte >= 3 | ||
- Requires Cypress v10.6.0 or later |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
version number incorrect
User facing changelog
Svelte Component Testing Support
Additional details
Merging of the Svelte Feature branch into develop, no additional changes from the two previously merged and approved PRS: #23519 and #23441
Documentation is WIP: cypress-io/cypress-documentation#4677
Steps to test
You can scaffold a new svelte project with
npm init vite
and choose Svelte (the scaffold has outdated peer deps so update@sveltejs/vite-plugin-svelte
andvite
to latest). Then you can pointyarn cypress:open
at the svelte project and get to testing!There are also some system tests in
system-tests/test/component_testing_spec.ts
that test both webpack and vite.How has the user experience changed?
Screen.Recording.2022-08-25.at.2.06.27.PM.mov
PR Tasks
cypress-documentation
?type definitions
?