diff --git a/x-pack/plugins/security_solution/public/hosts/pages/navigation/events_query_tab_body.tsx b/x-pack/plugins/security_solution/public/hosts/pages/navigation/events_query_tab_body.tsx index b96ffcbefc652..a4889183cdf3d 100644 --- a/x-pack/plugins/security_solution/public/hosts/pages/navigation/events_query_tab_body.tsx +++ b/x-pack/plugins/security_solution/public/hosts/pages/navigation/events_query_tab_body.tsx @@ -70,7 +70,7 @@ const EventsQueryTabBodyComponent: React.FC = ({ }) => { const dispatch = useDispatch(); const { globalFullScreen } = useGlobalFullScreen(); - const ACTION_BUTTON_COUNT = 3; + const ACTION_BUTTON_COUNT = 4; const tGridEnabled = useIsExperimentalFeatureEnabled('tGridEnabled'); useEffect(() => { diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.tsx index 69bc406bb2076..f13a50ae1fe7e 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/actions/index.tsx @@ -165,7 +165,7 @@ const ActionsComponent: React.FC = ({ <> - {timelineId !== TimelineId.active && eventType === 'signal' && ( + {timelineId !== TimelineId.active && ( ({ + useShallowEqualSelector: jest.fn(), + useDeepEqualSelector: jest.fn(), +})); jest.mock('../../../../../common/lib/kibana', () => ({ useKibana: () => ({ services: { timelines: { ...mockTimelines }, + data: { + search: jest.fn(), + query: jest.fn(), + }, application: { capabilities: { siem: { crud_alerts: true, read_alerts: true }, @@ -146,7 +153,6 @@ describe('EventColumnView', () => { const wrapper = mount( , { diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/index.test.tsx b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/index.test.tsx index a7bff6be2f643..f895e8bd8314d 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/index.test.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/index.test.tsx @@ -41,6 +41,10 @@ jest.mock('../../../../common/lib/kibana', () => { siem: { crud_alerts: true, read_alerts: true }, }, }, + data: { + search: jest.fn(), + query: jest.fn(), + }, uiSettings: { get: jest.fn(), },