frontend-testing-best-practices
Guidelines for effective frontend testing, prioritizing E2E tests over unit tests and minimizing mocks.
Install
npx skills add https://github.com/sergiodxa/agent-skills --skill frontend-testing-best-practicesStats
| Total installs | 1,457 |
| Weekly installs | 1.5K |
| GitHub stars | 80 |
| First seen | Jan 28, 2026 |
| Source | @sergiodxa/agent-skills |
Summary
- Prioritizes E2E tests over unit tests; reserves unit tests for pure functions only
- Emphasizes accessible selectors (role-based, label-based) over CSS selectors and test IDs in E2E tests
- Recommends writing E2E tests instead of heavily mocked unit tests; suggests 3+ mocks as a signal to switch approaches
- Includes rules for test structure, selector strategy, and when to apply each testing pattern
Tags
Related skills
| Skill | Installs | vs frontend-testing-best-practices |
|---|---|---|
| code-review-analysis | 1,597 | +140 |
| differential-review | 1,584 | +127 |
| n8n-validation-expert | 1,655 | +198 |
| codeql | 1,429 | -28 |
| browsing-with-playwright | 1,427 | -30 |
FAQ
- How many installs does frontend-testing-best-practices have?
- frontend-testing-best-practices has 1,457 total installs and 1.5K installs this week.
- Where is frontend-testing-best-practices hosted?
- frontend-testing-best-practices is published by @sergiodxa/agent-skills at https://github.com/sergiodxa/agent-skills.
- How many GitHub stars does frontend-testing-best-practices have?
- frontend-testing-best-practices has 80 GitHub stars.
- When was frontend-testing-best-practices first indexed?
- OrangeBot.AI first indexed frontend-testing-best-practices on Jan 28, 2026.
- How do I install frontend-testing-best-practices?
- Run: npx skills add https://github.com/sergiodxa/agent-skills --skill frontend-testing-best-practices