f0-storybook-testing
OfficialTest Storybook components
Authorfactorialco
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the testing of F0 design system components within Storybook, ensuring both interactive functionality and accessibility compliance.
Core Features & Use Cases
- Interaction Tests: Write and execute Playwright-based
playfunctions for component interactions. - Accessibility (a11y) Tests: Automatically run axe-playwright checks for WCAG compliance on every story.
- Use Case: When developing a new button component, use this Skill to write a
playfunction that simulates a click event and verifies the expected output, while also ensuring the button meets accessibility standards.
Quick Start
Run all Storybook tests using the command pnpm test-storybook.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: f0-storybook-testing Download link: https://github.com/factorialco/f0/archive/main.zip#f0-storybook-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.