-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error after running a test using the Firefox browser on the CLI in Windows. #30916
Comments
In your screenshot Windows is showing an issue because the resource is busy. You may want to reboot your system and see if that clears the issue. |
I have encountered the similar issue from chrome, and I deleted this file and launch cypress again, it is normal now. |
I am seeing it as well on Windows 11 24H2 with Cypress npx cypress run -b firefox If I repeatedly execute the above command, sometimes there is an error, sometimes there is no error. This is a sporadic issue. On repeat runs, the directory and filename changes each time:
In each case, the error message is similar to the one in the original report, for example:
|
Steps to reproduceThe following fails sporadically on Windows 11 24H2 (Node.js git clone --branch firefox-profile https://github.com/MikeMcC399/cypress-test-tiny
cd cypress-test-tiny
npm ci
./firefox-loop.sh On Ubuntu |
From what I can see, Cypress is having sporadic problems to delete a temporary Firefox profile on Windows. It doesn't happen all the time and it doesn't stop Cypress from working. |
Current behavior
Using the commandline, test itself succeeds but throws the following error.
[firefox-profile] cannot delete profileDir on exit
Here is what we did so far to no avail.
Desired behavior
No response
Test code to reproduce
I was able to reproduce it with sample repo .
npx cypress run --browser firefox
Cypress Version
13.17.0
Node version
v20.10.0
Operating System
Windows 11 Pro
Debug Logs
Other
There was no problem running on Mac or in GUI mode.
The text was updated successfully, but these errors were encountered: