Update docs/src/test-snapshots-js.md

Co-authored-by: Max Schmitt <max@schmitt.mx>
Signed-off-by: Pavel Feldman <pavel.feldman@gmail.com>
This commit is contained in:
Pavel Feldman 2024-03-02 07:28:16 -08:00 committed by GitHub
parent 4a04ce48b5
commit f4dfe0d3c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,7 +44,7 @@ The snapshot name `example-test-1-chromium-darwin.png` consists of a few parts:
- `chromium-darwin` - the browser name and the platform. Screenshots differ between browsers and platforms due to different rendering, fonts and more, so you will need different snapshots for them. If you use multiple projects in your [configuration file](./test-configuration.md), project name will be used instead of `chromium`.
The snapshot name and path can be configured with [`snapshotPathTemplate`](https://playwright.dev/docs/api/class-testproject#test-project-snapshot-path-template) in the playwright config.
The snapshot name and path can be configured with [`snapshotPathTemplate`](./api/class-testproject#test-project-snapshot-path-template) in the playwright config.
## Updating screenshots