playwright/packages/playwright-core/src
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 test: unflake inspector-cli tests (#22347) 2023-04-12 09:37:24 -07:00
client feat(locator): remove locator.and and locator.not (#22223) 2023-04-05 16:28:13 -07:00
common fix(socks): use happy-eyeballs to create a connection (#21847) 2023-03-21 14:12:24 -07:00
image_tools test: enable ssim-cie94 image comparison algorithm for our tests (#19313) 2022-12-29 23:48:28 -08:00
protocol fix(webkit): properly set user agent in persistent context (#22283) 2023-04-07 19:50:49 -07:00
remote chore: allow reusing browser between the tests (#22191) 2023-04-04 12:31:42 -07:00
server test: unflake inspector-cli tests (#22347) 2023-04-12 09:37:24 -07:00
third_party chore: remove experimental dockerfile.remote (#20790) 2023-02-09 12:18:02 -08:00
utils feat(locator): remove locator.and and locator.not (#22223) 2023-04-05 16:28:13 -07:00
androidServerImpl.ts chore: remove separate network tethering client connection (#20267) 2023-01-21 18:18:22 -08:00
browserServerImpl.ts chore: remove separate network tethering client connection (#20267) 2023-01-21 18:18:22 -08:00
DEPS.list feat(android): add Android.{launchServer,connect} (#18263) 2022-10-24 17:23:11 -07:00
inprocess.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
inProcessFactory.ts chore: move sever/isomorphic to utils/ to use it in client (#21445) 2023-03-06 18:49:14 -08:00
outofprocess.ts test: mark driver mode as remote (#15402) 2022-07-06 09:20:07 -07:00
utilsBundle.ts chore: migrate to protocol's StackFrame type (#21198) 2023-02-24 18:36:15 -08:00
zipBundle.ts chore(har): allow replaying from zip har (#14962) 2022-06-17 16:11:22 -07:00