~/talk

Testing presentation components visually

Talkat JSConf Budapest 2019 · 2019-09-26..09-27· [javascript, testing]
links:none on file
slides:none on file

Claims a reproducible visual regression pipeline that catches CSS and layout breakage by rendering components in isolation, taking image snapshots and tracking them in source control. Uses Storybook to exercise presentational components, storyshots + Jest to capture and compare screenshots with a configurable percent threshold, and mocks dependencies for containers. Shows the automation steps, the one‑second capture delay for images, how diffs surface unexpected changes and how CI runs flag a failed snapshot so regressions are obvious.

AI-written summary · about

  1. 0:00Introduction
  2. 11:38Gameplay
  3. 13:44Structure
  4. 15:23Creating a story
  5. 15:56Creating a test case
  6. 17:17Supplying inputs
  7. 18:11Missing inputs
  8. 19:16Creating a template
  9. 22:30Testing multiple components
  10. 24:50Storyshots plugin
~/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.