Testland
Browse all skills & agents

qa-charts

Chart + data viz testing: 3 skills (chartjs-snapshot-tests, d3-snapshot-tests, vega-spec-validator) and 1 agent (chart-test-author). Covers Canvas + SVG + declarative-spec visualizations, complementing qa-visual-regression which targets general UI screens.

Install this plugin

/plugin install qa-charts@testland-qa

Part of role bundle: qa-role-frontend

qa-charts

Chart + data viz testing - Canvas (Chart.js), SVG (D3), declarative spec (Vega / Vega-Lite). Closes the gap left by qa-visual-regression which covers UI screens but not chart-render correctness.

Components

TypeNameDescription
Skillchartjs-snapshot-testsCanvas snapshot via Playwright toHaveScreenshot; programmatic canvas.toDataURL() diff; jsdom + node-canvas unit tests; tooltip + legend interaction; multi-DPI handling
Skilld3-snapshot-testsSVG outerHTML structural snapshot (with ID normalization); rendered-image snapshot; per-element data-binding test; update-join (enter/exit/reorder) correctness; SVG accessibility metadata
Skillvega-spec-validatorJSON Schema validation; Vega-Lite → Vega compilation test; multi-view composition (facet, layer, repeat); transform output verification; spec-snapshot regression
Agentchart-test-authorDetects the chart library (Chart.js, D3, Vega-Lite) from package.json + imports, routes to the matching sibling skill, and emits one chart-regression test file

Install

/plugin marketplace add testland/qa
/plugin install qa-charts@testland-qa