grafana/e2e/dashboards-suite/import-dashboard.spec.ts

13 lines
401 B
TypeScript
Raw Normal View History

import testDashboard from '../dashboards/TestDashboard.json';
import { e2e } from '../utils';
describe('Import Dashboards Test', () => {
beforeEach(() => {
e2e.flows.login(Cypress.env('USERNAME'), Cypress.env('PASSWORD'));
});
it('Ensure you can import a number of json test dashboards from a specific test directory', () => {
e2e.flows.importDashboard(testDashboard, 1000);
});
});