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

Add support for mounting storybook CSF stories with @cypress/vue #18765

Open
patrickcate opened this issue Nov 3, 2021 · 2 comments
Open

Add support for mounting storybook CSF stories with @cypress/vue #18765

patrickcate opened this issue Nov 3, 2021 · 2 comments
Labels
CT Issue related to component testing type: enhancement Requested enhancement of existing feature

Comments

@patrickcate
Copy link

What would you like?

Add support to Cypress's Vue component testing to mount storybook CSF as components.

This is a basically the same feature request as #16379 but for Vue component testing.

Why is this needed?

Being able to re-use storybook stories in Cypress tests can speed up writing tests.

Other

No response

@olemarius
Copy link

This is the only thing missing for me to get vue 3 + cypress + storybook + Vite working.

Alternative is to run the tests in storybook or use the new storybook interaction feature.

Let me know if you need me to set up a test repo, happy to help if needed :-)

@lmiller1990 lmiller1990 added CT Issue related to component testing and removed component testing labels Aug 15, 2022
@lmiller1990 lmiller1990 added the type: enhancement Requested enhancement of existing feature label Feb 22, 2023
@lmiller1990
Copy link
Contributor

This would be interesting. I'm not sure how the API would look, or how we handle the huge amount of Storybook-specific plugins (like "knobs"). Open to some proposals.

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 type: enhancement Requested enhancement of existing feature
Projects
None yet
Development

No branches or pull requests

4 participants