playwright/tests
Ross Wollman 06c7f1fb6c
fix(html): test and fix reporter timing display (#19670)
#19576 introduced a regression where the CLI reporters displayed some
times with way too many decimals. e.g. 7.123456789ms.

Prior to #19576, there were two monotonicTime implementations; that PR
updated the reporters to use the common definition that had existed in
utils.ts. However, that introduced a regression in the base.ts reporters
which used the ms duration humanizing package which did not account for
the more precise decimals used by the shared monotonicTime function.

This fix removes the dependency on the third-party ms package and now
consistently uses Pavel's humanize function which the HTML reporter had
been using and proved to have better defaults for decimals.
Additionally, we add more test coverage to limit future regressions
since this was caught in passing.

Closes #19556.
Relates #19576.
2022-12-22 15:57:55 -08:00
..
android chore: fix Android tests (#19426) 2022-12-15 07:56:57 +01:00
assets fix(chromium): detach from shared workers (#18976) 2022-11-22 15:20:42 -08:00
components test(ct): svelte router (#18749) 2022-12-19 15:34:45 -08:00
config feat(connect): allow exposing local network to the remote browser (experimental) (#19372) 2022-12-09 11:16:29 -08:00
electron fix(electron): fix the directory app path (#19601) 2022-12-20 12:50:53 -08:00
image_tools fix(ssim-cie94): further tune SSIM-CIE94 to fight wk artifacts (#19370) 2022-12-08 16:08:41 -08:00
installation feat(containers): implement reverse proxy for novnc and server (#18569) 2022-12-08 17:17:18 -08:00
library fix(reuse): make sure all dispose and close sequences are executed (#19572) 2022-12-19 15:54:53 -08:00
page chore: throw InvalidSelectorError from selector parser, add some tests (#19636) 2022-12-21 14:27:35 -08:00
playwright-test fix(html): test and fix reporter timing display (#19670) 2022-12-22 15:57:55 -08:00
stress fix(leak): do not retain test fixtures in worker fixtures (#14363) 2022-05-23 16:54:56 -07:00
webview2 fix(electron): stall node while browser is starting (#18804) 2022-11-14 22:01:54 -08:00
index.d.ts test: added tests for WebSocket over Socks proxy (#7235) 2021-06-24 18:50:16 +02:00
tsconfig.json chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00