mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 09:26:43 -06:00
d8e99e2bb5
* cut down the e2e object more :) * undo changes in grafana-e2e * couple more things to undo in grafana-e2e
20 lines
520 B
TypeScript
20 lines
520 B
TypeScript
import { selectors } from '@grafana/e2e-selectors';
|
|
|
|
import { e2e } from '../utils';
|
|
|
|
describe('Pie Chart Panel', () => {
|
|
beforeEach(() => {
|
|
e2e.flows.login(Cypress.env('USERNAME'), Cypress.env('PASSWORD'));
|
|
});
|
|
|
|
it('Pie Chart rendering e2e tests', () => {
|
|
// open Panel Tests - Pie Chart
|
|
e2e.flows.openDashboard({ uid: 'lVE-2YFMz' });
|
|
|
|
cy.get(`[data-panelid=11] [aria-label^="${selectors.components.Panels.Visualization.PieChart.svgSlice}"]`).should(
|
|
'have.length',
|
|
5
|
|
);
|
|
});
|
|
});
|