Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikenBeate committed Nov 27, 2024
2 parents 904d6e2 + d58c145 commit 3f0cad8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ to install Playwright's browsers on your machine (this needs to be done only onc

## Aria snapshots

To create new aria snapshot use `npm run uitest-codegen` and use Aria tab from the bottom toolbar
To create new aria snapshot use `npm run uitest-codegen`, then navigate to your page
and use "Assert snapshot" from the top toolbar. It will generate a test script that you can
copy-paste.
(read more about Playwright's Codegen [here](https://playwright.dev/docs/codegen-intro))

To update all snapshot use `npx playwright test --update-snapshots`
Expand Down

0 comments on commit 3f0cad8

Please sign in to comment.