Changeset 56926 for trunk/tests/visual-regression/README.md
- Timestamp:
- 10/13/2023 08:11:41 AM (2 years ago)
- File:
-
- 1 edited
-
trunk/tests/visual-regression/README.md (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/visual-regression/README.md
r51989 r56926 1 1 # Visual Regression Tests in WordPress Core 2 2 3 These tests make use of Jest and Puppeteer, with a setup very similar to that of the e2e tests, together with [jest-image-snapshot](https://github.com/americanexpress/jest-image-snapshot) for generating the visual diffs.3 These tests make use of Playwright, with a setup very similar to that of the e2e tests. 4 4 5 5 ## How to Run the Tests Locally … … 8 8 2. Run `npm run test:visual` to generate some base snapshots. 9 9 3. Check out the feature branch to be tested. 10 4. Run `npm run test:visual` again. If any tests fail, the diff images can be found in ` tests/visual-regression/specs/__image_snapshots__/__diff_output__`.10 4. Run `npm run test:visual` again. If any tests fail, the diff images can be found in `artifacts/` 11 11
Note: See TracChangeset
for help on using the changeset viewer.