cypress-io/cypress-react-unit-test

No tests found when using cypress open

quant-daddy opened this issue · 3 comments

"cypress": "^5.5.0"
"cypress-react-unit-test": "^4.16.9"
Chrome 86
OS: Macbook

Hi,

I am able to run each test individually when using cypress open. However when I click on run all specs, it shows this error:
It works file for cypress run
Screen Shot 2020-11-11 at 2 03 19 PM

What does your cypress.json file look like, and the folder structure of your project?

{
  "testFiles": "**/*.cy.spec.{ts,tsx,js,jsx}",
  "experimentalComponentTesting": true,
  "viewportWidth": 1400,
  "viewportHeight": 1000,
  "experimentalFetchPolyfill": true,
  "componentFolder": "src/components",
  "integrationFolder": "cypress/integration",
  "nodeVersion": "system",
  "env": {
    "coverage": false
  },
  "video": false
}

It does match the folder structure because I am able to select single test to run.

"cypress": "^5.5.0"
"cypress-react-unit-test": "^4.16.9"

Screen Shot 2020-11-18 at 4 49 38 PM