You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
584 B
19 lines
584 B
import { e2e } from '@grafana/e2e';
|
|
import { selectors } from '@grafana/e2e-selectors';
|
|
|
|
e2e.scenario({
|
|
describeName: 'Bar Gauge Panel',
|
|
itName: 'Bar Gauge rendering e2e tests',
|
|
addScenarioDataSource: false,
|
|
addScenarioDashBoard: false,
|
|
skipScenario: false,
|
|
scenario: () => {
|
|
// open Panel Tests - Bar Gauge
|
|
e2e.flows.openDashboard({ uid: 'O6f11TZWk' });
|
|
|
|
e2e()
|
|
.get(`[data-panelid=6] [data-testid^="${selectors.components.Panels.Visualization.BarGauge.valueV2}"]`)
|
|
.should('have.css', 'color', 'rgb(242, 73, 92)')
|
|
.contains('100');
|
|
},
|
|
});
|
|
|