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
Cypress runner stuck on loading and shows only white screen #26079
Comments
It happen to me too, in Mac. |
Hi @laoneo. Thank you for opening an issue. Would you help me in getting a simpler way to reproduce this issue, by maybe using a small npm project or using cypress-test-tiny and making it possible to run the docker image directly from the cmd somewhat like this:
is this an option to reproduce this without the larger joomla steps? |
Cloned the tiny project, changed into the project and run the command provided by you. Same result, on desktop it works but not on the laptop. Is there nothing suspicious in the log I provided to narrow down the issue? Looks like some errors do happen, but I have no clue what they mean. |
@laoneo would you be able to send those errors here? It sounds like we are going to have difficulty reproducing this issue. |
It's in the pr description in the debug log, pasting here an excerp:
|
Have you verified the X11 server is running as well as Possibly related to electron/electron#36524 |
Yes it is, otherwise the window would not open at all. But the cypress window does open, it is just empty as you can see in my screenshot. |
When you mean to start docker with the 10.9.0 version, then nope, same result, the empty window. |
Hmmm, I'm not too sure where to go with this issue. I gave it a try in an ubuntu 22 VM and gave it the aggressive |
That's why I posted the debug log that you can have a look. As I wrote as well that it works on my desktop pc I hoped you will get something from the log why cypress is crashing. |
Hi @laoneo , Right now there doesn't seem to be enough information to reproduce the problem on our end. We'll have to close this issue until we can reproduce it. This does not mean that your issue is not happening - it just means that we do not have a path to move forward. Please open a new issue with a reproducible example and link to this issue. Here are some tips for providing a Short, Self Contained, Correct, Example and our own Troubleshooting Cypress guide. |
The problem is that the window of cypress opens and then it stays blank. How else should I give you more information. Not sure what it has to do with the environment as the window opens, but it crashes on the cypress side. So, how can I provide more information? |
Hello @laoneo , At this point we just don't have a way to dig deeper without spending more time than we have available. This is not being widely reported and seems to be specific to your laptop configuration. If you find a way to reliably reproduce this problem outside of your specific laptop please do comment back and we can reopen and investigate. |
I understand that it is something specific to my setup. But how can get some debug information for the cypress window when it crashes? If no window would open, then I would understand your attitude, but the window opens form cypress, so actually cypress loads, but crashes. So is there a way to get a crash report of the cypress window? |
1 similar comment
I understand that it is something specific to my setup. But how can get some debug information for the cypress window when it crashes? If no window would open, then I would understand your attitude, but the window opens form cypress, so actually cypress loads, but crashes. So is there a way to get a crash report of the cypress window? |
@laoneo You should be able to open the dev tools and check for information there. |
Thanks for the info. Unfortunately the cypress window doesn't react to any key press I do. It is not the browser who crashes, the cypress window where I can choose the browser and shows me the changelog is not loading fully. |
Just for the record, I have the same issue with debian bookworm and kde on wayland |
Switching to X11 solved the issue as recommended in #20891. |
Current behavior
When starting cypres within the docker container "cypress/included:12.7.0" and do cypress open, then the cypress window opens but I do only see a white screen.
This happens on my asus x515 laptop. When I run the same on my desktop pc it works fine. Here is a link to the docker compose file and here to the endpoint script which executes cypress open command within the container.
Desired behavior
Cypress window opens.
Test code to reproduce
Cypress Version
12.0.7
Node version
The one from the cypress dockerdocker container
Operating System
Ubuntu 22
Debug Logs
Other
As mentioned, it works on the desktop but not on the laptop.
The text was updated successfully, but these errors were encountered: