Skip to content
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

Electron app stuck on "Your tests are loading..." on Mac wakeup #30618

Open
tony-g opened this issue Nov 14, 2024 · 0 comments
Open

Electron app stuck on "Your tests are loading..." on Mac wakeup #30618

tony-g opened this issue Nov 14, 2024 · 0 comments
Labels
type: bug type: regression A bug that didn't appear until a specific Cy version release v13.5.0 🐛

Comments

@tony-g
Copy link

tony-g commented Nov 14, 2024

Current behavior

The electron app seems to be getting stuck on "Your tests are loading..." when waking up from sleep on Mac 14.7.1.

Repro steps:

  1. Clone cypress-test-tiny
  2. cypress open
  3. Run the E2E tests in Electron
  4. Run a spec
  5. Put your Mac to sleep and wake it up (duration doesn't seem to matter)
  6. The app shows "Your test are loading..." on end
  • Editing the tests doesn't seem to help
  • Neither does choosing another spec
  • Things do work after closing and reopening the Electron window
image

Desired behavior

This doesn't repro with Cypress 13.2.0, where tests run just fine upon wake up, with no need to open and close the window.

If that's no longer possible for some reason, it would be more convenient if there was a single button I could press to reset things (which maybe I've missed) rather than having to open and close the window and navigate back to the spec.

I also tried with several versions to try to see when the issue started and it seems to be 13.5.0:

  • 13.4.0 - works as expected
  • 13.5.0 - post-wakeup seems to get stuck
  • 13.15.2 - also gets stuck on the latest

Test code to reproduce

Repros with https://github.com/cypress-io/cypress-test-tiny

Cypress Version

13.15.2

Node version

18.17.1

Operating System

macOS 14.7.1

Debug Logs

No response

Other

No response

@mschile mschile added type: bug type: regression A bug that didn't appear until a specific Cy version release v13.5.0 🐛 labels Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug type: regression A bug that didn't appear until a specific Cy version release v13.5.0 🐛
Projects
None yet
Development

No branches or pull requests

2 participants