description |
---|
Use visual tests for anything that may be relevant UI changes. |
We use Percy and Puppeteer for visual tests, the file that is being executed can be found in Gatekeeper.Server.Web.Tests.Visual/snapshot.js
.
The Percy documentation includes details on how to write these tests:
{% embed url="https://docs.percy.io/docs/puppeteer" %}