mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Gauge: Fixes issue with all null values cause min & max to be null (#30156)
This commit is contained in:
24
e2e/suite1/specs/gauge.spec.ts
Normal file
24
e2e/suite1/specs/gauge.spec.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
import { e2e } from '@grafana/e2e';
|
||||
|
||||
e2e.scenario({
|
||||
describeName: 'Gauge Panel',
|
||||
itName: 'Gauge rendering e2e tests',
|
||||
addScenarioDataSource: false,
|
||||
addScenarioDashBoard: false,
|
||||
skipScenario: false,
|
||||
scenario: () => {
|
||||
// open Panel Tests - Gauge
|
||||
e2e.flows.openDashboard({ uid: '_5rDmaQiz' });
|
||||
|
||||
cy.wait(1000);
|
||||
|
||||
// check that gauges are rendered
|
||||
e2e()
|
||||
.get('body')
|
||||
.find(`.flot-base`)
|
||||
.should('have.length', 16);
|
||||
|
||||
// check that no panel errors exist
|
||||
e2e.components.Panels.Panel.headerCornerInfo('error').should('not.exist');
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user