mirror of
git://develop.git.wordpress.org/
synced 2025-02-06 07:28:49 +01:00
Visual Regression Tests in WordPress Core
These tests make use of Playwright, with a setup very similar to that of the e2e tests.
How to Run the Tests Locally
- Check out trunk.
- Run
npm run test:visual
to generate some base snapshots. - Check out the feature branch to be tested.
- Run
npm run test:visual
again. If any tests fail, the diff images can be found inartifacts/