
This course contains the use of artificial intelligence: lectures 2 to 17 use a voice generated by AI from the instructor's own voice, and the slides were created with AI help. The welcome and the closing lectures are in the instructor's real voice, and every screen recording is a real session.
Test every state of your React components in a real browser, and catch the bugs nobody clicks on: broken labels, unreadable text, and CSS changes that pass every other test.
In this course you take a real React booking app from zero stories to a documented, tested component library that runs in CI, with Storybook 10 and Vitest.
Most teams test their UI by clicking around the app. That's slow, and it skips the states that are hard to reach: the error when the API fails, the empty list, the fully booked room, the user who only uses a keyboard. Those are exactly where bugs hide.
What you'll build
You start with Northwind Stays, a small booking app built with React, Vite and TypeScript, with real bugs hidden in it. Step by step you:
write stories for every component and every state, with args, controls, decorators and a theme switcher
document the library with Autodocs, JSDoc and MDX, including a design tokens page
render components that fetch data, with MSW mocking the network and Storybook mocking modules
turn stories into interaction tests with play functions, userEvent, spies and steps, and watch one of them find a real accessibility bug
run every story as a test with the Vitest addon: from the sidebar, the terminal, with coverage, and in GitHub Actions
check accessibility on every story with axe, fix real violations, and fail the build on new ones
add screenshot tests with Vitest that catch a visual bug every other test misses
build, share, tag and upgrade your Storybook, and connect it to AI coding agents with the MCP addon
How it's taught
Every lecture is a real session: VS Code, the terminal, Storybook and the browser, recorded as it happened. No slides. Every line of code you see runs as shown, on Storybook 10.6 and Vitest 4.
What you get
The starter project, bugs included, and the finished project with every story and test
A clear testing strategy you can bring to your own components
Lectures of 4 to 6 minutes, each focused on one skill
This course contains the use of artificial intelligence.