mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
* Start splitting out code * Use flag * A bit of rocket surgery * Prettify * Cleanup behavior * Work through behaviors * Move empty message from other PR * Import fixes and prettier * Clean things up * Add selector for tests * Cleanups * Working with transformation redesign * Some more tweaks to make sure of correct behavior * Update betterer/eslint exceptions * Localization * Remove unecessary fragments * Spacing and prettier * Update tests for new UI * Update e2e tests * One more e2e test fix * Update selectors * Fix one test and break another
18 lines
774 B
TypeScript
18 lines
774 B
TypeScript
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();
|
|
e2e.components.Transforms.addTransformationButton().scrollIntoView().should('be.visible').click();
|
|
e2e.components.TransformTab.newTransform('Reduce').scrollIntoView().should('be.visible').click();
|
|
e2e.components.Transforms.Reduce.calculationsLabel().scrollIntoView().should('be.visible');
|
|
e2e.components.Transforms.Reduce.modeLabel().should('be.visible');
|
|
});
|
|
});
|