playwright/packages/playwright-core
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
..
bin feat(containers): implement reverse proxy for novnc and server (#18569) 2022-12-08 17:17:18 -08:00
bundles fix(html): test and fix reporter timing display (#19670) 2022-12-22 15:57:55 -08:00
src fix(html): test and fix reporter timing display (#19670) 2022-12-22 15:57:55 -08:00
types fix: render discouraged / deprecated types (#19596) 2022-12-20 16:19:07 +01:00
.npmignore chore: babel, expect, zip bundles (#13588) 2022-04-18 11:31:58 -07:00
browsers.json feat(chromium): roll to r1041 (#19617) 2022-12-21 14:47:40 +01:00
cli.js chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
index.d.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
index.js chore: sunset Node.js 12 (#16512) 2022-08-15 18:10:04 +02:00
index.mjs fix: export request from index.jsm (#13158) 2022-03-30 09:35:47 -07:00
package.json chore: cut version 1.29 (#19489) 2022-12-15 11:22:35 -08:00
README.md chore: drop dependency on playwright-core in all our packages (#2318) 2020-05-21 13:18:15 -07:00
ThirdPartyNotices.txt chore: use codemirror for editor (#18482) 2022-11-01 15:04:30 -07:00

playwright-core

This package contains the no-browser flavor of Playwright.