Closed
Description
Current behavior
It appears what's getting received here is:
Browser
Test 1
- Request for A - request normally made from document
- Request for B - request made from the service worker in order to cache (the way service workers work, you don't start using the cache until the next load of the site)
Test 2 - Request for C
Proxy
Test 1
- A
- B
Test 2 (Nothing. Since now everything is cached)
CDP
Test 1 (B doesn't arrive. Seems like service worker requests don't go through CDP)
- A
Test 2 - C
So B ends up timing out during the correlation phase.
Desired behavior
We should either find a way to ignore requests that are being made from service workers in terms of correlation. Or we need to get the request information somewhere else.
Cypress Version
13.3.1
Node version
18.15.0
Operating System
any
Debug Logs
No response
Other
No response
Metadata
Metadata
Assignees
Labels
No labels