You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: