mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 02:10:45 -06:00
17 lines
605 B
TypeScript
17 lines
605 B
TypeScript
|
import testDashboard from '../dashboards/DashboardLiveTest.json';
|
||
|
import { e2e } from '../utils';
|
||
|
|
||
|
describe('Dashboard Live streaming support', () => {
|
||
|
beforeEach(() => {
|
||
|
e2e.flows.login(Cypress.env('USERNAME'), Cypress.env('PASSWORD'));
|
||
|
e2e.flows.importDashboard(testDashboard, 1000);
|
||
|
});
|
||
|
|
||
|
it('Should receive streaming data', () => {
|
||
|
e2e.flows.openDashboard({ uid: 'live-e2e-test' });
|
||
|
cy.wait(1000);
|
||
|
e2e.components.Panels.Panel.title('Live').should('exist');
|
||
|
e2e.components.Panels.Visualization.Table.body().find('[role="row"]').should('have.length.at.least', 5);
|
||
|
});
|
||
|
});
|