This is following up after tagging onto this issue with my versions, specs and further info:
- Operating System: macOS 10.13.3
- Cypress Version: 2.1.0
- Browser Version: Google Chrome 65
Is this a Feature or Bug?
Bug
Current behavior:
No server sent events are received by the application running in the Cypress browser. If I kill the server then all events are flushed and appear in the browser at once. It seems that the events are getting buffered in Cypress' proxy layer until the connection terminates. This is how nginx works (or more accurately - doesn't work) with buffering turned on.
Desired behavior:
Server sent events are passed through to the application.
How to reproduce:
Run the repro below.
Test code:
https://github.com/hally9k/cypress-sse
This is following up after tagging onto this issue with my versions, specs and further info:
Is this a Feature or Bug?
Bug
Current behavior:
No server sent events are received by the application running in the Cypress browser. If I kill the server then all events are flushed and appear in the browser at once. It seems that the events are getting buffered in Cypress' proxy layer until the connection terminates. This is how nginx works (or more accurately - doesn't work) with buffering turned on.
Desired behavior:
Server sent events are passed through to the application.
How to reproduce:
Run the repro below.
Test code:
https://github.com/hally9k/cypress-sse