mirror of https://github.com/grafana/grafana.git
* Grafana: Add random walk configuration options to Grafana datasource Add UI controls to configure random walk parameters (min, max, start value, spread, noise, drop percent) to match TestData datasource functionality. - Add RandomWalkEditor component with inline number inputs for all parameters - Update GrafanaQuery type to include random walk configuration fields - Update backend to parse and apply query parameters to RandomWalk function - Configuration options match TestData datasource UX for consistency * Grafana: Add series count support to random walk Add ability to generate multiple random walk series in a single query for complete parity with TestData datasource. - Add seriesCount field to RandomWalkEditor - Update backend to loop and generate multiple frames based on series count - Default to 1 series if not specified for backward compatibility * Grafana: Improve random walk editor UI with better organization and tooltips Enhance the random walk configuration UI for better usability: - Organize fields into two logical rows (core config vs fine-tuning) - Add helpful tooltips to all fields explaining their purpose - Increase label width to prevent text wrapping - Group related fields visually for better comprehension Row 1: Series count, Start value, Min, Max (basic shape and range) Row 2: Spread, Noise, Drop % (randomness and variation controls) This provides a cleaner, more intuitive experience compared to TestData's single-row layout, making it easier for users to configure random walks. * Grafana: Format RandomWalkEditor code Apply consistent formatting to RandomWalkEditor component. * Grafana: Add E2E tests for random walk configuration Add comprehensive Playwright E2E tests to verify random walk functionality: - Test that all configuration fields render correctly - Test min/max value constraints - Test multiple series generation - Test spread and noise parameters - Test drop percentage for simulating missing data - Test that tooltips are present and functional These tests ensure the random walk configuration works end-to-end from UI input to data rendering in panels. * Grafana: Fix E2E tests for random walk configuration Fix Playwright test selectors and assertions to work reliably: - Use specific element IDs to avoid selector conflicts - Remove flaky dropPercent check from rendering test (covered separately) - Simplify test assertions to focus on functional verification - All 7 tests now passing consistently Tests verify: field rendering, min/max constraints, series count, spread/noise configuration, drop percentage, and tooltips. * Grafana: Add advanced E2E tests for random walk Add two additional tests for better coverage: - Test configuration value persistence across interactions - Test that series count actually generates the expected number of series These tests verify deeper functionality beyond basic UI rendering, ensuring the random walk feature works correctly end-to-end. All 9 tests passing consistently (20.1s runtime). * Grafana: Remove redundant Min/Max tooltips Remove tooltips from Min and Max fields that just repeated the label text. These fields are self-explanatory and don't need tooltip icons. Keeps the UI cleaner while maintaining helpful tooltips on fields that actually benefit from explanation (Series count, Start value, Spread, Noise, Drop %). * Grafana: Add CODEOWNERS entry for random walk E2E tests Add codeowner assignment for the new grafana-datasource-random-walk.spec.ts test file to @grafana/grafana-frontend-platform, matching the ownership of the Grafana datasource code. * Add dashboardTemplates feature toggle and put new changes behind this toggle to limit impact * Grafana: Add unit tests for dashboardTemplates feature toggle Add unit tests to verify RandomWalkEditor renders correctly based on the dashboardTemplates feature toggle: - Test that random walk editor renders when FF is enabled - Test that random walk editor is hidden when FF is disabled These tests ensure the feature toggle works as expected and prevents the random walk configuration UI from appearing when the feature is disabled. * revert previous codeowners change as not necessary * Grafana: Remove redundant E2E test for feature flag disabled Remove E2E test for dashboardTemplates feature flag disabled scenario since it's already covered by unit tests and E2E environment can't reliably control server-side feature flags. Feature flag behavior is properly tested in QueryEditor.test.tsx unit tests. E2E tests focus on functional validation when the feature is enabled. * fix lint |
||
|---|---|---|
| .. | ||
| bar-gauge.spec.ts | ||
| bookmarks.spec.ts | ||
| exemplars.spec.ts | ||
| explore.spec.ts | ||
| filter-annotations.spec.ts | ||
| frontend-sandbox-app.spec.ts | ||
| frontend-sandbox-datasource.spec.ts | ||
| gauge.spec.ts | ||
| grafana-datasource-random-walk.spec.ts | ||
| graph-auto-migrate.spec.ts | ||
| inspect-drawer.spec.ts | ||
| keybinds.spec.ts | ||
| loki-query-builder.spec.ts | ||
| loki-table-explore-to-dash.spec.ts | ||
| migrate-to-cloud.spec.ts | ||
| navigation.spec.ts | ||
| perf-test.spec.ts | ||
| pie-chart.spec.ts | ||
| prometheus-annotations.spec.ts | ||
| prometheus-config.spec.ts | ||
| prometheus-editor.spec.ts | ||
| prometheus-variable-editor.spec.ts | ||
| query-editor.spec.ts | ||
| return-to-previous.spec.ts | ||
| solo-route.spec.ts | ||
| trace-view-scrolling.spec.ts | ||
| verify-i18n.spec.ts | ||
| visualization-suggestions.spec.ts | ||