playwright/tests
Dmitry Gozman ed99ac7395
fix(sigint): make sure we do not add handler twice (#24413)
In the following scenario, we were adding SIGINT handler twice, but
removing it just once:
- Task runner starts testing, creates SigIntWatcher, installs SIGINT
handler.
- Press Ctrl+C, task runner interrupts, disarms SigIntWatcher, SIGINT
handler is not removed due to 1000ms cooldown.
- Task runner starts cleanup, creates SigIntWatcher, installs another
SIGINT handler.
- Cleanup finishes, SigIntWatcher disarms, could remove or not remove
SIGINT handler based on timing (same 1000ms cooldown). In any case, we
have one or two SIGINT handlers still on.
- HTML reporter hangs in onExit, while we still have SIGINT handler up,
so Ctrl+C does not exit.

Regressed in #24265.
2023-07-25 18:35:38 -07:00
..
android chore: enable no-floating-promises ESLint rule for tests (#23376) 2023-06-02 21:59:12 +02:00
assets chore: do not leak internal page handles after closing page (#24169) 2023-07-12 14:51:13 -07:00
components chore: ensure module deps in ct-core (#24056) 2023-07-06 12:01:45 -07:00
config chore: skip tests that fail in cross-machine service mode (#24412) 2023-07-25 16:47:04 -07:00
electron feat(electron): support tracesDir option (#23947) 2023-06-28 16:32:16 -07:00
image_tools fix(ssim-cie94): make sure a single off pixel yields diff in comparator (#24348) 2023-07-21 12:27:52 -07:00
installation chore: update rimraf package to version 4 to eliminate "promisify" (#24190) 2023-07-18 19:58:07 +02:00
library chore: skip tests that fail in cross-machine service mode (#24412) 2023-07-25 16:47:04 -07:00
page chore: skip tests that fail in cross-machine service mode (#24412) 2023-07-25 16:47:04 -07:00
playwright-test fix(sigint): make sure we do not add handler twice (#24413) 2023-07-25 18:35:38 -07:00
stress chore: add firefox-asan for stress tests (#24049) 2023-07-19 05:53:52 -07:00
webview2 devops: do not upload test-results artifacts (#23168) 2023-05-19 13:06:42 -07:00
.eslintrc.js chore: enable no-floating-promises ESLint rule for tests (#23376) 2023-06-02 21:59:12 +02:00
index.d.ts test: added tests for WebSocket over Socks proxy (#7235) 2021-06-24 18:50:16 +02:00
tsconfig.json chore: render test steps in the trace (#22837) 2023-05-05 15:12:18 -07:00