Home > Enterprise >  Cypress 10 Unable to show my folders when i run commond npx cypress open
Cypress 10 Unable to show my folders when i run commond npx cypress open

Time:06-15

enter image description here

When I update the cypress version from 9 to 10 and run the command "npx cypress open" unable to show my folder structure.

CodePudding user response:

How have you named the specs in the folders?

If migrated from Cypress v9, change the spec extension to .cy.js and you should be able to pick them up.

Or change the configuration for specPattern to

specPattern: "cypress/e2e/**/*.spec.{js,jsx,ts,tsx}"
  • Related