Playwright Component Testing
Design, implement, migrate, and diagnose isolated React or Vue component tests with Playwright and an application-owned story gallery.
Install
npx skills add sandbaseai/workbuddy-skill --skill playwright-component-testinggit clone --depth 1 https://github.com/sandbaseai/workbuddy-skill.git /tmp/workbuddy-skill
mkdir -p ~/.claude/skills
cp -r /tmp/workbuddy-skill/skills/playwright-component-testing ~/.claude/skills/playwright-component-testingPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Playwright Component Testing Use this skill for isolated React or Vue component tests with ordinary Playwright tests and an application-owned story gallery. Preserve the project's framework, bundler, package manager, test conventions, and existing Playwright configuration. ## Decide whether component testing fits Use component tests for focused UI states, event behavior, accessibility semantics, visual variants, and boundary props. Keep full navigation, authentication, multi-service journeys, and browser-policy integration in end-to-end tests. Do not duplicate the same behavior at every layer. Before changing files, inspect the framework and version, bundler, package scripts, Playwright version and config, existing test layout, global CSS, providers, aliases, and CI commands. Confirm that the installed Playwright version exposes the required mount fixture; do not assume an API solely from the source skill. ## Build an application-owned gallery A story is a small component wrapper for one stable scenario. A gallery page resolves a story ID, renders the story into a dedicated root, and exposes mount, update, and unmount behavior to Playwright. - With Vite, prefer a gallery HTML entry inside the project so existing plugins, aliases, transforms, and CSS apply. - With another bundler, use the application's supported development entry or a deliberately small standalone server. Avoid introducing a second build system unless necessary.
Details
- Skill name
playwright-component-testing- Repository
- sandbaseai/workbuddy-skill
- Path
skills/playwright-component-testing/SKILL.md- License
- MIT
- Repo updated
- 8 September 2026
FAQ
What does the Playwright Component Testing skill do?
Design, implement, migrate, and diagnose isolated React or Vue component tests with Playwright and an application-owned story gallery.
How do I install the Playwright Component Testing skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add sandbaseai/workbuddy-skill --skill playwright-component-testing. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Playwright Component Testing popular?
It lives in sandbaseai/workbuddy-skill, which has 9 GitHub stars and 3 forks.
Related skills
Access Control Security Best Practices
9sandbaseai/workbuddy-skill
Design, review, implement, and verify least-privilege access controls across users, services, tenants, resources, and administrative workflows.
Accessibility Review
9sandbaseai/workbuddy-skill
Use when reviewing a web interface or interaction for semantic, keyboard, focus, screen-reader, ARIA, and contrast accessibility risks.
Acquire Codebase Knowledge
9sandbaseai/workbuddy-skill
Use when the user asks to map, document, or onboard into an existing codebase and needs evidence-backed architecture, structure, conventions, integrations, testing, and concerns documentation.
Playwright Webapp QA
9sandbaseai/workbuddy-skill
Run browser-based QA for web apps with critical user-flow validation, console and network checks, screenshots, and responsive evidence.
Javascript Testing Patterns
9sandbaseai/workbuddy-skill
Use when building or repairing JavaScript/TypeScript tests with Jest, Vitest, Testing Library, async services, or CI; select the right test layer, keep mocks contract-aware, and assert public behavior.
Protocol Reverse Engineering
9sandbaseai/workbuddy-skill
Use when analyzing an authorized packet capture, documented test fixture, or proprietary protocol to understand message structure, interoperability, or communication failures without touching unapproved live traffic.
Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.