Visual before/after comparisons

(raven24) #1

Note: This discussion was imported from Loomio. Click here to view the original discussion.

0 Likes

(raven24) #2

I made a little toy (because I can)


The basic idea is to generate screenshots of two specified URLs and then generate a ‘flicker’-gif to easily spot visual differences.

I think we could include this in our Cucumber features, for when CSS is changed/refactored. We would have a set of “approved” screenshots and the cuke could generate the “new” screenshots and make the gifs for comparison. Once approved, the “new” shots would replace the “old” ones as the new reference.
This would not run automatically every time, but instead only serve as an aid for devs who want to check their CSS/layout changes didn’t break anything.

thoughts?

0 Likes

(Steven Hancock) #3

That definitely would have come in handy when we upgraded from Bootstrap 1.4 to Bootstrap 2 (and the bootstrap-sass gem) a while back.

0 Likes

(Jason Robinson) #4

Sounds awesome :slight_smile:

0 Likes

(raven24) #5

This is done and merged, btw :wink:


http://wiki.diaspora-project.org/wiki/Screenshot_tool

0 Likes

(Flaburgan) #6

\o/

0 Likes