mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* duplicate various-suite in scenes e2e * restore original various-suite * adjust various-suite e2e tests for scenes * adjust workflow for test run * adjust flaky exemplars test * remove old dash script and restore workflow * duplicate e2e/various-suite/keybinds.spec.ts into e2e/scenes * restore original e2e/various-suite/keybinds.spec.ts * add new keybinds e2e test * restore workflow file after test run
19 lines
529 B
TypeScript
19 lines
529 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-viz-panel-key="panel-11"] [data-testid^="${selectors.components.Panels.Visualization.PieChart.svgSlice}"]`
|
|
).should('have.length', 5);
|
|
});
|
|
});
|