playwright/packages
Dmitry Gozman be817d1a53
feat(line reporter): show stats, handle tty (#12695)
- Line reporter now shows stats in addition to the test name:
  ```log
  [chromium] › page/page-click-react.spec.ts:108:1 › should not retarget when element changes on hover
  23% [21/93] Passed: 17 Flaky: 0 Failed: 0 Skipped: 4 (7s)
  ```

- When connected to a TTY or with `env.PLAYWRIGHT_LIVE_TERMINAL`
set to anything but `'0'` or `'false'`, line reporter updates in place.

- When not connected to a TTY, line reporter prints an update
after each ~1% of tests done, so it never prints more than 100 lines.

- Updated tests to the golden style.
2022-03-11 18:19:33 -08:00
..
html-reporter chore: add ct examples (#12693) 2022-03-11 15:46:11 -08:00
playwright chore: cut v1.20 branch (#12593) 2022-03-08 14:01:20 -08:00
playwright-chromium chore: cut v1.20 branch (#12593) 2022-03-08 14:01:20 -08:00
playwright-core fix: support all commong screenshot options in toHaveScreenshot (#12670) 2022-03-10 18:36:20 -08:00
playwright-ct-react chore: add ct examples (#12693) 2022-03-11 15:46:11 -08:00
playwright-ct-svelte chore: add ct examples (#12693) 2022-03-11 15:46:11 -08:00
playwright-ct-vue chore: add ct examples (#12693) 2022-03-11 15:46:11 -08:00
playwright-firefox chore: cut v1.20 branch (#12593) 2022-03-08 14:01:20 -08:00
playwright-test feat(line reporter): show stats, handle tty (#12695) 2022-03-11 18:19:33 -08:00
playwright-webkit chore: cut v1.20 branch (#12593) 2022-03-08 14:01:20 -08:00
.eslintrc.js chore: don't write into stdout from the test runner, use reporters instead (#11367) 2022-01-12 19:52:40 -08:00