playwright/tests/config
Andrey Lushnikov 8538f61a72
feat(containers): implement global network tethering for playwright server (#17719)
This patch implements a new mode of network tethering for Playwright
server & its clients.
With this patch:
- playwright server could be launched with the
`--browser-proxy-mode=tether` flag to engage in the new mode
- a new type of client, "Network Tethering Client" can connect to the
server to provide network traffic to the browsers
- all clients that connect to the server with the `x-playwright-proxy:
*` header will get traffic from the "Network Tethering Client"

This patch also adds an environment variable
`PW_OWNED_BY_TETHER_CLIENT`. With this env, playwright server will
auto-close when the network tethering client disconnects. It will also
auto-close if the network client does not connect to the server in the
first 10 seconds of the server existence. This way we can ensure that
`npx playwright docker start` blocks terminal & controls the lifetime of
the started container.
2022-11-03 13:47:51 -07:00
..
baseTest.ts feat(containers): implement global network tethering for playwright server (#17719) 2022-11-03 13:47:51 -07:00
browserTest.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
checkCoverage.js feat(download): introduce Download.cancel (#7462) 2021-07-06 09:38:50 +02:00
commonFixtures.ts feat(containers): implement global network tethering for playwright server (#17719) 2022-11-03 13:47:51 -07:00
coverage.js chore: sort out base fixtures (#9809) 2021-10-27 08:28:53 -07:00
coverageFixtures.ts chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
debugControllerBackend.ts test: clean up connect options set for debug controller (#18317) 2022-10-25 09:03:04 -07:00
platformFixtures.ts devops(docker): add docker integration smoke tests (#17267) 2022-09-14 15:05:18 -07:00
proxy.ts chore: always import type (#13365) 2022-04-06 14:57:14 -07:00
queryObjects.ts fix(leak): do not retain test fixtures in worker fixtures (#14363) 2022-05-23 16:54:56 -07:00
remote-server-impl.js test: switch temp dir tests to use userDataDir (#13745) 2022-04-26 09:32:58 +01:00
remoteServer.ts test: check that we remove temp directories on process exit (#13494) 2022-04-12 12:28:33 -07:00
serverFixtures.ts chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
testMode.ts devops(docker): add docker integration smoke tests (#17267) 2022-09-14 15:05:18 -07:00
testModeFixtures.ts devops(docker): add docker integration smoke tests (#17267) 2022-09-14 15:05:18 -07:00
traceViewerFixtures.ts feat: allow opening multiple html reporters and trace viewers (#17636) 2022-09-27 12:45:42 -07:00
utils.ts test: migrate some expect() tests to be more readable (#16394) 2022-08-10 15:10:25 -07:00