Skip to main content

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`).

ソース情報

リポジトリ
Khan/perseus
ソースの最終更新活動
2026年11月17日 19:22
検出された SKILL.md の言語
英語
スター
1,600
フォーク
375

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
nameplaywright-component-testing
descriptionWrite, 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`).