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

Cypress freezes on MacOS Sonoma #28519

Closed
alxndrpro opened this issue Dec 13, 2023 · 5 comments
Closed

Cypress freezes on MacOS Sonoma #28519

alxndrpro opened this issue Dec 13, 2023 · 5 comments
Labels
type: duplicate This issue or pull request already exists

Comments

@alxndrpro
Copy link

alxndrpro commented Dec 13, 2023

Test code to reproduce

/// <reference types="Cypress" />

describe('Cypress E2E Testing Demo', () => {
  it('Assert URL', () => {
    cy.visit('https://example.com')
    cy.url().should('contain', 'example.com')
  })

  it('Assert Title', () => {
    cy.visit('https://example.com')
    cy.title().should('contain', 'Example Domain')
  }
  
  
  
  )
})

Cypress Mode

cypress open

Cypress Version

13.6.1

Browser Version

Electron 14

Node version

21.4

Operating System

Sonoma 14.1.2

Memory Debug Logs

No response

Other

image
@jennifer-shehane
Copy link
Member

@alxndrpro Hmm, we haven't had this freezing reported for anyone else on Sonoma. There is this hanging issue in 13.6.0+, but it doesn't cause the process to freeze like this.

Is there any improvement when using other versions of Cypress?

@jennifer-shehane jennifer-shehane added the stage: needs information Not enough info to reproduce the issue label Dec 13, 2023
@alxndrpro
Copy link
Author

alxndrpro commented Dec 13, 2023

Hi! I've tried v13.6.0 and v13.5.0

No improvement.

I've ran 'npx cypress open' (tried both from VS Code terminal, and OS terminal), and after choosing configured Electron v114 the workspace opens next and after 10-15 seconds it freezes like this.

So far that simple sample project I have and plugin 'prettier' installed, nothing more.

@steveatkoan
Copy link

steveatkoan commented Dec 14, 2023

Not sure if its related, but Cypress 13.6.0 and above hang when hot reloading. The test runs fine first time, but if I change the code or test script, Cypress hangs when it tries to auto re-run the test and I need to force quit cypress and restart. 13.5.1 works fine.
Mac OS Sonoma, testing in Chrome, Vue + Vuetify project. All packages updated to latest except vite is 4.5.1

@jennifer-shehane
Copy link
Member

@steveatkoan It looks like you're likely encountering this issue: #28392

You could downgrade to 13.5.1 or follow these steps to get around the issue in our newer version.

@jennifer-shehane jennifer-shehane added type: duplicate This issue or pull request already exists and removed stage: needs information Not enough info to reproduce the issue labels Dec 18, 2023
@steveatkoan
Copy link

thanks. that solved my problem. much appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants