Code Monkey home page Code Monkey logo

Comments (4)

jennifer-shehane avatar jennifer-shehane commented on August 16, 2024

@CDohertyPayescape Could you try updating to the latest Cypress version and let us know the results after that upgrade?

from cypress.

CDohertyPayescape avatar CDohertyPayescape commented on August 16, 2024

Hi @jennifer-shehane upgraded to 13.6.6 and it's still occurring

from cypress.

catalingmn avatar catalingmn commented on August 16, 2024

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.

CDohertyPayescape avatar CDohertyPayescape commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.