mirror of
https://github.com/grafana/grafana.git
synced 2024-11-24 09:50:29 -06:00
fb3bec058a
* 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
27 lines
712 B
TypeScript
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');
|
|
},
|
|
});
|