cypress-example-recipes icon indicating copy to clipboard operation
cypress-example-recipes copied to clipboard

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

Open tbiethman opened this issue 2 years ago • 2 comments

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.

tbiethman avatar May 16 '22 16:05 tbiethman

Hi, any news ?

FiReBlUe45 avatar May 12 '23 20:05 FiReBlUe45