From 33469e4f514185c2d399050a7e495b427f3f9d06 Mon Sep 17 00:00:00 2001 From: Yulia Cech Date: Mon, 16 Nov 2020 15:02:39 +0100 Subject: [PATCH] Renamed view to include (managed data streams) --- .../client_integration/home/data_streams_tab.helpers.ts | 6 +++--- .../client_integration/home/data_streams_tab.test.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts b/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts index 093fa9042ea0f..4e0486e55720d 100644 --- a/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts +++ b/x-pack/plugins/index_management/__jest__/client_integration/home/data_streams_tab.helpers.ts @@ -19,7 +19,7 @@ export interface DataStreamsTabTestBed extends TestBed { goToDataStreamsList: () => void; clickEmptyPromptIndexTemplateLink: () => void; clickIncludeStatsSwitch: () => void; - clickViewManagedSwitch: () => void; + clickIncludeManagedSwitch: () => void; clickReloadButton: () => void; clickNameAt: (index: number) => void; clickIndicesAt: (index: number) => void; @@ -81,7 +81,7 @@ export const setup = async (overridingDependencies: any = {}): Promise { + const clickIncludeManagedSwitch = () => { const { find } = testBed; find('includeManagedSwitch').simulate('click'); }; @@ -189,7 +189,7 @@ export const setup = async (overridingDependencies: any = {}): Promise { ]); }); - test('turning off "View managed" switch hides managed data streams', async () => { + test('turning off "Include managed" switch hides managed data streams', async () => { const { exists, actions, component, table } = testBed; let { tableCellsValues } = table.getMetaData('dataStreamTable'); @@ -441,7 +441,7 @@ describe('Data Streams tab', () => { expect(exists('includeManagedSwitch')).toBe(true); await act(async () => { - actions.clickViewManagedSwitch(); + actions.clickIncludeManagedSwitch(); }); component.update();