playwright-component-testing
Write, update, run, and debug Perseus's Playwright component tests: the `*.spec.ts` files that mount a Perseus question in a real browser. Use this skill whenever creating or changing a `*.spec.ts` file or a `*.story.tsx` story, using `renderQuestion()` from `testing/playwright`, adding a fixture to `@internal/playwright` (config/playwright), or when a Playwright test or the "Playwright" CI job fails. Also trigger when the user mentions Playwright, `pnpm pw`, browser tests, component tests, the story gallery, or "this needs a real browser". Do NOT trigger for Jest tests (`*.test.ts(x)`) or Storybook stories (`*.stories.tsx`).
Datos de origen
- Repositorio
- Khan/perseus
- Última actividad en el origen
- 17 de noviembre de 2026 a las 19:22
- Idioma detectado de SKILL.md
- inglés
- Estrellas
- 1600
- Forks
- 375
Opciones de instalación
De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.
Revisa los archivos de origen
Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.
Mostrando SKILL.md
| name | playwright-component-testing |
|---|---|
| description | Write, update, run, and debug Perseus's Playwright component tests: the `*.spec.ts` files that mount a Perseus question in a real browser. Use this skill whenever creating or changing a `*.spec.ts` file or a `*.story.tsx` story, using `renderQuestion()` from `testing/playwright`, adding a fixture to `@internal/playwright` (config/playwright), or when a Playwright test or the "Playwright" CI job fails. Also trigger when the user mentions Playwright, `pnpm pw`, browser tests, component tests, the story gallery, or "this needs a real browser". Do NOT trigger for Jest tests (`*.test.ts(x)`) or Storybook stories (`*.stories.tsx`). |