Visual Regression Testing: From a Tool to a Process
summary
Converts PhantomCSS into a team process: uses PhantomCSS + CasperJS + PhantomJS + resemble.js to take and diff screenshots, adds a DOM data attribute so the page signals when it is ready, and replaces image src with inline images to remove network waits. Splits tests and uses Enquirer for an interactive CLI, hooks into CI (TeamCity), sends HipChat alerts and publishes a web results dashboard. Runtime drops about 5× from ~600 minutes, stability and coverage remain work in progress.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:28Visual Regression Testing
- 3:55Phantom CSS
- 6:27How does it work
- 9:21Improving it
- 12:47Options
- 16:31Problems
related talks
18mImplementing a Visual CSS Testing Framework
45mVisual Regression and Integration Testing on JS
37mThe Colorful World of Visual Test Automation
40mVisual regression testing: your strategy's blind spot
53mPainless visual testing
20mVisual testing with Visual Regression Tracker
27mVisual UI Testing – Testing the Last Mile
49mVisual Regression Testing with BackstopJS
