grafana/e2e/panels-suite/panelEdit_transforms.spec.ts

17 lines
654 B
TypeScript
Raw Normal View History

import { e2e } from '../utils';
describe('Panel edit tests - transformations', () => {
beforeEach(() => {
e2e.flows.login(Cypress.env('USERNAME'), Cypress.env('PASSWORD'));
});
it('Tests transformations editor', () => {
e2e.flows.openDashboard({ uid: '5SdHCadmz', queryParams: { editPanel: 3 } });
e2e.components.Tab.title('Transform data').should('be.visible').click();
2023-07-13 12:58:22 -05:00
e2e.components.TransformTab.newTransform('Reduce').scrollIntoView().should('be.visible').click();
e2e.components.Transforms.Reduce.calculationsLabel().should('be.visible');
e2e.components.Transforms.Reduce.modeLabel().should('be.visible');
});
});