cypress-io / cypress-example-recipes

Various recipes for testing common scenarios with Cypress
https://on.cypress.io/examples
3.42k stars 1.34k forks source link

server-communication__offline recipe does not work with Chromium browsers v97+ #772

Open tbiethman opened 2 years ago

tbiethman commented 2 years ago

A bug correction was released in Chromium 97 that ensures that websockets adhere to emulated network conditions set with Network.emulateNetworkConditions: https://bugs.chromium.org/p/chromium/issues/detail?id=1139824

Setting the network to offline in this way will now cause the Cypress runner socket to disconnect and the test run to hang. This can be replicated in Chromium 97+ and with Chrome's latest version as of this posting (v101).

We need to re-evaluate this recipe and provide updated guidance for this testing flow.

FiReBlUe45 commented 1 year ago

Hi, any news ?

FiReBlUe45 commented 1 month ago

up ?