playwright/tests/config
Dmitry Gozman fff1f3d45c
chore: simplify remote connection protocol (#6164)
This changes the root object from RemoteBrowser to Playwright,
similar to local driver connection. This way, any remote connection
gets a Playwright object.

This also starts reusing PlaywrightServer class, and introduces
`cli run-server` hidden command that runs ws server on the
specified port.

Previous structure:
```
RemoteBrowser
  - browser (using ConnectedBrowser for remote-specific behavior)
  - selectors (special instance for this remote connection)
```

New structure:
```
Playwright
  - ...
  - selectors (special instance for this remote connection)
  - preLaunchedBrowser (using ConnectedBrowser for remote-specific behavior)
```
2021-04-12 11:14:54 -07:00
..
android.config.ts test: cleanup various testing env variables (#6155) 2021-04-09 07:59:09 -07:00
androidEnv.ts test: cleanup various testing env variables (#6155) 2021-04-09 07:59:09 -07:00
androidTest.ts test: remove a copy of folio, use upstream (#6080) 2021-04-05 13:23:49 -07:00
browserEnv.ts chore: simplify remote connection protocol (#6164) 2021-04-12 11:14:54 -07:00
browserTest.ts test: cleanup proxy and context tests (#6085) 2021-04-05 18:48:46 -07:00
checkCoverage.js test: run page tests on electron bot (#6122) 2021-04-08 10:26:26 -07:00
cliEnv.ts test: cleanup various testing env variables (#6155) 2021-04-09 07:59:09 -07:00
cliTest.ts test: cleanup various testing env variables (#6155) 2021-04-09 07:59:09 -07:00
contextTest.ts test: cleanup proxy and context tests (#6085) 2021-04-05 18:48:46 -07:00
coverage.js test: cleanup various testing env variables (#6155) 2021-04-09 07:59:09 -07:00
default.config.ts test: cleanup various testing env variables (#6155) 2021-04-09 07:59:09 -07:00
electron-app.js test: migrate electron tests to new folio (#6043) 2021-04-02 09:00:49 -07:00
electron.config.ts test: cleanup various testing env variables (#6155) 2021-04-09 07:59:09 -07:00
electronEnv.ts test: cleanup various testing env variables (#6155) 2021-04-09 07:59:09 -07:00
electronTest.ts test: remove a copy of folio, use upstream (#6080) 2021-04-05 13:23:49 -07:00
pageTest.ts test: cleanup various testing env variables (#6155) 2021-04-09 07:59:09 -07:00
playwrightTest.ts feat(types): make the template on BrowserType optional (#6142) 2021-04-08 10:27:24 -07:00
remote-server-impl.js test: migrate remoteServer tests to new folio (#6042) 2021-04-01 19:13:08 -07:00
remoteServer.ts feat(types): make the template on BrowserType optional (#6142) 2021-04-08 10:27:24 -07:00
run_static_server.js test: move remaining files from old test/ directory (#6081) 2021-04-05 15:51:45 -07:00
serverEnv.ts test: cleanup various testing env variables (#6155) 2021-04-09 07:59:09 -07:00
serverTest.ts test: bring new folio and migrate small amount of tests to it (#5994) 2021-04-01 16:35:26 -07:00
utils.ts test: move remaining files from old test/ directory (#6081) 2021-04-05 15:51:45 -07:00