playwright/packages/playwright-core/src/server/recorder
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
..
codeGenerator.ts chore: send structured codegen info to the debug controller (#18491) 2022-11-01 18:02:14 -07:00
csharp.ts chore: move sever/isomorphic to utils/ to use it in client (#21445) 2023-03-06 18:49:14 -08:00
DEPS.list chore: generate api calls (#17794) 2022-10-03 17:14:02 -07:00
java.ts chore: move sever/isomorphic to utils/ to use it in client (#21445) 2023-03-06 18:49:14 -08:00
javascript.ts chore: move sever/isomorphic to utils/ to use it in client (#21445) 2023-03-06 18:49:14 -08:00
language.ts chore: move sever/isomorphic to utils/ to use it in client (#21445) 2023-03-06 18:49:14 -08:00
python.ts chore: move sever/isomorphic to utils/ to use it in client (#21445) 2023-03-06 18:49:14 -08:00
recorderActions.ts chore: do not emit comments from codegen (#17747) 2022-09-30 12:36:54 -07:00
recorderApp.ts test: unflake inspector-cli tests (#22347) 2023-04-12 09:37:24 -07:00
recorderUtils.ts chore: migrate codegen to controller events (#17450) 2022-09-20 14:32:21 -07:00
utils.ts chore: flatten supplements (#13437) 2022-04-08 12:52:40 -07:00