cypress icon indicating copy to clipboard operation
cypress copied to clipboard

Requests from Firefox Extension always delayed 500ms due to timeout in proxy server

Open tylerccarson opened this issue 9 months ago • 3 comments

Current behavior

There's an artificial 500ms delay to every HTTP request issued from the background page on a Firefox Extension. For whatever reason, this issue does not seem to come up for Chrome Extensions.

cypress:proxy:http:util:prerequests Never received pre-request or url without pre-request for request POST-http://localhost:8000/api/rest/vault/sync_down after waiting 500ms. Continuing without one. +546ms

Desired behavior

No response

Test code to reproduce

Repo to demonstrate: https://github.com/tylerccarson/cy-firefox-ext-prerequest-delay.

Start the local server npm run cypress:server, and then run Cypress in interactive mode in another process. You will see that the Chrome test passes, while if fails in Firefox.

Cypress Version

13.9.0

Node version

20.12.2

Operating System

macOS 14.5

Debug Logs

No response

Other

No response

tylerccarson avatar May 14 '24 23:05 tylerccarson