From 4499699a915f390a7d7bd22d06ec7bb16962bc65 Mon Sep 17 00:00:00 2001 From: Derek Ho Date: Wed, 26 Jul 2023 15:49:08 -0400 Subject: [PATCH] Fix snapshots from upstream OSD/OUI changes (#755) * fix name change bug and modify test to test behavior Signed-off-by: Derek Ho * udpate snapshots from upstream Signed-off-by: Derek Ho --------- Signed-off-by: Derek Ho --- .../__tests__/__snapshots__/service_config.test.tsx.snap | 2 -- .../__tests__/__snapshots__/trace_config.test.tsx.snap | 2 -- .../save_panel/__tests__/__snapshots__/save_panel.test.tsx.snap | 1 - .../__tests__/__snapshots__/metrics_export_panel.test.tsx.snap | 1 - .../__tests__/__snapshots__/filter_edit_popover.test.tsx.snap | 2 -- 5 files changed, 8 deletions(-) diff --git a/public/components/application_analytics/__tests__/__snapshots__/service_config.test.tsx.snap b/public/components/application_analytics/__tests__/__snapshots__/service_config.test.tsx.snap index f6bc62f39..b21e186e4 100644 --- a/public/components/application_analytics/__tests__/__snapshots__/service_config.test.tsx.snap +++ b/public/components/application_analytics/__tests__/__snapshots__/service_config.test.tsx.snap @@ -386,7 +386,6 @@ exports[`Service Config component renders empty service config 1`] = ` aria-label="Select services and entities" className="euiComboBox" data-test-subj="servicesEntitiesComboBox" - onFocus={[Function]} onKeyDown={[Function]} role="combobox" > @@ -1519,7 +1518,6 @@ exports[`Service Config component renders with one service selected 1`] = ` aria-label="Select services and entities" className="euiComboBox" data-test-subj="servicesEntitiesComboBox" - onFocus={[Function]} onKeyDown={[Function]} role="combobox" > diff --git a/public/components/application_analytics/__tests__/__snapshots__/trace_config.test.tsx.snap b/public/components/application_analytics/__tests__/__snapshots__/trace_config.test.tsx.snap index b0856bbf7..577ca0469 100644 --- a/public/components/application_analytics/__tests__/__snapshots__/trace_config.test.tsx.snap +++ b/public/components/application_analytics/__tests__/__snapshots__/trace_config.test.tsx.snap @@ -386,7 +386,6 @@ exports[`Trace Config component renders empty trace config 1`] = ` aria-label="Select trace groups" className="euiComboBox" data-test-subj="traceGroupsComboBox" - onFocus={[Function]} onKeyDown={[Function]} role="combobox" > @@ -1243,7 +1242,6 @@ exports[`Trace Config component renders with one trace selected 1`] = ` aria-label="Select trace groups" className="euiComboBox" data-test-subj="traceGroupsComboBox" - onFocus={[Function]} onKeyDown={[Function]} role="combobox" > diff --git a/public/components/event_analytics/explorer/save_panel/__tests__/__snapshots__/save_panel.test.tsx.snap b/public/components/event_analytics/explorer/save_panel/__tests__/__snapshots__/save_panel.test.tsx.snap index 8729ce92b..a3a23c111 100644 --- a/public/components/event_analytics/explorer/save_panel/__tests__/__snapshots__/save_panel.test.tsx.snap +++ b/public/components/event_analytics/explorer/save_panel/__tests__/__snapshots__/save_panel.test.tsx.snap @@ -125,7 +125,6 @@ exports[`Saved query table component Renders saved query table 1`] = ` aria-haspopup="listbox" className="euiComboBox" data-test-subj="eventExplorer__querySaveComboBox" - onFocus={[Function]} onKeyDown={[Function]} role="combobox" > diff --git a/public/components/metrics/top_menu/__tests__/__snapshots__/metrics_export_panel.test.tsx.snap b/public/components/metrics/top_menu/__tests__/__snapshots__/metrics_export_panel.test.tsx.snap index 2801c6f67..ab196dced 100644 --- a/public/components/metrics/top_menu/__tests__/__snapshots__/metrics_export_panel.test.tsx.snap +++ b/public/components/metrics/top_menu/__tests__/__snapshots__/metrics_export_panel.test.tsx.snap @@ -105,7 +105,6 @@ exports[`Export Metrics Panel Component renders Export Metrics Panel Component 1 aria-haspopup="listbox" className="euiComboBox" data-test-subj="eventExplorer__querySaveComboBox" - onFocus={[Function]} onKeyDown={[Function]} role="combobox" > diff --git a/public/components/trace_analytics/components/common/filters/__tests__/__snapshots__/filter_edit_popover.test.tsx.snap b/public/components/trace_analytics/components/common/filters/__tests__/__snapshots__/filter_edit_popover.test.tsx.snap index 62c088073..7fde9a70a 100644 --- a/public/components/trace_analytics/components/common/filters/__tests__/__snapshots__/filter_edit_popover.test.tsx.snap +++ b/public/components/trace_analytics/components/common/filters/__tests__/__snapshots__/filter_edit_popover.test.tsx.snap @@ -129,7 +129,6 @@ exports[`Filter popover component renders filter popover 1`] = ` aria-expanded={false} aria-haspopup="listbox" className="euiComboBox" - onFocus={[Function]} onKeyDown={[Function]} role="combobox" > @@ -389,7 +388,6 @@ exports[`Filter popover component renders filter popover 1`] = ` aria-expanded={false} aria-haspopup="listbox" className="euiComboBox euiComboBox-isDisabled" - onFocus={[Function]} onKeyDown={[Function]} role="combobox" >