No tests found when using cypress open
quant-daddy opened this issue · 3 comments
quant-daddy commented
crhayes commented
What does your cypress.json
file look like, and the folder structure of your project?
quant-daddy commented
{
"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"
bahmutov commented
Right. So there are no integration specs thus Cypress 5.5.0 does not know what to do. Either click each component spec one by one or upgrade to Cypress v5.6.0 that can run all component specs together
…Sent from my iPhone
On Nov 18, 2020, at 16:50, Suraj Keshri ***@***.***> wrote:
{
"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"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.