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
Migration in V11 not working have to go over 10 #24643
Comments
Thanks for reporting this @rogoit! Could I please confirm, did you experience this in I've tried a couple of ways to reproduce this but migration directly into 11+ is working for me directly without going through 10. Is the project you upgraded public by any chance? Did you see the migration steps displayed, and the spinner started after attempting the first step, or did Cypress just not ever show the specs? |
for me in 11.0.1 |
I wonder if you can share the old cypress.json from the project (with redactions if needed). Hard to say what the problem is (but very grateful that you reported a problem after you were personally unblocked!). |
I'm currently seeing the same behaviour attempting to upgrade from 7.3.0 to 11.0.1. I'll try going through 10 and report back. In the meantime, my
|
Upgrading to v10 first worked for me too. The migration helper came up almost straight away after running The subsequent upgrade from 10 to 11 has worked too. |
Hmm. Thanks for this @xram. When you upgraded to 10, did you go for 10.0.0 or 10.11.0, the latest? That'll help narrow down the changes that could be causing this. |
Just to document and confirm: still not able to reproduce - I forked cypress-test-tiny and set it up with Cy 8, then opened some tests. After that I installed 11.0.1 and opened Cypress, it correctly offered migration and migrated without an issue. I'm keeping this issue open & I'm very interested in what could be the cause. I tried with your cypress.json @xram and no issues there. |
I just had the same issue, going from 9 -> 11.0.1 would hang during migration at this stage:
did 9 -> 10.11.0 -> 11.0.1 instead and both migrations were pretty much instantaneous edit: it didn't really hang, it would just loop those two commands for 10 minutes before I killed it |
Thanks @aspacek-se. If you have the time/interest in repeating the process, would you be able to do so with dev tools open on the launchpad? You can open them in the "Developer Tools" menu at the top. This will show if there any error recorded on the client side. Without reverting your whole project, you could rename |
yup, here's the error
|
Thanks so much @aspacek-se! |
The code for this is done in cypress-io/cypress#24675, but has yet to be released. |
This will be fixed in the next patch, thanks again to people reporting the issue even after you have unblocked yourselves 💯 |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
Hello Friends,
today I wanted to upgrade a E2E testing project from version 9 to 11. The migration window "5 minutes" can not finishwork and was there endless.
Solution was to update from 9 to 10 and then install 11.
Desired behavior
That a upgrade from V9 to V11 just will work.
Test code to reproduce
Do not have it public
Cypress Version
9
Node version
14.7
Operating System
Ubuntu 22
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: