cypress: Cypress open dont show up window
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)
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 4
- Comments: 42 (5 by maintainers)
Commits related to this issue
- Revert "Issue 21316 windows node11 (#2699) (fixes #2667)" This reverts commit 54ce93b98570073c613c778a6c48e9d39f8491c3. — committed to cypress-io/cypress by kuceb 6 years ago
- fix windowsHide prop (#2853) * Revert "Issue 21316 windows node11 (#2699) (fixes #2667)" This reverts commit 54ce93b98570073c613c778a6c48e9d39f8491c3. * add windowsHide prop * fix test name — committed to cypress-io/cypress by kuceb 6 years ago
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.
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.
@Pascalmh thanks man!
This has saved me so many times. Thank you
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==== After few runs it is fixed on its own
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.
In my case I had to uninstall Cypress and kill cypress folder in AppData folder(Kill all caches)
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”
Released in
3.1.2.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.
@grzegorz-jazurek you saved my life 😃
the problem is we set
windowsHideas a prop ofoptions.env, when it should be a prop ofoptionshttps://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options I’ll open up a PR to fix thisThe problem is node 11, on windows environment. Works fine with node 10.3