Skip to content

Misleading docs about component testing with vite #4204

@agualis

Description

@agualis

Description

There are some missing and some misleading instructions in the component testing docs (at least with vite)

URL of Issue(s)

https://docs.cypress.io/guides/component-testing/introduction#Project-Setup

Steps to replicate

Missing link in:

cypress-documentation/content/guides/component-testing/introduction.md

in this sentence:

For our experimental Vite based instructions, please see the information here.

Default @cypress/vue version causing problems:

  • I followed the Vue instructions and yarn installed @cypress/vue which currently installs @cypress/vue@2.2.3.
  • This version was having problems with the testing utils template compiler.
  • However, I saw that your examples are using @cypress/vue": "^3.0.0-alpha.4.
  • Explicitly installing that one worked for me.

Browser

Chrome

Device

  • PC
  • Mac
  • iPhone
  • iPad
  • Android Phone
  • Android Tablet

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions