Files
cypress/packages/https-proxy
Zach Bloomquist 15c3e95429 Improve error experience when visiting outside of Cypress-launched browser (#6435)
* force websockets transport

* wip: ensure ws connections take place thru a known socket

* clean up yesterday's work

* remove dead code (request is undefined)

* update websocket tests

* add websocket tests

* update socket + server specs

* add token auth for file_server

* Fix cy.visit file_server

* restrict non-proxied URLs, serve error on runner URL non-proxied

* add e2e test for server splash page

* fix types

* use clientRoute, fix tests

* only run 6_non_proxied in electron

* use browser.path

* improve empty options type

* add ws assertions in e2e tests

* fix server_spec

* refactor socket whitelisting logic

* update server_spec

* respond to PR feedback

- added tests for non-clientRoute redirecting to clientRoute when not behind proxy
- cleaned up comments
- cleaned up logic in server.coffee
- moved error html to own file
- added unit test for socket whitelist + fixed removal bug
2020-02-14 16:21:36 -05:00
..
2020-02-06 10:52:13 -05:00
2019-03-31 23:39:10 -04:00
2020-02-11 12:40:07 +06:30
2020-02-11 12:40:07 +06:30

HTTPS Proxy

This package is responsible for acting as a CA authority and generating dynamic certificates on the fly for outbound HTTPS connections.

This package enables Cypress to inspect and modify bytes coming in and out of the browser.

Testing

yarn lerna run test --scope @packages/https-proxy --stream
yarn lerna run test-watch --scope @packages/https-proxy --stream
yarn lerna run test-debug --scope @packages/https-proxy --stream