playwright/tests/config
Dmitry Gozman b29b7df47e
fix(connect): handle disconnect in various situations (#6276)
There are a few ways for `connect()` to finish:
- `Browser.close()` from the client side.
- Browser on the server side did exit (e.g. crashed).
- Connection was dropped by either of the sides.

We reduce all the cases to the last one by dropping the
connection when client wants calls `Browser.close()` or
server-side browser exits.

In all these cases we should properly cleanup on the server side,
and ensure that all promises reject on the client side.
2021-05-06 09:34:06 -07:00
..
android.config.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
androidTest.ts test: roll to folio@0.4.0-alpha6 (#6366) 2021-04-30 13:26:13 -07:00
baseTest.ts test: roll to folio@0.4.0-alpha6 (#6366) 2021-04-30 13:26:13 -07:00
browserTest.ts test: roll to folio@0.4.0-alpha6 (#6366) 2021-04-30 13:26:13 -07:00
checkCoverage.js test: run page tests on electron bot (#6122) 2021-04-08 10:26:26 -07:00
cliTest.ts test: roll to folio@0.4.0-alpha3 (#6262) 2021-04-29 11:11:32 -07:00
coverage.js test: roll to folio@0.4.0-alpha3 (#6262) 2021-04-29 11:11:32 -07:00
default.config.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
electron-app.js chore(electron): fix node/browser race conditions, expose browser window asynchronously (#6381) 2021-05-02 22:45:06 -07:00
electron-window-app.js chore(electron): fix node/browser race conditions, expose browser window asynchronously (#6381) 2021-05-02 22:45:06 -07:00
electron.config.ts test: cleanup bad usages of pageTest (#6430) 2021-05-06 07:08:22 -07:00
electronTest.ts chore(electron): fix node/browser race conditions, expose browser window asynchronously (#6381) 2021-05-02 22:45:06 -07:00
remote-server-impl.js fix(connect): handle disconnect in various situations (#6276) 2021-05-06 09:34:06 -07:00
remoteServer.ts fix(connect): handle disconnect in various situations (#6276) 2021-05-06 09:34:06 -07:00
utils.ts test: update download test expectations (#6394) 2021-05-04 11:59:39 -07:00