Рет қаралды 22,351
Component testing in Storybook let’s you describe stories with user interactions!.
In this video you’ll learn how to write component tests with play functions - Storybook’s way of describing stories thru user events and interactions.
With play functions you can describe UI - not only as a function of props and state - but as the result of clicks and key-presses.
Learn from chantastic to use the Interactions Addon, write play functions with testing-library, and assert states with Jest…
▬ Follow us! ▬▬▬▬▬▬▬▬▬▬
Discord: / discord
Twitter: / storybookjs
Instagram: / storybookjs
GitHub: github.com/sto...
Follow @chantastic on:
twitter: / chantastic
youtube: @chantastic
▬ Learn more ▬▬▬▬▬▬▬▬▬▬
Storybook Interactions Addon: storybook.js.o...
Storybook Test Runner Addon: storybook.js.o...
Writing interaction tests documentation: storybook.js.o...
Storybook 6.5 Announcement: storybook.js.o...
Interaction testing with Storybook post: storybook.js.o...
Testing component interactions with Storybook: storybook.js.o...
Automate accessibility tests with Storybook: storybook.js.o...
Thinking in React (classes): reactjs.org/do...
Thinking in React (hooks): beta.reactjs.o...
Storybook at learnstorybook...
Storybook addons at storybook.js.o...
Component driven UI development at www.componentd...
▬ Free Storybook hosting ▬▬▬▬▬▬▬▬▬▬
Chromatic is made by Storybook maintainers and sets up in just 2 minutes.
Claim free Storybook hosting at www.chromatic....!