playwright/tests/webview2
Andrey Lushnikov 8bb708be70
test: unflake inspector-cli tests (#22347)
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.
2023-04-12 09:37:24 -07:00
..
webview2-app test: add initial webview2 tests (#16827) 2022-09-07 20:09:22 +02:00
globalSetup.ts test: fix webview2 globalSetup (#21220) 2023-02-27 17:39:07 +01:00
playwright.config.ts chore: address API review comments for the snapshotPathTemplate (#18716) 2022-11-10 17:23:57 -08:00
webView2Test.ts test: unflake inspector-cli tests (#22347) 2023-04-12 09:37:24 -07:00