Implementing a Visual CSS Testing Framework
summary
Implements an automated visual CSS regression pipeline that takes full‑page screenshots, diffs them with ImageMagick compare, and stores results on AWS S3; tests run under RSpec using Selenium via BrowserStack, use fixtures to avoid flaky data, and split visual specs off CI so main builds stay fast. Full‑page capture only reliably works in Firefox, diffs don’t currently fail the build (tests only fail on execution errors), and the dashboard shows per‑commit screenshots and diffs.
AI-written summary · about
chapters (19)
- 0:00Intro
- 0:15using AUTOMATIC screenshot COMPARISON to catch style REGRESSIONS
- 0:40IMPLEMENTING A VISUAL CSS TESTING FRAMEWORK
- 2:34Huxley Phantom CSS Ghost Story Cactus Needle CSSCritic fighting-layout-bugs sikuli Mogo Quixote
- 2:50WHAT DO I WANT?
- 3:50PROCESS
- 4:27UPLOAD
- 5:36BUILDING our framework
- 7:47SCREENSHOT with selenium
- 9:54DYNAMIC DATA
- 10:18DIFFING with imagemagick
- 14:44amazon web services
- 14:59lalalalal marketing/ index/ diff.png
- 15:19VIEWING with the internet
- 15:40THE FUTURE
- 16:050% DIFFS
- 16:41CURRENT commit on MASTER
- 17:01DIFF BETWEEN PREVIOUS commit on MASTER
- 17:15DIFF BETWEEN CURRENT commit on BRANCH
related talks
30mImplementing a Visual CSS Testing Framework
32mContinuous Visual Integration for Rails
21mVisual Regression Testing: From a Tool to a Process
37mSpot the Difference; Automating Visual Regression Testing
29mDon’t Believe the Rumors Writing Tests for CSS is Possible
37mThe Colorful World of Visual Test Automation
27mWriting Tests For CSS Is Possible! Don’t Believe The Rumors
39mSpot the difference: automating visual regression testing
