-
Notifications
You must be signed in to change notification settings - Fork 74
Description
When I run Cypress without first having ran the app, I get a test failure caused by a SyntaxError. However, if I then run the app for the first time, then re-run the test suite, that error is gone and the suite is now green. See the attached screenshots.
After running the app and the tests are green there are no noticeable file changes that would explain this behavior. Also I don't even have to load the app in the browser, I just run npm run dev then kill the process and re-run the test and then it passes.
I am able to reproduce this locally by cloning, deleting the repo and cloning again. I tried updating to [email protected] to see if that would take care of the problem but it didn't.
Cypress is now at 10.4 but the upgrade to 10x requires some migration so I thought I would ask if anyone can duplicate just in case the cause is something strange about my local env.
Here is my node info reported by Cypress > Settings
| System Version | 18.7.0 |
| Node.js Path | /Users/brandon/.asdf/installs/nodejs/18.7.0/bin/node |

