2023-09-08 10:51:59 -05:00
|
|
|
import { e2e } from '../utils';
|
2020-05-28 01:06:24 -05:00
|
|
|
|
2023-09-13 07:24:20 -05:00
|
|
|
describe('Panel edit tests - transformations', () => {
|
|
|
|
beforeEach(() => {
|
2023-09-27 05:33:00 -05:00
|
|
|
e2e.flows.login(Cypress.env('USERNAME'), Cypress.env('PASSWORD'));
|
2023-09-13 07:24:20 -05:00
|
|
|
});
|
|
|
|
|
|
|
|
it('Tests transformations editor', () => {
|
2021-10-28 02:56:21 -05:00
|
|
|
e2e.flows.openDashboard({ uid: '5SdHCadmz', queryParams: { editPanel: 3 } });
|
2020-05-28 01:06:24 -05:00
|
|
|
|
2023-10-04 14:24:21 -05:00
|
|
|
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');
|
2023-11-21 10:31:56 -06:00
|
|
|
e2e.components.Transforms.Reduce.modeLabel().should('be.visible');
|
2023-09-13 07:24:20 -05:00
|
|
|
});
|
2020-05-28 01:06:24 -05:00
|
|
|
});
|