[ ] Open each page in the generated pdf and match the snapshots to the snapshot on the disk
[ ] Add a CI pipeline where we run these snapshot tests
[ ] Add a manual pipeline that can automatically update the snapshots, which you can efficiently run on a branch of your choice.
I use this approach in a couple of repositories, and it works great IMO. It would save you a lot of time as a maintainer and (hopefully) prevent regression.
Hi, it's me again 🙋♂️
How would you feel about adding some e2e tests using screenshot snapshots? This is my idea:
I use this approach in a couple of repositories, and it works great IMO. It would save you a lot of time as a maintainer and (hopefully) prevent regression.