mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
06c7f1fb6c
#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. |
||
---|---|---|
.. | ||
html-reporter | ||
playwright | ||
playwright-chromium | ||
playwright-core | ||
playwright-ct-react | ||
playwright-ct-solid | ||
playwright-ct-svelte | ||
playwright-ct-vue | ||
playwright-ct-vue2 | ||
playwright-firefox | ||
playwright-test | ||
playwright-webkit | ||
protocol/src | ||
recorder | ||
trace/src | ||
trace-viewer | ||
web | ||
.eslintrc.js |