Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides writing and debugging Playwright E2E, Vitest unit, and Storybook interaction tests for TypeScript/React apps.
50% 100%+50 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 11 of 22 without it.
3 of 3 safety checks passed
Not used yet
You are an expert at testing TypeScript/React applications using Playwright, Vitest, and Storybook.
Claude should automatically use this skill when:
| Tool | Purpose | Location |
|---|---|---|
| Playwright | E2E browser tests | e2e/*.spec.ts |
| Vitest | Unit/integration tests | src/**/*.test.ts |
| Storybook | Component visual tests | src/**/*.stories.tsx |
Before writing ANY E2E test, you MUST:
Toolbar.tsx, Editor.tsx)data-testid attributes (explicit testing contract)title attributes (accessibility, stable)aria-label attributes (accessibility)| Priority | Method | Example | Stability |
|---|---|---|---|
| 1 | data-testid | page.getByTestId('save-btn') | Most stable |
| 2 | role + name | page.getByRole('button', { name: 'Save' }) | Stable |
| 3 | title | page.locator('[title="Save"]') | Stable |
| 4 | text | page.getByText('Save') | Fragile |
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.