Skip to content

Commit

Permalink
fix README.md about generation of aria snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
kan-pawes committed Nov 27, 2024
1 parent b9f3e3e commit d58c145
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 d58c145

Please sign in to comment.