mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 02:10:45 -06:00
d8e99e2bb5
* cut down the e2e object more :) * undo changes in grafana-e2e * couple more things to undo in grafana-e2e
19 lines
554 B
TypeScript
19 lines
554 B
TypeScript
import { selectors } from '@grafana/e2e-selectors';
|
|
|
|
import { e2e } from '../utils';
|
|
|
|
describe('Bar Gauge Panel', () => {
|
|
beforeEach(() => {
|
|
e2e.flows.login(Cypress.env('USERNAME'), Cypress.env('PASSWORD'));
|
|
});
|
|
|
|
it('Bar Gauge rendering e2e tests', () => {
|
|
// open Panel Tests - Bar Gauge
|
|
e2e.flows.openDashboard({ uid: 'O6f11TZWk' });
|
|
|
|
cy.get(`[data-panelid=6] [data-testid^="${selectors.components.Panels.Visualization.BarGauge.valueV2}"]`)
|
|
.should('have.css', 'color', 'rgb(242, 73, 92)')
|
|
.contains('100');
|
|
});
|
|
});
|