calebmer / connect

10 stars 2 forks source link

Browser snapshot testing #25

Open calebmer opened 5 years ago

calebmer commented 5 years ago

I believe browser snapshot testing is one of the most effective ways to prevent UI regressions. I want to add browser snapshot testing to the Connect test suite. These can also act as integration tests, but could we make them unit tests as well?

Roughly what’s involved:

  1. Spin up all parts of Connect.
  2. Launch headless Chrome with https://github.com/GoogleChrome/puppeteer
  3. Navigate the app and take screenshots!
calebmer commented 5 years ago

Interesting to explore: https://www.browserless.io

calebmer commented 5 years ago

Also see: https://percy.io

I think we could build something on our own for free tho.