From 06a0d50d750d9ffa722cf16786af7df8bd97cf38 Mon Sep 17 00:00:00 2001 From: Bree Hall Date: Fri, 28 Jul 2023 13:43:28 -0400 Subject: [PATCH] Update various snapshots to reflect changes made in the latest release of EUI. This includes the conversion of EuiFilterGroupItem to Emotion and the removal of various euiFilterSelect classes. --- .../__tests__/__snapshots__/index.test.tsx.snap | 8 ++++++++ .../groups_filter_popover.test.tsx.snap | 15 ++++++--------- .../filters/groups_filter_popover.test.tsx | 4 ++-- .../nav_control_popover.test.tsx.snap | 2 ++ 4 files changed, 18 insertions(+), 11 deletions(-) diff --git a/packages/kbn-securitysolution-autocomplete/src/field/__tests__/__snapshots__/index.test.tsx.snap b/packages/kbn-securitysolution-autocomplete/src/field/__tests__/__snapshots__/index.test.tsx.snap index daa0fc69771ef..19cbc17bac8fd 100644 --- a/packages/kbn-securitysolution-autocomplete/src/field/__tests__/__snapshots__/index.test.tsx.snap +++ b/packages/kbn-securitysolution-autocomplete/src/field/__tests__/__snapshots__/index.test.tsx.snap @@ -22,6 +22,7 @@ Object { > machine.os.raw @@ -96,6 +97,7 @@ Object { > machine.os.raw @@ -227,6 +229,7 @@ Object { > machine.os.raw @@ -274,6 +277,7 @@ Object { > machine.os.raw @@ -378,6 +382,7 @@ Object { > machine.os.raw @@ -441,6 +446,7 @@ Object { > machine.os.raw @@ -561,6 +567,7 @@ Object { > machine.os.raw @@ -617,6 +624,7 @@ Object { > machine.os.raw diff --git a/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/filters/__snapshots__/groups_filter_popover.test.tsx.snap b/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/filters/__snapshots__/groups_filter_popover.test.tsx.snap index fd5fd490a5f51..20bb203fd98b8 100644 --- a/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/filters/__snapshots__/groups_filter_popover.test.tsx.snap +++ b/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/filters/__snapshots__/groups_filter_popover.test.tsx.snap @@ -24,26 +24,23 @@ exports[`GroupsFilterPopover renders correctly against snapshot 1`] = ` panelPaddingSize="none" repositionOnScroll={true} > - auditbeat (2) - - + process (3) - - + winlogbeat (1) - + `; diff --git a/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/filters/groups_filter_popover.test.tsx b/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/filters/groups_filter_popover.test.tsx index 1e10ab18b5783..c24350475eadd 100644 --- a/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/filters/groups_filter_popover.test.tsx +++ b/x-pack/plugins/security_solution/public/common/components/ml_popover/jobs_table/filters/groups_filter_popover.test.tsx @@ -41,9 +41,9 @@ describe('GroupsFilterPopover', () => { wrapper.find('button[data-test-subj="groups-filter-popover-button"]').first().simulate('click'); wrapper.update(); - wrapper.find('EuiFilterSelectItem').first().simulate('click'); + wrapper.find('EuiFilterSelectItemClass').first().simulate('click'); wrapper.update(); - expect(wrapper.find('EuiFilterSelectItem').first().prop('checked')).toEqual('on'); + expect(wrapper.find('EuiFilterSelectItemClass').first().prop('checked')).toEqual('on'); }); }); diff --git a/x-pack/plugins/spaces/public/nav_control/__snapshots__/nav_control_popover.test.tsx.snap b/x-pack/plugins/spaces/public/nav_control/__snapshots__/nav_control_popover.test.tsx.snap index e89342884cc2d..2c46a577810f1 100644 --- a/x-pack/plugins/spaces/public/nav_control/__snapshots__/nav_control_popover.test.tsx.snap +++ b/x-pack/plugins/spaces/public/nav_control/__snapshots__/nav_control_popover.test.tsx.snap @@ -102,7 +102,9 @@ exports[`NavControlPopover renders without crashing 1`] = ` "warningText": "#83650a", }, "focus": Object { + "backgroundColor": "rgba(0,119,204,0.1)", "color": "currentColor", + "transparency": 0.1, "width": "2px", }, "font": Object {