Transformations: Rename "Transform" tab to "Transform data" (#75757)

* Rename transform tab to transform data
This commit is contained in:
Kyle Cunningham 2023-10-04 14:24:21 -05:00 committed by GitHub
parent d9160553f9
commit d673862853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 9 deletions

View File

@ -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}');

View File

@ -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');

View File

@ -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');
}); });

View File

@ -34,7 +34,7 @@ describe('getPanelEditorTabs selector', () => {
"active": true, "active": true,
"icon": "process", "icon": "process",
"id": "transform", "id": "transform",
"text": "Transform", "text": "Transform data",
}, },
] ]
`); `);

View File

@ -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,
}); });