playwright/docs/src/test-api
Dmitry Gozman 8348f66107
feat: deprecate toMatchSnapshot for buffers (#26718)
These are usually used for screenshots instead of toHaveScreenshot.
String-based snapshots are left as is.

<img width="836" alt="deprecated"
src="https://github.com/microsoft/playwright/assets/9881434/d02818da-7eea-47fc-8ea8-4104b0dd49b5">

---

Also deemphasized toMatchSnapshot throughout all docs.

Fixes #26612.
2023-08-25 18:20:01 -07:00
..
class-fixtures.md docs: drop duplicate JS code snippets from test-api (#21466) 2023-03-16 19:01:15 +01:00
class-test.md feat: add title for before and after hooks (#26523) 2023-08-21 09:50:22 -07:00
class-testconfig.md feat: deprecate toMatchSnapshot for buffers (#26718) 2023-08-25 18:20:01 -07:00
class-testinfo.md feat: deprecate toMatchSnapshot for buffers (#26718) 2023-08-25 18:20:01 -07:00
class-testinfoerror.md chore: report error location for fatal errors (#19610) 2022-12-21 09:36:59 -08:00
class-testoptions.md docs: explain how to reset storage state (#26422) 2023-08-10 16:32:45 -07:00
class-testproject.md feat: deprecate toMatchSnapshot for buffers (#26718) 2023-08-25 18:20:01 -07:00
class-workerinfo.md docs: fix details about WorkerInfo vs TestInfo availability (#21699) 2023-03-16 12:36:34 -07:00