Skip to content

Framework detection doesn't occur when opening Cy with cypress open --component #22777

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

Closed
JessicaSachs opened this issue Jul 14, 2022 · 3 comments · Fixed by #26306
Closed

Framework detection doesn't occur when opening Cy with cypress open --component #22777

JessicaSachs opened this issue Jul 14, 2022 · 3 comments · Fixed by #26306
Assignees
Labels
CT Issue related to component testing type: bug

Comments

@JessicaSachs
Copy link
Contributor

Current behavior

I have a project configured for e2e and I want to set CT up.

I ran:

cypress open --component --browser=chrome

and the framework is not detected.

Workaround: If you click "Back" on the Testing Type Selection page in the launchpad and click on the "Component Testing" testing type card, it correctly detects the framework as Vite + Vue 3.

Desired behavior

Detect the correct framework.

Test code to reproduce

This project, at this commit (has e2e, but not ct yet): vueschool/vuejs-forge-the-project@4b10ffd

In this project, E2E was already setup before I tried to open Cy CT 10.2.0 for the first time on this machine.

Cypress Version

10.2.0

Other

No response

@cypress-bot cypress-bot bot added the stage: investigating Someone from Cypress is looking into this label Jul 14, 2022
@astone123
Copy link
Contributor

Thanks @JessicaSachs, I was able to reproduce this with the example that you provided.

@cypress-bot cypress-bot bot added stage: routed to ct and removed stage: investigating Someone from Cypress is looking into this stage: routed to ct labels Jul 15, 2022
@astone123 astone123 added CT Issue related to component testing type: bug labels Jul 15, 2022
@astone123 astone123 removed their assignment Jul 18, 2022
@baus
Copy link

baus commented Oct 7, 2022

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Apr 17, 2023

Released in 12.10.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v12.10.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Apr 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CT Issue related to component testing type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants