Chore: Unpick bootData (#109544)

* set the boot data config correctly

* tighten up grafana/data types

* kick CI

* restore dashboard scopes props

* revert back to class

* add some comments

* kick CI

* add comment
This commit is contained in:
Ashley Harrison
2025-08-14 13:57:58 +01:00
committed by GitHub
parent d3df5b8ddd
commit 9125b9c014
21 changed files with 205 additions and 143 deletions
@@ -1,4 +1,4 @@
import { GrafanaBootConfig } from '@grafana/runtime';
import { BootData } from '@grafana/data';
import { e2e } from '../utils';
@@ -22,7 +22,7 @@ describe('Panels smokescreen', () => {
visitDashboardAtStart: false,
});
cy.window().then((win: Cypress.AUTWindow & { grafanaBootData: GrafanaBootConfig['bootData'] }) => {
cy.window().then((win: Cypress.AUTWindow & { grafanaBootData: BootData }) => {
// Loop through every panel type and ensure no crash
Object.entries(win.grafanaBootData.settings.panels).forEach(([_, panel]) => {
// TODO: Remove Flame Graph check as part of addressing #66803