playwright/packages
Andrey Lushnikov ef4b34fb7a
feat(toHaveScreenshot): enhance messaging in case of failures (#12677)
This patch:
- adds call logs to track screenshot timeouts, e.g. due to
  waiting for web fonts
- makes sure all snapshot expectations have `.png` extension
- throws a polite error when given a buffer or a string instead of a
  page or a locator
- removes stray NL between error description and call log
- makes sure `apiName` is always correct (and adds a test for it)
2022-03-11 22:40:28 -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 feat(toHaveScreenshot): enhance messaging in case of failures (#12677) 2022-03-11 22:40:28 -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(toHaveScreenshot): enhance messaging in case of failures (#12677) 2022-03-11 22:40:28 -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