-
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 devtool sometimes loses "developer tools" menu bar item #3559
Cypress devtool sometimes loses "developer tools" menu bar item #3559
Comments
This menu is only available when running Cypress tests on Electron for me. When running through Chrome, the Chrome menubar appears. Are you opening the tests in Electron here? |
Yep running in electron |
I observe this occasionally when running tests in Electron from the Test Runner. I believe when this occurs, the Devtools are also inaccessible through Ctrl+Shift+I (which normally opens the devtools). Windows 10 / Cypress 3.1.5 |
This happens to me using Electron / Cypress 3.1.5. |
I think this may be fixed by this PR: #4003 - set to release in 3.3.0 |
Whoo! Can you let me know when that lands in a cypress release!? |
This bug is present on both Windows and Linux for me on 3.1.5 |
3.3.0 was released. Has this been fixed you y'all? |
Seems to be fixed for me. Using 3.3.1 |
Released in 3.3.0. |
@jennifer-shehane can you re-open this? Its intermittent for me, it happens particularly when my system is slowed down e.g. if I run one spec over and over for 20 mins, until its very slow due to memory leaks, then I close the spec and re-open it. I notice that you seem to be globally adding and removing the menu for developer tools depending on if a spec window is open, so I suspect that as some of this is async, if you process removing the menu after adding a menu, it ends up disappearing. work around - close the spec window. wait 10 seconds. open it again. |
Honestly, it's much simpler than this because I just found it looking at your screenshot. The Develop Tools menu disappears in Electron browser after focusing on the "Integration Tests" window, then switching back to the Electron browser window. Oh great, my screen recording doesn't record my Menu bar. 😝 I think I should be able to fix this. |
Thanks for the simpler reproduction! |
This is still happening for me on Cypress 3.8.3, using Mac OS + Electron 78. Activating the Integration Tests window and switching back to the Electron browser window does not help. |
This will be fixed in the Electron 9 upgrade #7791 |
The code for this is done in cypress-io/cypress#7791, but has yet to be released. |
Released in 5.0.0. This comment thread has been locked. If you are still experiencing this issue after upgrading to Cypress v5.0.0, please open a new issue. |
Current behavior:
I'm not sure when this happens but fairly often I'll go to press a shortcut to reload cypress or open the inspector and find that it isn't working. Then I'll see that those options have disappeared from the menubar:
Desired behavior:
Steps to reproduce: (app code and test code)
I'm not sure when this happens, but maybe someone else who has experienced this issue knows?
Versions
Latest chrome v72
Cypress 3.1.5
Mac OSX
The text was updated successfully, but these errors were encountered: