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)
Cypress opens a runner and window show up
just cypress open
Cypress 3.1
Node 11
Windows 10 x64
Chrome Version 71.0.3578.20 (Official Build) beta (64-bit)
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 cypress open
with another project, like our cypress-example-kitchensink
?
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.
Let me know what else i can provide to help debug it :)
The problem is node 11, on windows environment. Works fine with node 10.3
maybe related:
https://github.com/nodejs/node/pull/21316
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 node_modules\.bin\cypress open
doesn't show the browser. cypress run
works fine.
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 3.1.2
.
@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 windowsHide
as a prop of options.env
, when it should be a prop of options
https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options
I'll open up a PR to fix this
Released in 3.1.3
.
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.
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 :)
Most helpful comment
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.