question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cypress hangs on CI

See original GitHub issue

I was using cypress 3.4 on the Azure pipeline and it was working fine. The problem started when I upgraded the cypress version to 3.5. The cypress run hangs on the first test suite and doesn’t move forward. I upgraded the cypress version to 3.6 and it was the same. I am using junit for test reporter and have nothing else special. Also the cypress test runs fine on my local without any problem.

{
  "reporter": "junit",
  "viewportHeight": 1600,
  "viewportWidth": 1080,
  "reporterOptions": {
    "mochaFile": "./cypress/test-output-[hash].xml",
    "toConsole": true,
    "attachments": true
  },
  "video": false,
  "env": {
    "urlEnv": "staging"
  },
  "chromeWebSecurity": false,
  "pageLoadTimeout": 50000
}

The test suites are quite simple - just a combination of cy.visit and cy.get.type.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:10
  • Comments:31 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
jennifer-shehanecommented, Dec 16, 2019

@valdasgra @dlabrecque @harvitronix @cooleiwhistles @fdaryaee @selangley-wa @9odzilla @milandebuck @EugeneCh

Can everyone try updating to our latest Cypress 3.8.0 version and let us know the results? We fixed a lot of regressions introduced in 3.5.0 and are unaware of any leftover involving CI hanging, so that would be really appreciated.

3reactions
selangley-wacommented, Nov 20, 2019

Having this issue on Azure Dev Ops. My very simple spec is not using any history.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cypress sometimes stalls/hangs with no output when running ...
We are facing similar issue, Cypress just hangs indefinitely during ... Cypress hangs when running in docker container in Concourse CI #7174.
Read more >
Cypress + Github actions - tests hang indefinitely - Reddit
Sometimes one, sometimes three. What takes on AWS codebuild ~ 15minutes, is still hanging here after 40 minutes. After I cancel the run...
Read more >
Cypress 7+ hanging in IC - Stack Overflow
The job hangs on : ℹ 「wdm」: wait until bundle finished: /__cypress/src/index.html. before stopping after 15 min due to timeout.
Read more >
cypress-io/cypress - Gitter
I have problem with running Cypress tests on Azure DevOps CI using latest ... Everything worked fine on version 3.4.0, however now test...
Read more >
Troubleshooting | Cypress Documentation
Troubleshooting · Support channels · Isolate the Problem · Download specific Chrome version · Clear Cypress cache · Launching browsers · Allow the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found