mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Transformations: Rename "Transform" tab to "Transform data" (#75757)
* Rename transform tab to transform data
This commit is contained in:
parent
d9160553f9
commit
d673862853
@ -9,7 +9,7 @@ describe('Geomap spatial operations', () => {
|
|||||||
|
|
||||||
it('Tests location auto option', () => {
|
it('Tests location auto option', () => {
|
||||||
e2e.flows.openDashboard({ uid: DASHBOARD_ID, queryParams: { editPanel: 1 } });
|
e2e.flows.openDashboard({ uid: DASHBOARD_ID, queryParams: { editPanel: 1 } });
|
||||||
e2e.components.Tab.title('Transform').should('be.visible').click();
|
e2e.components.Tab.title('Transform data').should('be.visible').click();
|
||||||
|
|
||||||
e2e.components.TransformTab.newTransform('Spatial operations').scrollIntoView().should('be.visible').click();
|
e2e.components.TransformTab.newTransform('Spatial operations').scrollIntoView().should('be.visible').click();
|
||||||
e2e.components.Transforms.SpatialOperations.actionLabel().type('Prepare spatial field{enter}');
|
e2e.components.Transforms.SpatialOperations.actionLabel().type('Prepare spatial field{enter}');
|
||||||
@ -26,7 +26,7 @@ describe('Geomap spatial operations', () => {
|
|||||||
|
|
||||||
it('Tests location coords option', () => {
|
it('Tests location coords option', () => {
|
||||||
e2e.flows.openDashboard({ uid: DASHBOARD_ID, queryParams: { editPanel: 1 } });
|
e2e.flows.openDashboard({ uid: DASHBOARD_ID, queryParams: { editPanel: 1 } });
|
||||||
e2e.components.Tab.title('Transform').should('be.visible').click();
|
e2e.components.Tab.title('Transform data').should('be.visible').click();
|
||||||
|
|
||||||
e2e.components.TransformTab.newTransform('Spatial operations').scrollIntoView().should('be.visible').click();
|
e2e.components.TransformTab.newTransform('Spatial operations').scrollIntoView().should('be.visible').click();
|
||||||
e2e.components.Transforms.SpatialOperations.actionLabel().type('Prepare spatial field{enter}');
|
e2e.components.Transforms.SpatialOperations.actionLabel().type('Prepare spatial field{enter}');
|
||||||
@ -49,7 +49,7 @@ describe('Geomap spatial operations', () => {
|
|||||||
|
|
||||||
it('Tests geoshash field column appears in table view', () => {
|
it('Tests geoshash field column appears in table view', () => {
|
||||||
e2e.flows.openDashboard({ uid: DASHBOARD_ID, queryParams: { editPanel: 1 } });
|
e2e.flows.openDashboard({ uid: DASHBOARD_ID, queryParams: { editPanel: 1 } });
|
||||||
e2e.components.Tab.title('Transform').should('be.visible').click();
|
e2e.components.Tab.title('Transform data').should('be.visible').click();
|
||||||
|
|
||||||
e2e.components.TransformTab.newTransform('Spatial operations').scrollIntoView().should('be.visible').click();
|
e2e.components.TransformTab.newTransform('Spatial operations').scrollIntoView().should('be.visible').click();
|
||||||
e2e.components.Transforms.SpatialOperations.actionLabel().type('Prepare spatial field{enter}');
|
e2e.components.Transforms.SpatialOperations.actionLabel().type('Prepare spatial field{enter}');
|
||||||
@ -71,7 +71,7 @@ describe('Geomap spatial operations', () => {
|
|||||||
|
|
||||||
it('Tests location lookup option', () => {
|
it('Tests location lookup option', () => {
|
||||||
e2e.flows.openDashboard({ uid: DASHBOARD_ID, queryParams: { editPanel: 1 } });
|
e2e.flows.openDashboard({ uid: DASHBOARD_ID, queryParams: { editPanel: 1 } });
|
||||||
e2e.components.Tab.title('Transform').should('be.visible').click();
|
e2e.components.Tab.title('Transform data').should('be.visible').click();
|
||||||
|
|
||||||
e2e.components.TransformTab.newTransform('Spatial operations').scrollIntoView().should('be.visible').click();
|
e2e.components.TransformTab.newTransform('Spatial operations').scrollIntoView().should('be.visible').click();
|
||||||
e2e.components.Transforms.SpatialOperations.actionLabel().type('Prepare spatial field{enter}');
|
e2e.components.Transforms.SpatialOperations.actionLabel().type('Prepare spatial field{enter}');
|
||||||
|
@ -35,9 +35,9 @@ describe('Panel edit tests', () => {
|
|||||||
|
|
||||||
// Bottom pane tabs
|
// Bottom pane tabs
|
||||||
// Can change to Transform tab
|
// Can change to Transform tab
|
||||||
e2e.components.Tab.title('Transform').should('be.visible').click();
|
e2e.components.Tab.title('Transform data').should('be.visible').click();
|
||||||
e2e.components.Tab.active().within((li: JQuery<HTMLLIElement>) => {
|
e2e.components.Tab.active().within((li: JQuery<HTMLLIElement>) => {
|
||||||
expect(li.text()).equals('Transform0'); // there's no transform so therefore Transform + 0
|
expect(li.text()).equals('Transform data0'); // there's no transform so therefore Transform + 0
|
||||||
});
|
});
|
||||||
e2e.components.Transforms.card('Merge').scrollIntoView().should('be.visible');
|
e2e.components.Transforms.card('Merge').scrollIntoView().should('be.visible');
|
||||||
e2e.components.QueryTab.content().should('not.exist');
|
e2e.components.QueryTab.content().should('not.exist');
|
||||||
|
@ -8,7 +8,7 @@ describe('Panel edit tests - transformations', () => {
|
|||||||
it('Tests transformations editor', () => {
|
it('Tests transformations editor', () => {
|
||||||
e2e.flows.openDashboard({ uid: '5SdHCadmz', queryParams: { editPanel: 3 } });
|
e2e.flows.openDashboard({ uid: '5SdHCadmz', queryParams: { editPanel: 3 } });
|
||||||
|
|
||||||
e2e.components.Tab.title('Transform').should('be.visible').click();
|
e2e.components.Tab.title('Transform data').should('be.visible').click();
|
||||||
e2e.components.TransformTab.newTransform('Reduce').scrollIntoView().should('be.visible').click();
|
e2e.components.TransformTab.newTransform('Reduce').scrollIntoView().should('be.visible').click();
|
||||||
e2e.components.Transforms.Reduce.calculationsLabel().should('be.visible');
|
e2e.components.Transforms.Reduce.calculationsLabel().should('be.visible');
|
||||||
});
|
});
|
||||||
|
@ -34,7 +34,7 @@ describe('getPanelEditorTabs selector', () => {
|
|||||||
"active": true,
|
"active": true,
|
||||||
"icon": "process",
|
"icon": "process",
|
||||||
"id": "transform",
|
"id": "transform",
|
||||||
"text": "Transform",
|
"text": "Transform data",
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
`);
|
`);
|
||||||
|
@ -33,7 +33,7 @@ export const getPanelEditorTabs = memoizeOne((tab?: string, plugin?: PanelPlugin
|
|||||||
|
|
||||||
tabs.push({
|
tabs.push({
|
||||||
id: PanelEditorTabId.Transform,
|
id: PanelEditorTabId.Transform,
|
||||||
text: 'Transform',
|
text: 'Transform data',
|
||||||
icon: 'process',
|
icon: 'process',
|
||||||
active: false,
|
active: false,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user