Skip to content

Commit

Permalink
docs: fix small typos
Browse files Browse the repository at this point in the history
  • Loading branch information
tnolet committed Nov 8, 2023
1 parent 2f082d8 commit 74aa62e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cli: true
beta: true
---
Playwright Test gives you the ability to do visual comparison testing (sometimes called visual regression testing) and
a snapshot testing. This is useful for testing the visual appearance of your application. The TL;DR is that you can:
snapshot testing. This is useful for testing the visual appearance of your application. The TL;DR is that you can:

- Use the `.toHaveScreenshot()` assertion to visually compare a screenshot of your page to a golden image / reference snapshot.
- Use the `.toMatchSnapshot()` assertion to compare any `string` or `Buffer` value to a golden image / reference snapshot.
Expand Down Expand Up @@ -190,7 +190,7 @@ You can disable any CSS animations and transitions using the `animations` option

## Snapshot testing

Snapshot testing, using the `expect(value).toMatchSnapshot(snapshotName)` assertion, is a great way to test the output of
Snapshot testing, using the `expect().toMatchSnapshot(snapshotName)` assertion, is a great way to test the output of
any arbitrary `string` or `Buffer` value. Note that it is not optimized for visual comparison testing.

{{< tabs "Snapshot testing" >}}
Expand Down

0 comments on commit 74aa62e

Please sign in to comment.