mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
8bb708be70
This patch: - changes the `childProcess` fixture to reliably SIGKILL all descendants (children and grand-children, regardless of their process group). This is achieved using the `ps` command to build the process tree, and then send `SIGKILL` to the descendant process groups. - changes the `runCLI` fixture to **not** auto-close codegen by default; the `childProcess` fixture will clean up all processes. This makes sure that all `runCLI.waitFor()` commands actually wait until the necessary output. - for a handful of tests that do actually want to auto-close codegen, introduce an optional `autoCloseWhen` flag for the `runCLI` fixture that makes sure to close the codegen once a certain output was reached. |
||
---|---|---|
.. | ||
cli-codegen-1.spec.ts | ||
cli-codegen-2.spec.ts | ||
cli-codegen-3.spec.ts | ||
cli-codegen-csharp.spec.ts | ||
cli-codegen-java.spec.ts | ||
cli-codegen-javascript.spec.ts | ||
cli-codegen-pytest.spec.ts | ||
cli-codegen-python-async.spec.ts | ||
cli-codegen-python.spec.ts | ||
cli-codegen-test.spec.ts | ||
console-api.spec.ts | ||
inspectorTest.ts | ||
pause.spec.ts |