~/talk

Writing Tests For CSS Is Possible! Don’t Believe The Rumors

Talkat CSSConf EU 2019 · on Friday, 2019-05-31· [testing, frontend-architecture]
slides:none on file

Claim: CSS can be tested with visual regression testing that actually prevents fear of refactors. The demo uses Cypress + Applitools Eyes (and mentions Selenium / webdriverIO alternatives) to capture viewports, compare current screenshots to baselines, and let a dashboard accept or reject batches. Challenges are real — screenshots differ across GPUs and Chrome versions (one run shows subtle diffs one in ten times) — so tools use pixel-by-pixel vs AI comparison and cloud parallelization; the demo works and updates baselines when accepted.

AI-written summary · about

  1. 0:00Introduction
  2. 0:38Responsiveness
  3. 1:07About Gil
  4. 1:39Backend Developers
  5. 2:04Frontend JavaScript
  6. 2:24Frontend CSS
  7. 3:23Why are developers writing tests
  8. 3:40Adding features to existing code
  9. 4:03Removing code
  10. 4:19Refactor
  11. 5:00Developer Testing
  12. 6:10Backend
  13. 6:24Frontend
  14. 7:17Functional Tests
  15. 8:09Functional Testing
  16. 8:31Visual Testing
  17. 8:46Writing Tests For CSS
  18. 9:04What Developers Think
  19. 9:54How Does It Work
  20. 10:52Visual Testing Magic
  21. 11:51Thank You
  22. 12:10Elephants
  23. 12:31Screenshots
  24. 13:28Screenshot Tests
  25. 14:10Comparison
  26. 14:47Why
  27. 15:22Chrome 67
  28. 15:32Pixels
  29. 15:50Pixel by Pixel
  30. 16:15Pixel Differences
  31. 16:32Do You Want It
  32. 17:12The Biggest Problem
  33. 17:51Advanced Comparison Algorithms
  34. 18:11Managing Comparisons
  35. 18:37Deltas
  36. 19:06Drag
  37. 19:26Other Tools
  38. 19:46Responsive
  39. 20:20Test Multiple Times
  40. 20:38paralyze
  41. 21:04cloud provider
  42. 21:25demo
  43. 21:38filter
  44. 21:49test
  45. 25:28summary
  46. 26:28I will test my CSS
~/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.