Comments (4)
@CDohertyPayescape Could you try updating to the latest Cypress version and let us know the results after that upgrade?
from cypress.
Hi @jennifer-shehane upgraded to 13.6.6 and it's still occurring
from cypress.
I can confirm that this is happening to me as well. Not for all tests, but for many "big" specs, many of them with uploads/downloads, etc.. that usually takes more time to finish.
No obvious errors, but here is the only thing that worth mentioning that noticed in a few of the tests that hangs:
cypress:server:browsers:cri-client encountered closed websocket on send { command: 'Runtime.evaluate', params: { expression: '\n' + " if (window['cypressSocket-/__socket/default'] && window['cypressSocket-/__socket/default'].send) {\n" + ` window['cypressSocket-/__socket/default'].send('"42/__socket/default,[[\\\\"1\\\\",\\\\"2\\\\",\\\\"3\\\\"],\\\\"net:stubbing:event\\\\",\\\\"83c20a55-5bcb-47cf-90e7-3f060a9a5611\\\\",[\\\\"4\\\\",\\\\"5\\\\"],\\\\"after:response\\\\",{\\\\"eventId\\\\":\\\\"6\\\\",\\\\"subscription\\\\":\\\\"7\\\\",\\\\"browserRequestId\\\\":\\\\"8\\\\",\\\\"requestId\\\\":\\\\"9\\\\",\\\\"data\\\\":\\\\"10\\\\"},\\\\"event6070\\\\",{\\\\"eventName\\\\":\\\\"4\\\\",\\\\"await\\\\":false,\\\\"routeId\\\\":\\\\"11\\\\"},\\\\"60056.3610\\\\",\\\\"interceptedRequest6065\\\\",{},\\\\"1710181706826-1039\\\\"]"')\n` + ' }\n' + ' ', contextId: 2 }, sessionId: undefined, err: Error: WebSocket is not open: readyState 3 (CLOSED) at O (<embedded>:2466:564310) at A.send (<embedded>:2466:559636) at _._enqueueCommand (<embedded>:2466:580382) at <embedded>:2466:577627 at new Promise (<anonymous>) at _.send (<embedded>:2466:577601) at Object.send (<embedded>:4432:49882) at <embedded>:4457:25889 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) } +6m
cypress:server:browsers:cri-client enqueueing command {
command: 'Runtime.evaluate',
params: {
expression: '\n' +
" if (window['cypressSocket-/__socket/default'] && window['cypressSocket-/__socket/default'].send) {\n" +
` window['cypressSocket-/__socket/default'].send('"42/__socket/default,[[\\\\"1\\\\",\\\\"2\\\\",\\\\"3\\\\"],\\\\"net:stubbing:event\\\\",\\\\"83c20a55-5bcb-47cf-90e7-3f060a9a5611\\\\",[\\\\"4\\\\",\\\\"5\\\\"],\\\\"after:response\\\\",{\\\\"eventId\\\\":\\\\"6\\\\",\\\\"subscription\\\\":\\\\"7\\\\",\\\\"browserRequestId\\\\":\\\\"8\\\\",\\\\"requestId\\\\":\\\\"9\\\\",\\\\"data\\\\":\\\\"10\\\\"},\\\\"event6070\\\\",{\\\\"eventName\\\\":\\\\"4\\\\",\\\\"await\\\\":false,\\\\"routeId\\\\":\\\\"11\\\\"},\\\\"60056.3610\\\\",\\\\"interceptedRequest6065\\\\",{},\\\\"1710181706826-1039\\\\"]"')\n` +
' }\n' +
' ',
contextId: 2
}
} +19ms
cypress:server:browsers:cri-client disconnected, starting retries to reconnect... { closed: false, target: '138DF349E0B10B5C7548B3B2E8EB5DE5' } +1ms
cypress:server:browsers:cri-client disconnected, attempting to reconnect... { retryIndex: 1, closed: false, target: '138DF349E0B10B5C7548B3B2E8EB5DE5' } +0ms
cypress:server:browsers:cri-client connecting { connected: false, target: '138DF349E0B10B5C7548B3B2E8EB5DE5' } +1ms
cypress:server:browsers:cri-client connected { connected: true, target: '138DF349E0B10B5C7548B3B2E8EB5DE5' } +40ms
I am on Mac M1, Cypress 13.6.6 , Chrome 122.
Without the record key, it either passes or fails, but with the record flag it just hags. It happens as well in the CI.
from cypress.
A bit more information, I have degraded the version of Cypress to 12.17.4, ran the test that will cause the hanging and tracked the run in Cypress cloud, which has worked as expected. I then upgraded back up to 13.6.6 and reran which ended up hanging again. Looks to be specific to Verison 13?
from cypress.
Related Issues (20)
- Normal text in CI logfile is kind of unreadable HOT 8
- Cypress Tests Timing Out on Page Load. HOT 1
- 'have.text' assertion seems to be coming up with incorrect values. HOT 1
- @cypress/grep README refers to legacy filename cypress/support/index.js HOT 1
- Add a clock on the cypress UI HOT 1
- Test Replay: [Shadow DOM] Support manual slotted elements.
- Investigate flaky Firefox screenshot test HOT 1
- download.cypress.io expired cert when response is cypress.zip HOT 16
- Integrity failed to find. Resource blocked only in Cypress. Source rewrite not helps HOT 2
- Unable to Type in Test Name and Save the New Test in Cypress Studio HOT 1
- Edge Renderer Crash HOT 3
- cy.log will print & instead of & HOT 1
- Flaky test: Screenshot Timeout system test in Firefox
- Difficulty Typing in Cypress Tests for Custom Elements with Shadow DOM HOT 2
- Cypress.require() works only if give absolute path HOT 1
- Unable to select text within span HOT 2
- Cypress & Chrome Test Third Party Cookie Phase Out HOT 4
- Can't install an npm package because the server considers me a bot (403 forbidden via 4G) HOT 4
- timeouts with upgrade to >=13.6.3 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cypress.