mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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 now
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
import { e2e } from '@grafana/e2e';
|
||||
|
||||
import testDashboard from '../dashboards/TestDashboard.json';
|
||||
|
||||
e2e.scenario({
|
||||
describeName: 'Import Dashboards Test',
|
||||
itName: 'Ensure you can import a number of json test dashboards from a specific test directory',
|
||||
addScenarioDataSource: false,
|
||||
addScenarioDashBoard: false,
|
||||
skipScenario: true,
|
||||
skipScenario: false,
|
||||
scenario: () => {
|
||||
e2e.flows.importDashboards('/dashboards', 1000);
|
||||
e2e.flows.importDashboard(testDashboard, 1000);
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user