playwright/packages/playwright-core
pierscowburn 5db7ce5964
fix: propagate exit code in experimental mode (#12070)
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.
2022-02-15 13:10:35 -08:00
..
2021-10-11 16:52:17 +02:00
2021-10-11 16:52:17 +02:00
2021-10-11 16:52:17 +02:00
2021-10-11 16:52:17 +02:00
2022-02-08 16:01:44 -08:00

playwright-core

This package contains the no-browser flavor of Playwright.