mirror of
https://github.com/grafana/grafana.git
synced 2024-11-24 09:50:29 -06:00
19 lines
539 B
TypeScript
19 lines
539 B
TypeScript
|
import { e2e } from '@grafana/e2e';
|
||
|
import { selectors } from '@grafana/e2e-selectors';
|
||
|
|
||
|
e2e.scenario({
|
||
|
describeName: 'Pie Chart Panel',
|
||
|
itName: 'Pie Chart rendering e2e tests',
|
||
|
addScenarioDataSource: false,
|
||
|
addScenarioDashBoard: false,
|
||
|
skipScenario: false,
|
||
|
scenario: () => {
|
||
|
// open Panel Tests - Pie Chart
|
||
|
e2e.flows.openDashboard({ uid: 'lVE-2YFMz' });
|
||
|
|
||
|
e2e()
|
||
|
.get(`[data-panelid=11] [aria-label^="${selectors.components.Panels.Visualization.PieChart.svgSlice}"]`)
|
||
|
.should('have.length', 5);
|
||
|
},
|
||
|
});
|