cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
46.66k stars 3.16k forks source link

When I create a new cypress project it crashes #29777

Closed Ninad1805 closed 1 week ago

Ninad1805 commented 2 months ago

Screenshot 2024-06-30 131212

Current behavior

I am currently trying to create a new cypress project and whenever I try to open the cypress app it crashes and gets stuck in the background. Also the browser does not respond. If I make changes to my test via VS code then I am not able to run the test again.

It is working fine for another project which I cloned via github but is not working when I am trying to create a new project

Desired behavior

The terminal should start compiling the new test code when I hit save and the cypress app and testrunner should not freeze

Test code to reproduce

describe('template spec', () => {
  it('passes', () => {
    cy.visit('https://www.udemy.com/course/cypress-tutorial/learn/lecture/26426180#content')
  })
})

Cypress Version

@latest

Node version

@latest

Operating System

Windows 11

Debug Logs

No response

Other

https://github.com/cypress-io/cypress/assets/87935579/d441cb46-e837-4b17-bad7-2539e2f5cf00

jennifer-shehane commented 2 months ago

Could you run Cypress in debug mode mode and print the entire set of logs here?