storybook-interaction-testing

Community

Test interactive UI flows in Storybook.

Authorwendeus0
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Tests interactive UI components directly inside Storybook by coordinating play functions, MSW-based network mocks, and global decorators to simulate real user flows.

Core Features & Use Cases

  • Interactive play-based UI tests in Storybook using userEvent for clicks and typing
  • Mock network interactions with MSW to cover success, loading, and error scenarios
  • Global decorators (theme, router, store) and state seeding to ensure realistic test contexts

Quick Start

Create a story with a play function that asserts interactions and MSW mocks to validate a user flow.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: storybook-interaction-testing
Download link: https://github.com/wendeus0/AI-dotfiles/archive/main.zip#storybook-interaction-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.