Skill

component-tests

Use when writing, changing, debugging, or reviewing the Playwright component tests that mount stories. That covers specs in packages/app/component-tests or packages/session-ui/component-tests, `*.fixture.tsx` files there or beside source (such as packages/gui-plugins/src/browser/panel.fixture.tsx), the stories they mount, and the shared harness in packages/stories (playwright/config.ts, playwright/story.ts, vite.config.ts, src/frame.tsx, src/index-plugin.ts, mocks). Also use when a component test is flaky, passed on retry, or fails with "Execution context was destroyed", "Failed to fetch dynamically imported module", or `#story-root` hidden. Covers mount args, source modules imported by URL, Vite dependency pre-bundling and reloads, a cold vs warm story server, mobile drawers, geometry, and checks before pushing.

Bundled with BanyanCode. Its trust score, security findings and other files are on the plugin page.

SKILL.md

Path
.opencode/skills/component-tests/SKILL.md
Size
18 KB
SHA-256
a8219cf8cc77bf9e21c989b106c54aa77c085006157878a128c1117e20b54aa1

Install

Install the plugin's skills with the Skills CLI:

npx [email protected] add EkagraAgarwal/BanyanCode