E2E: Fix running any suite locally (#42210)

* e2e: Fix running any suite locally

* Fixed issue with testFiles filter when specifying suite name

* unrelated

* fixed import paths to shared

* Moving dashboards to root
This commit is contained in:
Torkel Ödegaard
2021-11-24 15:16:51 +01:00
committed by GitHub
parent 2346d5a3f3
commit 0f6ae272e9
25 changed files with 23 additions and 14 deletions

View File

@@ -0,0 +1,12 @@
import { e2e } from '@grafana/e2e';
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: false,
scenario: () => {
e2e.flows.importDashboards('/dashboards', 1000);
},
});