frontend-testing-strategy
Skill3.7k starsChanged 16 days agoApache-2.0View on GitHub
Write and review meaningful frontend unit, component, and E2E tests; diagnose weak assertions and flaky async tests. Read repository testing guidance for commands and fixtures.
3 other projects use a version of this.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- grafana/grafanatheir own version, first seen Oct 8, 2026
- LeonxLJX/web-engineer-skillstheir own version, first seen Sep 3, 2026
- annatchijova/SKILLStheir own version, first seen Jul 8, 2026
Who's talking about grafana/mcp-grafana
- PagerDuty/pagerduty-mcp-server“Can we add a flag to filter MCP tools by area?”GitHub · Oct 31, 2025 · 9 reactions
- @matsuu.bsky.social“Grafana公式MCPサーバ”Bluesky · Apr 6, 2025 · 3 likes
- @sergialmar.com“The MCP server for Grafana not only allows you to manage dashboards, but also query datasources, …”Bluesky · Sep 2, 2025 · 2 likes
- @golangch.bsky.social“A Model Context Protocol (MCP) server for Grafana. This provides access to your #Grafana instance and the …”Bluesky · Jul 18, 2025 · 2 likes
- shrinedogg/biggs.dog“chore(deps): update docker.io/grafana/mcp-grafana docker tag to v2”GitHub · Nov 18, 2026 · 1 reactions
The biggest 5 of 54 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 54
Talked about on GitHub and Bluesky (54 times).
On GitHub · 50
- Oct 31, 2025Can we add a flag to filter MCP tools by area? — PagerDuty/pagerduty-mcp-server9 reactions · 8 comments
- Nov 18, 2026chore(deps): update docker.io/grafana/mcp-grafana docker tag to v2 — shrinedogg/biggs.dog1 reaction · 1 comment
- Nov 17, 2026docs: add contract contributor and signing guidance — grafana/viz-contract1 reaction
- Nov 7, 2026feat(container): update image docker.io/grafana/mcp-grafana to v2.4.0 — jonathanchancey/stacks1 reaction · 2 comments
- Nov 2, 2026feat(container): update image docker.io/grafana/mcp-grafana (2.1.1 ➔ 2.2.0) — alex-matthews/home-ops1 reaction · 2 comments
45 more on GitHub
- Nov 2, 2026feat(container): update image grafana/mcp-grafana (2.1.1 ➔ 2.2.0) — caycehouse/home-ops1 reaction · 1 comment
- Nov 2, 2026feat(container): update image grafana/mcp-grafana (2.1.1 ➔ 2.2.0) — Tanguille/cluster1 reaction · 5 comments
- Nov 2, 2026feat(container): update docker.io/grafana/mcp-grafana ( 2.1.1 → 2.2.0 ) — nklmilojevic/home1 reaction · 2 comments
- Aug 24, 2026Track mcp-grafana integration: docs tools backed by pkg/grafanadocs — grafana/mcp-doc-server1 reaction · 1 comment
- Sep 29, 2025Enable creating dashboards via MCP tool calls? — SigNoz/signoz-mcp-server1 reaction · 16 comments
- Aug 22, 2025MCP Trust Score — github/github-mcp-server1 reaction · 1 comment
- Aug 22, 2025MCP Trust Score — gitmotion/ntfy-me-mcp1 reaction · 1 comment
- Aug 21, 2025MCP Trust Score — edwinbernadus/nocodb-mcp-server1 reaction
- Aug 21, 2025MCP Trust Score — bgauryy/octocode1 reaction
- Aug 21, 2025MCP Trust Score — browserbase/mcp-server-browserbase1 reaction
- Aug 21, 2025MCP Trust Score — ambar/simctl-mcp1 reaction
- Aug 20, 2025MCP Trust Score — ahujasid/mcp-for-blender1 reaction · 3 comments
- Aug 18, 2025MCP Trust Score — JamesANZ/medical-mcp1 reaction
- Aug 18, 2025MCP Trust Score — mindsdb/mindshub1 reaction · 5 comments
- Aug 17, 2025MCP Trust Score — mahdin75/gis-mcp1 reaction
- Aug 17, 2025MCP Trust Score — takashiishida/arxiv-latex-mcp1 reaction
- Aug 17, 2025MCP Trust Score — zcaceres/markdownify-mcp1 reaction · 1 comment
- Aug 17, 2025MCP Trust Score — imprvhub/mcp-claude-hackernews1 reaction
- Aug 17, 2025MCP Trust Score — dagger/container-use1 reaction
- Aug 16, 2025MCP Trust Score — hustcc/mcp-echarts1 reaction
- Aug 16, 2025MCP Trust Score — kiwamizamurai/mcp-kibela-server1 reaction
- Aug 15, 2025MCP Trust Score — f4ww4z/mcp-mysql-server1 reaction
- Aug 15, 2025MCP Trust Score — Coding-Solo/godot-mcp1 reaction
- Aug 15, 2025MCP Trust Score — hungthai1401/bruno-mcp1 reaction · 1 comment
- Aug 15, 2025MCP Trust Score — takumi0706/google-calendar-mcp1 reaction · 1 comment
- Aug 15, 2025MCP Trust Score — marcelmarais/spotify-mcp-server1 reaction
- Aug 15, 2025MCP Trust Score — securityfortech/secops-mcp1 reaction
- Aug 15, 2025MCP Trust Score — hustcc/mcp-mermaid1 reaction · 3 comments
- Aug 15, 2025MCP Trust Score — xing5/mcp-google-sheets1 reaction
- Aug 15, 2025MCP Trust Score — CircleCI-Public/mcp-server-circleci1 reaction · 2 comments
- Aug 15, 2025MCP Trust Score — ArchAI-Labs/fastmcp-sonarqube-metrics1 reaction · 1 comment
- Aug 15, 2025MCP Trust Score — 8enSmith/mcp-open-library1 reaction · 2 comments
- Nov 28, 2026Non-streaming search drops search metrics (completedJobs/totalJobs) from /api/ds/query responses — grafana/grafana-tempo-datasource0 reactions
- Nov 26, 2026[REQ][PRP Observability V1] 统一监控与智能运维中心 — micor-cjj-spec/matrix-prp0 reactions · 111 comments
- Nov 23, 2026Add Grafana MCP to development agents — MatiasOlivera/ubuntu-workstation0 reactions
- Nov 18, 2026Testing: extract shared CODEOWNERS manifest and coverage aggregation package — grafana/grafanasays it tested it0 reactions
- Nov 18, 2026Grafana: standalone upstream MCP and scoped dashboard management (ops #1178) — yesvus/kule0 reactions
- Oct 23, 2026[grafana-mcp] Make server authentication opt-in instead of generating a token by default — grafana-community/helm-charts0 reactions · 1 comment
- Oct 20, 2026[EPIC]: logs gcx and mcp feature parity — grafana/logs-drilldown0 reactions · 2 comments
- Oct 2, 2026move mcp-grafana past v1.4.2: native Tempo tools instead of ProxiedClient — giantswarm/mcp-observability-platform0 reactions · 2 comments
- Sep 28, 2026Project Limit Request: mcp-grafana - 25 GB — pypi/support0 reactions · 2 comments
- Sep 22, 2026Add Prometheus integration — daltoniam/switchboard0 reactions · 3 comments
- Sep 20, 2026Add Grafana integration — daltoniam/switchboard0 reactions · 1 comment
- Sep 15, 2026MCP client sends tools/list|tools/call before initialize completes — intermittent "method invalid during initialization" against servers using official go-sdk — maximhq/bifrost0 reactions · 2 comments
- Sep 1, 2026Grafana MCP releases — leontloveless/ai-rss-feeds0 reactions · 1 comment
On Bluesky · 4
- Apr 6, 2025Grafana公式MCPサーバ — @matsuu.bsky.social3 likes and reposts
- Sep 2, 2025The MCP server for Grafana not only allows you to manage dashboards, but also query datasources, Prometheus, Loki, incidents... 👉 Give it… — @sergialmar.com2 likes and reposts
- Jul 18, 2025A Model Context Protocol (MCP) server for Grafana. This provides access to your #Grafana instance and the surrounding ecosystem #golang… — @golangch.bsky.social2 likes and reposts
- May 9, 2026Kubernetes 関係の長い YAML とか Claude に書かせているのは前からなのですが、最近 Grafana 関係の PromQL と LogQL も Claude に書かせるようになりました。文法とどういうメトリクスがあるのかの両方を知らないといけないので、AI… — @8-p.info1 likes and repost
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- grafana/grafana★ 78ksame name
- annatchijova/SKILLS★ 9same name
- LeonxLJX/web-engineer-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- draft-releaseSkill
- panel-testing-strategySkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 11 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use the repository's runner and fixtures already identified for the task.
- Distinctive: line 15
Use unit tests for logic, component/integration tests for collaboration and observable UI behavior, and targeted E2E tests for critical …
- Distinctive: line 19
Add tests with features and fixes.
- Distinctive: line 20
Verify this using a reversible local change.
- Distinctive: line 21
Before updating a failing assertion or snapshot, trace the failure and distinguish an intended behavior change from a regression.
- Distinctive: line 30
Use independent expected values: do not call the implementation or duplicate its formula to compute the expectation.
- Distinctive: line 44
Prefer real component trees over mocked children.
- Distinctive: line 47
Use the runner's typed mock helper rather than scattered unsafe casts.
- Distinctive: line 49
Use semantic roles and accessible names for UI queries.
- Distinctive: line 60
Use deterministic interactions instead of unsupported DOM geometry hacks.
- Distinctive: line 62
Run focused tests in non-watch mode.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Frontend testing strategy
Use the repository's runner and fixtures already identified for the task. These principles work with Jest, Vitest, and other runners. Do not introduce a new runner just to follow this skill. For visualization behavior, also read the panel companion. Do not reload guidance already read.
Choose meaningful coverage
- Extend existing focused tests. Test production code, not test-local helpers or framework behavior.
- Use unit tests for logic, component/integration tests for collaboration and observable UI behavior, and targeted E2E tests for critical user journeys. Keep static checks as the foundation.
- Name each test for the behavior its assertions establish. Consolidate duplicate cases; use table-driven tests for meaningful variants. Avoid testing trivial initial values or mere rendering.
- Add tests with features and fixes. A regression test must fail without the fix and pass with it. Verify this using a reversible local change; restore production code before finishing.
- Before updating a failing assertion or snapshot, trace the failure and distinguish an intended behavior change from a regression. Never update expectations merely to obtain a green run.
- Review AI-generated tests for readability, real coverage, and unnecessary mocks. Coverage percentages do not substitute for a test that catches the intended regression.
Assert the contract
Assert concrete computed values, visible behavior, or exact collaborator arguments. Existence, "did not throw", and lengths that merely mirror input are insufficient by themselves. Use independent expected values: do not call the implementation or duplicate its formula to compute the expectation. A small, reviewed inline snapshot can freeze awkward deterministic values. Broad DOM snapshots are not a substitute for behavioral assertions.
For consumers of theme colors, assert the intended semantic token from the supplied theme, rather than today's hex value. When testing the palette or resolver itself, use independent expected values. For query builders, compare the complete deterministic query, not a fragment.
Set every precondition needed to reach the target branch: flags, input shape, loading state, and permissions. Check that deliberately breaking the behavior makes the test fail. Test names must not claim more than the assertions prove.
Exercise real behavior
Prefer real component trees over mocked children. Mock external boundaries, controlled time, or APIs unavailable in the environment; keep working storage implementations and simple helpers real. Use the repository's real feature-flag test utilities. Restore mocks and timers between tests. Use the runner's typed mock helper rather than scattered unsafe casts.
Use semantic roles and accessible names for UI queries. When those are insufficient, use the repository's stable selectors, scoped to the owning component. Drive interactions through user-facing controls, not internal component state.
Avoid flakes
- Establish a positive expected state before checking absence: an empty render must not pass.
- Await asynchronous UI with retrying assertions or find queries, not fixed sleeps. Retry callbacks must throw on failure. Do not repeat side effects inside retry callbacks.
- Pin time, locale, timezone, randomness, and dimensions when they affect the assertion.
- Scope locators to avoid previews and duplicate widgets. Wait for renderer or data readiness.
- Use deterministic interactions instead of unsupported DOM geometry hacks. Avoid reading transient text while virtualized or animated content is settling.
- Run focused tests in non-watch mode. Report commands, results, and unavailable checks accurately. Retries and broad suppressions must not conceal an unresolved failure.
Review meaningful interaction, error, empty-data, and accessibility states as applicable. Before preview or release, review intentional coverage of critical journeys rather than simply counting tests.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

