Cypress not loading an updated file

Viewed 242

Cypress is not reading my updated script. I make a change in WebStorm. Cypress starts to load the file but then refreshes and loads an old file. It does not load the updated spec. I then check the file using the Open in IDE link in Cypress and it shows me the newly updated spec. Why is Cypress loading an old file and not running the updated one?

I've updated Cypress to 4.12.0. Closed it, reopened and still it does not run the file that I have in the Integration directory. And the old file it does run is not in the Integration directory. So why is it trying to run that file. I thought Cypress only executes files in the Integration directory

1 Answers

Switching back to version "^7.6.0" fixed it.

Related