grafana/e2e/suite1/specs/panelEdit_transforms.spec.ts
Steven Vachon fb3bec058a
@grafana/e2e: improvements (#25708)
* Set time range when opening a dashboard

* Set UTC timezone when creating a dashboard

* Added flow for selecting options in custom select fields

* Fix flaky test
2020-06-26 13:33:05 -04:00

27 lines
712 B
TypeScript

import { e2e } from '@grafana/e2e';
const PANEL_UNDER_TEST = 'Random walk series';
e2e.scenario({
describeName: 'Panel edit tests - transformations',
itName: 'Tests transformations editor',
addScenarioDataSource: false,
addScenarioDashBoard: false,
skipScenario: false,
scenario: () => {
e2e.flows.openDashboard({ uid: '5SdHCadmz' });
e2e.flows.openPanelMenuItem(e2e.flows.PanelMenuItems.Edit, PANEL_UNDER_TEST);
e2e.components.Tab.title('Transform')
.should('be.visible')
.click();
e2e.components.TransformTab.newTransform('Reduce')
.should('be.visible')
.click();
e2e.components.Transforms.Reduce.calculationsLabel().should('be.visible');
},
});