playwright/tests/library/inspector
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
..
cli-codegen-1.spec.ts chore: do not use attributes for trace target annotation (#22075) 2023-03-29 23:17:17 -07:00
cli-codegen-2.spec.ts test: unflake inspector-cli tests (#22347) 2023-04-12 09:37:24 -07:00
cli-codegen-3.spec.ts fix: use no internal selectors for frame locators (#19964) 2023-01-11 21:53:19 +01:00
cli-codegen-csharp.spec.ts test: unflake inspector-cli tests (#22347) 2023-04-12 09:37:24 -07:00
cli-codegen-java.spec.ts test: unflake inspector-cli tests (#22347) 2023-04-12 09:37:24 -07:00
cli-codegen-javascript.spec.ts test: unflake inspector-cli tests (#22347) 2023-04-12 09:37:24 -07:00
cli-codegen-pytest.spec.ts test: unflake inspector-cli tests (#22347) 2023-04-12 09:37:24 -07:00
cli-codegen-python-async.spec.ts test: unflake inspector-cli tests (#22347) 2023-04-12 09:37:24 -07:00
cli-codegen-python.spec.ts test: unflake inspector-cli tests (#22347) 2023-04-12 09:37:24 -07:00
cli-codegen-test.spec.ts test: unflake inspector-cli tests (#22347) 2023-04-12 09:37:24 -07:00
console-api.spec.ts feat(locator): remove locator.and and locator.not (#22223) 2023-04-05 16:28:13 -07:00
inspectorTest.ts test: unflake inspector-cli tests (#22347) 2023-04-12 09:37:24 -07:00
pause.spec.ts chore(tv): render error in-line (#21586) 2023-03-10 16:22:19 -08:00