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}"