cypress: Error: Session with given id not found.
Current behavior
Cypress is failing in GitHub Actions workflow:
Session with given id not found.
Error: Session with given id not found.
at <embedded>:2466:519827
at _._handleMessage (<embedded>:2466:521860)
at A.<anonymous> (<embedded>:2466:521673)
at A.emit (node:events:513:28)
at g.U (<embedded>:2466:506953)
at g.emit (node:events:513:28)
at g.dataMessage (<embedded>:2466:487328)
at <embedded>:2466:486860
at <embedded>:2466:478182
at <embedded>:2466:479134
at afterWrite (node:internal/streams/writable:500:5)
at onwrite (node:internal/streams/writable:480:7)
at Zlib.<anonymous> (node:internal/streams/transform:190:7)
at Zlib.processCallback (node:zlib:613:8)
Test run failed, code 1
More information might be available above
Cypress module has returned the following error message:
Could not find Cypress test run results
Error: Could not find Cypress test run results
Desired behavior
Cypress GitHub Action passes
Test code to reproduce
https://github.com/remarkablemark/cypress-cucumber-steps/pull/537
Cypress Version
13.3.3
Node version
18.18.2
Operating System
Ubuntu 22.04.3
Debug Logs
No response
Other
Related to https://github.com/cypress-io/cypress/issues/28136#issuecomment-1779617812
About this issue
- Original URL
- State: closed
- Created 8 months ago
- Reactions: 11
- Comments: 15 (4 by maintainers)
Commits related to this issue
- Update dependencies for Cypress Fixes https://github.com/cypress-io/cypress/issues/28148 — committed to RoundingWell/care-ops-frontend by paulfalgout 8 months ago
@MikeMcC399 Thanks, I can confirm it is fixed in https://github.com/remarkablemark/cypress-cucumber-steps/pull/543
@remarkablemark
Let us know if cypress@13.4.0 fixes this for you!
This was fixed with #28147 and will be released ASAP.
@remarkablemark
I was able to reproduce this locally as a regression in Cypress
13.3.3. The crash does not depend on GitHub Actions, nor does it depend on Chrome.On Ubuntu
22.04.3with the following steps:The crash shows itself as:
and this only appears when using Cypress
13.3.3.Testing with
npx cypress openand selectingcypress/e2e/cypress/docs.featurewith 3 scenarios:13.3.213.3.3I have the same issue together with https://github.com/cypress-io/cypress/issues/28142