grafana / grafana

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
https://grafana.com
GNU Affero General Public License v3.0
64.17k stars 12.01k forks source link

[Tests] use a Canvas -> SVG pathstring proxy for testing instead of pngs #29552

Open leeoniya opened 3 years ago

leeoniya commented 3 years ago

the idea is to proxy Canvas commands to SVG pathstrings, which can then be diffed via string comparison instead of how Flot charts are tested now (via image generation and diff).

here's a lib that already does quite a bit: https://github.com/gliffy/canvas2svg

this will also be useful for testing uPlot output for what is drawn on canvas.

github-actions[bot] commented 8 months ago

This issue has been automatically marked as stale because it has not had activity in the last year. It will be closed in 30 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!

github-actions[bot] commented 7 months ago

This issue has been automatically closed because it has not had any further activity in the last 30 days. Thank you for your contributions!