playwright/packages/playwright-core/src
Andrey Lushnikov e57b4b5073
cherry-pick(#12070): fix: propagate exit code in experimental mode (#12133)
SHA: 5db7ce5964

In experimental ESM mode a child process is forked in order to run the tests. Currently the exit code of this child process is not propagated to the exit code of the parent process, which means that the process exits with a status code of `0` even if some of the tests failed.

This makes it difficult to use Playwright in CI in experimental mode, as the CI pipeline as a whole will pass despite the test failures.

This change addresses this by propagating the exit code in the case where it is non-zero.

Co-authored-by: pierscowburn <me@pierscowburn.com>
2022-02-15 13:25:14 -08:00
..
cli cherry-pick(#12070): fix: propagate exit code in experimental mode (#12133) 2022-02-15 13:25:14 -08:00
client cherry-pick(#11954): respect tracing config for APIRequestContext (#11976) 2022-02-09 11:31:10 -08:00
common chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
dispatchers chore: disable page.pause() when JS debugger is attached (#11926) 2022-02-07 19:21:58 -08:00
grid chore: pin production dependencies (#11793) 2022-02-02 11:14:41 +01:00
protocol chore: use ipc transport for out-of-process driver (#11826) 2022-02-02 21:26:45 -08:00
remote chore: bump production dependencies (#11787) 2022-02-01 21:27:34 +01:00
server cherry-pick(1.19): always return non-empty body regardless of request method (#12102) (#12121) 2022-02-15 11:24:15 -08:00
third_party/highlightjs chore: move diff_match_patch into the test package (#9475) 2021-10-13 13:38:26 -07:00
utils cherry-pick(#12124):fix(docker): add missing dependency to the docker 1.19 (#12127) 2022-02-15 12:49:33 -08:00
web chore(trace-viewer): introduce MultiTraceModel (#11922) 2022-02-08 12:27:29 -08:00
browserServerImpl.ts chore: use channel traits (#10389) 2021-11-17 15:26:01 -08:00
inprocess.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
inProcessFactory.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
outofprocess.ts chore: use ipc transport for out-of-process driver (#11826) 2022-02-02 21:26:45 -08:00