cypress: Cypress hangs on CI
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.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 10
- Comments: 31 (3 by maintainers)
@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.
Having this issue on Azure Dev Ops. My very simple spec is not using any history.
Retested all this with 3.8.0. It works now. All hangs, performance degradation, etc. seem to be gone, and headed & headless Electron work fine again (for us!).
I’m seeing hanging in CI as well. Will just intermittently fail at a start of another spec file. Not always the same spec file. I downgraded to 3.4.1 but saw the issue there too. When running with
DEBUG=cypress*I see it gets hung up at a proxy after acy.requestand the returned response.Confirm hanging on Azure Devops Build Agent Cypress version 3.7.0 (electron 73)
Downgrade to cypress 3.4.1 (electron 61) fixed such problem.