bymicrosoft· 555 skills
Set up component testing with Playwright using a story gallery — scaffold stories and a gallery dev page driven by the built-in mount fixture, no dedicated component-testing runtime. Use when asked to test React or Vue components in isolation with Playwright, or to migrate off @playwright/experimental-ct-react / -vue.
$npx -y skills add microsoft/playwright --skill playwright-component-testingInstalls into the current project.
Run `npx skills use "https://github.com/microsoft/playwright" --skill "microsoft/playwright/playwright-component-testing"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/microsoft/playwright" that are relevant to the current task. Run `npx skills add "https://github.com/microsoft/playwright"` and select the relevant skills, then follow their instructions.