~/talk

Don’t Believe the Rumors: Writing Tests for CSS is Possible

Talkat ReactiveConf 2019 · 2019-10-30..11-01· [testing, accessibility]
slides:none on file

Claim: writing tests for CSS is possible. Practical setup uses Cypress plus visual plugins (one-liner matchImageSnapshot) or cloud services like Applitools. Workflow captures DOM and CSS, creates a baseline screenshot, then compares new screenshots across viewports and browsers; diffs require human accept/reject. Four core problems—taking reliable screenshots, robust comparison beyond pixel-by-pixel, managing approvals, and scaling responsive/browser matrices—have concrete solutions: smarter comparison algorithms, DOM-based snapshots, dashboards or automated acceptance flows, and cloud-parallel rendering.

AI-written summary · about

  1. 0:00Introduction
  2. 1:45What kind of web developers are there
  3. 3:05Why are we writing tests
  4. 6:28Who is writing the tests
  5. 7:55How to write tests for CSS
  6. 9:08Visual vs functional testing
  7. 10:21Visual regression testing
  8. 16:08The Answer
  9. 19:34Demo
~/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.