Frontend Testing

Use this skill when the user says 'frontend testing', 'component test', 'React testing', 'Vue testing', 'Angular testing', 'testing library', 'Cypress', 'Playwright', 'snapshot test', 'what to test frontend', or when writing frontend tests. This skill enforces: Testing Library queries by user-facing attributes (getByRole, getByLabelText), userEvent over fireEvent, component tests for every component state, E2E for critical journeys only (5-10 per app), accessibility assertions in every test, and zero snapshot tests. Works with any frontend framework. Do NOT use for: backend testing, API testing, or manual QA.

j4flmao Updated

File contents

j4flmao/agent-skills/tree/main/skills/frontend/universal/testing commit dde5ffb5a1

Frequently asked questions

npx skillmds@latest add j4flmao/frontend-testing