antfu-collective / vitesse

🏕 Opinionated Vite + Vue Starter Template

Home Page:https://vitesse.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I can't do component test with Cypress

bernardo-zuchowski opened this issue · comments

Describe the bug

First, I can't run cypress.

Then I update Cypress to 10.8.0 (latest version), then I remove the cypress folder and cypress.config.ts so I can do the initial configuration of component test.

When I try to mount the first component with Cypress mount, this error appears:
image

Reproduction

https://github.com/bernardo-zuchowski/vitesse-cypress-issue

System Info

System:
    OS: Linux 5.15 Manjaro Linux
    CPU: (8) x64 Intel(R) Core(TM) i3-10105 CPU @ 3.70GHz
    Memory: 4.45 GB / 15.24 GB
    Container: Yes
    Shell: 5.9 - /usr/bin/zsh
  Binaries:
    Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
    npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm
  Browsers:
    Firefox: 104.0.2

Used Package Manager

pnpm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

I posted the same issue in Cypress: cypress-io/cypress#23923