-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 open dont show up window #2667
Comments
are u sure that it is not opened at all? sometime i have the issue that the dashboard/runner is shown outside of the screen. |
@Konstruktour Yes, it dont open. There no window in task panel and as i remember there should be. The only thing that i can notice is that when i stop some window ( console window ??) blinking and thats all. |
Hey @aldarund, can you run I would like to know if it is related to your project's test code or not. |
@jennifer-shehane it is not related to project code, it was working before on same code. I tried on your linked repo and its same behaviour. |
The problem is node 11, on windows environment. Works fine with node 10.3 |
maybe related: |
Yes, adding windowsHide in the spawn options (cypress/cli/lib/exec/spawn.js, line 90), solves the problem in windows with node 11. I will send a PR later;) |
Having the same issue here. Node 11 + Windows 10 + Cypress 3.1.1 Running |
PR added. |
Awesome, just experiencing this issue now 👍 |
The code for this is done, but this has yet to be released. We'll update this issue and reference the changelog when it's released. |
Released in |
@brian-mann @chrisbreiding 3.1.2 dont fix the issue. Your latest refactoring to that PR broke it again.. After them you are setting windowsHide to getEnvOverrides which ends up into env vars and it dont work. |
Why not show up windows?When do you want to solve it. It also can not open chrome in window 10 |
the problem is we set |
Released in |
In case this still happens you can Shift + Right Click on the Icon in the Toolbar an then click Maximize - that should bring the Window into the foreground and your are able to use it. |
@Pascalmh thanks man! |
@grzegorz-jazurek you saved my life :) |
In my case I had to uninstall Cypress and kill cypress folder in AppData folder(Kill all caches) |
@grzegorz-jazurek you save my life too:-) |
This has saved me so many times. Thank you |
how to fix this one i faced this issue |
how to fix this one i faced this issue |
Any resolution for mac on this? |
We have been using Cypress v6.4 for over a year but faced this issue the first time today. The workaround mentioned by @Pascalmh did solve the problem for me, but I wonder if it's a problem fixed in later versions? |
Enter "npm run cypress: open" in PowerShell (instead of CMD). |
I am also facing same issue. Cypress window is blinking for a sec then closed |
i have also face this issue have you solved it |
I am also facing the same issue |
After upgrading to cypress 10.3.0 am seeing this issue in Windows. It does open but window is laying somewhere else and cant focus to it. Current hack am using is Shift+ Right click and then maximize. |
having the same issues resolved by this "Current hack am using is Shift+ Right click and then maximize." |
@Pascalmh, thx for the workaround, it's working but I'm still wondering why it was working before (I'm using the same machine as before) and now, after a while, it's failing to work properly when running ' I'm using Cypress vers. 9.7.0 |
Yeah, also experiencing this same issue on Windows 11, running cypress version 10.7.0, 10.8.0, and 10.9.0. Was able to get it back into focus by doing the Shift + Right click and selecting maximize as well. |
Facing the same issue on 17 october 2022. Was able to get it back into focus by doing the Shift + Right click and selecting maximize as well. ====update==== |
Thanks! This is really helpful!! |
when i Give this npx cypress open command, In a Visual studio code editor terminal, the cypress test runner window is opening, but it is not visible[not able to open] i can see the Cypress window icon only in Taskbar. |
Hover over the cypress icon on your task bar and you'll see the mini-window of cypress UI. Right-click on that mini-window and click "maximize" |
yes, i got it ..Thanks for the Solution...... |
Ok, turned out it was on my laptop screen, I I turned that off but it reset itself after I reconnected the monitor, and my laptop was closed so I can't see it. |
how to write the code for Capturing the error message in cypress. |
Great answer, worked for me with Cypress 13. |
Current behavior:
cypress open
dont show up cypress window. It load for sometime and nothing.cypress run
work fine.I did clean cache (
c:\Users\shape\AppData\Roaming\Cypress\
&c:\Users\shape\AppData\Local\Cypress\
), i did reinstall cypress. No luck.here is cypress log from
cypress open
https://gist.github.com/aldarund/7261313ecf1a729608f4d34008914c81
There is like 4-5 Cypress.exe running after open.
And when i stop it i see shortly a blinking window ( like milliseconds)
Desired behavior:
Cypress opens a runner and window show up
Steps to reproduce:
just
cypress open
Versions
Cypress 3.1
Node 11
Windows 10 x64
Chrome Version 71.0.3578.20 (Official Build) beta (64-bit)
The text was updated successfully, but these errors were encountered: