I have been writing cypress tests for the UI of this new chrome app. All of my tests seem to pass when I run them individually, and they all work as intended. However, when I try to do something like npx cypress run, or have a spec file where the tests take longer then a minute, my tests seem to freeze as seen in the image:view when tests freeze. It stays like this if I let it run for about 30 minutes, when it suddenly crashes and gives this error code:
write EPIPE Error: write EPIPE at afterWriteDispatched (node:internal/stream_base_commons:160:15) at writevGeneric (node:internal/stream_base_commons:143:3) at Socket._writeGeneric (node:net:929:11) at Socket._writev (node:net:938:8) at doWrite (node:internal/streams/writable:409:12) at clearBuffer (node:internal/streams/writable:564:5) at Socket.uncork (node:internal/streams/writable:351:7) at p.sendFrame (:2262:550186) at p.send (:2262:549247) at A.send (:2262:559803) at _._enqueueCommand (:2262:580382) at :2262:577627 at new Promise () at _.send (:2262:577601) at T.send (:4401:60472) at _. (:4401:70913) at _.emit (node:events:514:28) at _._handleMessage (:2262:580235) at A. (:2262:579669) at A.emit (node:events:514:28) at f.U (:2262:564853) at f.emit (node:events:514:28) at f.dataMessage (:2262:545228) at f.getData (:2262:544410) at f.startLoop (:2262:541117) at f._write (:2262:540472) at writeOrBuffer (node:internal/streams/writable:392:12) at _write (node:internal/streams/writable:333:10) at f.write (node:internal/streams/writable:337:10) at Socket.W (:2262:565539) at Socket.emit (node:events:514:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Socket.push (node:internal/streams/readable:234:10) at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
This seems to be independent of the test, as It happens around the minute mark no matter what test is actually executed at that time, as long as it is around the minute mark, it will freeze.
I tried running different versions of cypress, however, nothing seemed to help.
Dor Frechter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.