mirror of https://github.com/grafana/grafana
Import: prevent recursion blowup in redux + reintroduce import e2e test (#52985)
* prevent recursion blowup in redux, attempt to reintroduce import e2e test * try importing json like this instead? * need the panel validation * Update text so it finds Panel data instead of Dataframe JSON * skip test for nowpull/53033/head
parent
784cfcf2b0
commit
6781041860
@ -1,12 +1,14 @@ |
|||||||
import { e2e } from '@grafana/e2e'; |
import { e2e } from '@grafana/e2e'; |
||||||
|
|
||||||
|
import testDashboard from '../dashboards/TestDashboard.json'; |
||||||
|
|
||||||
e2e.scenario({ |
e2e.scenario({ |
||||||
describeName: 'Import Dashboards Test', |
describeName: 'Import Dashboards Test', |
||||||
itName: 'Ensure you can import a number of json test dashboards from a specific test directory', |
itName: 'Ensure you can import a number of json test dashboards from a specific test directory', |
||||||
addScenarioDataSource: false, |
addScenarioDataSource: false, |
||||||
addScenarioDashBoard: false, |
addScenarioDashBoard: false, |
||||||
skipScenario: true, |
skipScenario: false, |
||||||
scenario: () => { |
scenario: () => { |
||||||
e2e.flows.importDashboards('/dashboards', 1000); |
e2e.flows.importDashboard(testDashboard, 1000); |
||||||
}, |
}, |
||||||
}); |
}); |
||||||
|
Loading…
Reference in new issue