mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 10:20:29 -06:00
0f6ae272e9
* e2e: Fix running any suite locally * Fixed issue with testFiles filter when specifying suite name * unrelated * fixed import paths to shared * Moving dashboards to root
20 lines
584 B
TypeScript
20 lines
584 B
TypeScript
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');
|
|
},
|
|
});
|