grafana/e2e-playwright/various-suite
Ivan Ortega Alba c0ce4ff1f2
Dashboards: Fix missing Ctrl+O keyboard shortcut for crosshair toggle (#111310)
* Dashboard Scenes: Fix missing Ctrl+O keyboard shortcut for crosshair toggle

- Add missing mod+o keybind to dashboard scenes keyboard shortcuts
- Implement crosshair state cycling (Default -> Crosshair -> Tooltip -> Default)
- Add comprehensive unit tests for keyboard shortcuts functionality
- Add e2e test to verify shortcut works and prevents browser file dialog
- Fix ensures parity between legacy and scenes dashboard implementations

Fixes issue where Ctrl+O/Cmd+O was opening browser file dialog instead of
toggling shared crosshair modes in scenes-based dashboards.

* Remove waitForTimeout from e2e test

- Replace arbitrary timeouts with proper element waiting
- Use waitFor with visible state instead of setTimeout
- Improve test reliability and follow Playwright best practices

* Optimize e2e test for crosshair keyboard shortcut

- Remove unnecessary console logging and timeout settings
- Simplify assertions to only check the currently selected radio button
- Improve test performance by reducing DOM queries
- Focus on essential functionality verification

* Fix linting
2025-09-19 16:03:02 +00:00
..
bar-gauge.spec.ts
bookmarks.spec.ts Repeats: Add E2E tests for custom grid repeats (#110884) 2025-09-18 10:11:35 +03:00
exemplars.spec.ts
explore.spec.ts
filter-annotations.spec.ts
frontend-sandbox-app.spec.ts Playwright: Some tweaks to improve stability (#108667) 2025-07-25 10:54:07 +01:00
frontend-sandbox-datasource.spec.ts Playwright: Fix remaining various-suite tests (#110667) 2025-09-08 16:57:39 +01:00
gauge.spec.ts
graph-auto-migrate.spec.ts
inspect-drawer.spec.ts Dashboard: Inspect drawer can no longer be opened with url or linked to (#109617) 2025-08-15 13:32:19 +02:00
keybinds.spec.ts Dashboards: Fix missing Ctrl+O keyboard shortcut for crosshair toggle (#111310) 2025-09-19 16:03:02 +00:00
loki-query-builder.spec.ts
loki-table-explore-to-dash.spec.ts Table: Enable tableNextGen by default (#109832) 2025-08-26 17:25:16 -04:00
migrate-to-cloud.spec.ts Playwright: Fix remaining various-suite tests (#110667) 2025-09-08 16:57:39 +01:00
navigation.spec.ts
perf-test.spec.ts E2E: Add performance monitoring E2E test (#109417) 2025-08-20 19:36:54 +00:00
pie-chart.spec.ts
prometheus-annotations.spec.ts
prometheus-config.spec.ts Playwright: Fix remaining various-suite tests (#110667) 2025-09-08 16:57:39 +01:00
prometheus-editor.spec.ts Playwright: Fix remaining various-suite tests (#110667) 2025-09-08 16:57:39 +01:00
prometheus-variable-editor.spec.ts Playwright: Fix remaining various-suite tests (#110667) 2025-09-08 16:57:39 +01:00
query-editor.spec.ts
return-to-previous.spec.ts
solo-route.spec.ts Dashboards: Repeating with no clone keys (#109839) 2025-08-20 10:21:18 +02:00
trace-view-scrolling.spec.ts Playwright: Fix remaining various-suite tests (#110667) 2025-09-08 16:57:39 +01:00
verify-i18n.spec.ts
visualization-suggestions.spec.ts Table: Enable tableNextGen by default (#109832) 2025-08-26 17:25:16 -04:00