Storybook Testing

Create Storybook stories with browser-rendered interaction tests for React UI components using CSF Next format and .test() method. Covers visual states, user interactions (clicks, typing, hover), form validation UI, and component accessibility in isolation. Use when testing React component rendering, UI interactions, visual states, or documenting component behavior in Storybook. Trigger this skill whenever the user mentions Storybook, stories, CSF Next, component interaction tests, .test() method, or wants to test a React UI component in isolation. NOT for unit testing pure functions/hooks (use unit-testing), API endpoints (use api-test), or full E2E page flows (use playwright-cli).

JanSzewczyk cbb3ebb 4 files · 65.2 KB Updated

File contents

JanSzewczyk/claude-plugins/tree/main/plugins/testing/skills/storybook-testing commit cbb3ebb5e8

Frequently asked questions

npx skillmds@latest add janszewczyk/storybook-testing