I’m running into an issue with Cypress.io that I don’t see too much helpful information about out there. Essentially, whenever I make changes to my code (e.g. implement a new method, remove an old method, etc.) and save, the test runner goes ahead and executes my test file as it should. However, it runs the code that was present prior to the changes. I’ve tried implementing hooks, eliminating hooks, closing the dashboard after each run, clearing the app data; not sure what the source of the issue is though.
For context, I’m running cypress using Yarn (yarn cypress open
to open the dashboard) and am keeping my test files saved in cypress/integration/
.
This issue could be caused by various factors, including caching, using outdated dependencies, or having a conflicting process running in the background.
Try the following steps to resolve the issue:
If the issue persists, consider reaching out to the Cypress community for further assistance or sharing more information about your setup, such as your operating system and version of Cypress.