oreillymedia / cypress-playback

Automatically record and playback HTTP requests in Cypress.
BSD 3-Clause "New" or "Revised" License
12 stars 3 forks source link

Cancelled requests are causing recording failure #144

Open piotrpalek opened 7 months ago

piotrpalek commented 7 months ago

Describe the bug Cypress has an open bug where cancelled requests aren't resolved in any way when using cy.intercept. This caused the pending counter in cypress-playback to be inaccurate in those cases, and cause unintended recording failures when there are cancelled requests while recording.

See: https://github.com/cypress-io/cypress/issues/19326

To Reproduce I'll provide if needed, but the linked issues should provide enough context.

Expected behavior Expect to be able to record network requests even if there are cancelled requests within. Alternatively would like if there's a workaround in the readme or library provided.