~/talk

Integrating visual testing into the build pipeline

Talkat NDC Oslo 2018 · 2018-06-11..06-15· [testing, developer-experience]
links:none on file
slides:none on file

Experiment integrates pixel-compare visual tests into a CI pipeline for a web-based safety-critical UI using protractor-image-comparison backed by Resemble.js, plus custom JS hooks to capture element-specific screenshots and exclude dynamic regions. Tackles pixel shifts, anti-aliasing and scaling by preferring PNG, setting color/pixel thresholds, avoiding JPEG, and favoring headless browser mode for stability. Result is a maintainable test suite that runs in CI, reports actual/diff images, and significantly reduces false positives after threshold tuning.

AI-written summary · about

  1. 0:00Intro
  2. 0:56Context
  3. 2:22The basic idea
  4. 2:541. High chance of false positives
  5. 4:10Anti-aliasing: the stair-stepping of edges
  6. 4:452. High maintenance effort
  7. 7:36How to amend the weaknesses?
  8. 9:03A few tips and trickes...
  9. 11:10Lessons learned
~/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.