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

Cypress Component Testing: Support for Nuxt 3 #25719

Closed
floroz opened this issue Feb 6, 2023 · 1 comment
Closed

Cypress Component Testing: Support for Nuxt 3 #25719

floroz opened this issue Feb 6, 2023 · 1 comment
Labels
CT Issue related to component testing type: feature New feature that does not currently exist

Comments

@floroz
Copy link

floroz commented Feb 6, 2023

What would you like?

A documented process or a plugin/addon to integrate Cypress Component Testing with Nuxt 3.

Why is this needed?

Nuxt is the most popular meta-framework within the Vue.js community, competing in the same space as other meta-frameworks such as Next.js or SvelteKit.

Support for Nuxt 3 can further increase the Cypress appeal when evaluating testing frameworks amongst the Vue community.

Previous discussions

This initial discussion has been closed as the Nuxt team confirmed that the Vite config can be exposed.

Reproduction Repository

I attempted to combine the suggestions coming from the Nuxt and Cypress teams into this reproduction repo: https://github.com/floroz/nuxt3-starting-template

However, I get the following error when trying to load Component Testing

Screenshot 2023-02-06 at 14 38 57

I am not familiar with the Cypress code so I couldn't tell whether the two configs (the one exposed from @nuxt/kit, and the one parsed from the cypress.config.ts components.devServer.viteConfig function.

Feature Request

Could you please have a look and consider whether an unsupported but documented approach to integrating the two technologies can be implemented?

cc @lmiller1990

@nagash77 nagash77 added type: feature New feature that does not currently exist CT Issue related to component testing labels Feb 6, 2023
@lmiller1990
Copy link
Contributor

Hi!

I think this is a dup of #23619. In an effort to minimize issues (around 2.8k right now). I will need to close it.

This doesn't mean nothing is happening. Quite the contrary - I am working on #25637 right now. This will let third parties slot their own integrations into Cypress.

Then, we can write a community plugin that makes Nuxt work. I'll try to do this in parallel with #25637. Please follow #23619 for progress. I'll post an update there now.

Thanks!

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: feature New feature that does not currently exist
Projects
None yet
Development

No branches or pull requests

3 participants