SatcherInstitute / health-equity-tracker

Health Equity Tracker is a free-to-use data visualization platform that is enabling new insights into the impact of COVID-19 and other social and political determinants of health on historically underrepresented groups in the United States.
https://healthequitytracker.org/
MIT License
17 stars 24 forks source link

Look into visual regression testing or other ways to avoid breaking the frontend #226

Closed aaronsn closed 1 year ago

aaronsn commented 3 years ago

Unit tests for frontends can be a high maintenance cost and often don't provide good coverage anyway. We might want to look into visual regression testing, where we have a pre-submit rule that automatically diffs site images before and after and shows the difference. There might be other alternatives to this that accomplish a similar thing

benhammondmusic commented 2 years ago

We have basic e2e testing with Playwright now; this could be extended to included some visual regression testing