Archived
1
0
This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
code-server/test/e2e
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
..
extensions/test-extension docs: Update some more links (#4806) 2022-02-01 09:45:19 -07:00
models feat(e2e): add support running behind proxy (#5348) 2022-08-09 18:24:37 +00:00
baseFixture.ts feat(e2e): add support running behind proxy (#5348) 2022-08-09 18:24:37 +00:00
codeServer.test.ts feat(e2e): add support running behind proxy (#5348) 2022-08-09 18:24:37 +00:00
downloads.test.ts feat(e2e): add support running behind proxy (#5348) 2022-08-09 18:24:37 +00:00
extensions.test.ts feat(e2e): add support running behind proxy (#5348) 2022-08-09 18:24:37 +00:00
github.test.ts feat(e2e): add support running behind proxy (#5348) 2022-08-09 18:24:37 +00:00
login.test.ts feat(e2e): add support running behind proxy (#5348) 2022-08-09 18:24:37 +00:00
logout.test.ts feat: github-auth flag (#4926) 2022-03-02 14:02:51 -06:00
openHelpAbout.test.ts feat(e2e): add support running behind proxy (#5348) 2022-08-09 18:24:37 +00:00
terminal.test.ts feat(e2e): add support running behind proxy (#5348) 2022-08-09 18:24:37 +00:00