~/talk

Storybook Vitest

Talkat ViteConf 2025 · 2025-10-09..10-10· [testing]
slides:none on file

Storybook turns stories into runnable tests using Vitest, Playwright, Axe, Mock Service Worker and Chromatic, demoing 53 component tests running live, 64 story checks in ~5 seconds, and an interactions recorder that auto-generates play functions and assertions from clicks. Stories run in watch mode, spawn Vitest browser mode, reuse MSW fixtures, and push snapshots to Chromatic visual regression where diffs are inspected and accepted or denied. Storybook 10 drops CJS and is 15% smaller.

AI-written summary · about

  1. 0:00Introduction to testing
  2. 1:19Component testing layers
  3. 2:40Building UI with Storybook
  4. 4:40Running functional tests
  5. 7:24Accessibility testing
  6. 9:47Interaction testing
  7. 13:33Visual regression testing
  8. 15:34CI and test integration
  9. 18:33Future of Storybook 10
  10. 21:47AI-powered development
~/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.