code-server/test/utils
Joe Previte f178f0400b
feat(e2e): add support running behind proxy (#5348)
* docs: update maintaining

* chore(e2e): add maxFailures to playwright

* fix(ci): skip submodule in e2e job

We don't need the submodules for the e2e job. This will speed up the
checkout step.

* feat(ci): add test-e2e-proxy job

This adds a new job to CI to run our tests behind Caddy and simulate
code-server running against a reverse-proxy.

* refactor: make e2e work with reverse proxy

This refactors the e2e test in a couple ways:
- remove setting cookie in localStorage (instead we pass --auth none)
- refactor address() method to account for reverse proxy logic

* Update test/e2e/models/CodeServer.ts

* Update test/playwright.config.ts

* Update test/utils/constants.ts

Co-authored-by: Asher <ash@coder.com>

* Update test/utils/helpers.ts

Co-authored-by: Asher <ash@coder.com>

Co-authored-by: Asher <ash@coder.com>
2022-08-09 18:24:37 +00:00
..
constants.ts feat(e2e): add support running behind proxy (#5348) 2022-08-09 18:24:37 +00:00
cssStub.ts refactor: create test/utils 2021-03-12 12:00:56 -07:00
globalE2eSetup.ts feat(e2e): add support running behind proxy (#5348) 2022-08-09 18:24:37 +00:00
globalUnitSetup.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
helpers.ts feat(e2e): add support running behind proxy (#5348) 2022-08-09 18:24:37 +00:00
httpserver.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
integration.ts Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
runCodeServerCommand.ts refactor: move integration tests to Jest (#5275) 2022-06-24 16:33:38 +00:00
wtfnode.ts refactor: create test/utils 2021-03-12 12:00:56 -07:00