~/talk

Implementing a Visual CSS Testing Framework

Talkat RailsConf 2015 · 2015-04-21..04-23· [testing, web-performance]
slides:none on file

A visual CSS testing framework gets built: RSpec specs drive Selenium to take full-page screenshots only in Firefox, uploads images to an AWS bucket, then uses ImageMagick compare to produce highlighted diffs. Tests run separately on CI so main specs stay fast, screenshots come from feature branches versus master, and diffs are stored and viewed in a simple admin page. Known limits include flaky third-party tools, node libraries that required pixel assertions, and browser screenshot support that prevents using this immediately for cross‑browser compatibility.

AI-written summary · about

  1. 0:00Introduction to CSS testing
  2. 1:42Limitations of existing tools
  3. 5:21Designing a custom framework
  4. 7:51The visual testing workflow
  5. 10:10RSpec and continuous integration
  6. 12:46Browser automation with Selenium
  7. 15:30Handling dynamic page content
  8. 16:44Image processing with ImageMagick
  9. 21:48Storing screenshots in AWS S3
  10. 24:33Admin dashboard for viewing diffs
  11. 25:48Future improvements and QA
  12. 28:21Final Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.