File tree Expand file tree Collapse file tree
x-pack/plugins/security_solution/public/common/components/navigation/breadcrumbs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ import { APP_UI_ID } from '../../../../../common/constants';
2020import { useDeepEqualSelector } from '../../../hooks/use_selector' ;
2121import { useIsGroupedNavigationEnabled } from '../helpers' ;
2222import { navTabs } from '../../../../app/home/home_navigations' ;
23+ import { getAppLinks } from '../../../links/app_links' ;
24+ import { allowedExperimentalValues } from '../../../../../common/experimental_features' ;
25+ import { StartPlugins } from '../../../../types' ;
26+ import { coreMock } from '@kbn/core/public/mocks' ;
27+ import { updateAppLinks } from '../../../links' ;
2328
2429jest . mock ( '../../../hooks/use_selector' ) ;
2530
@@ -128,6 +133,23 @@ jest.mock('../../../lib/kibana/kibana_react', () => {
128133} ) ;
129134
130135describe ( 'Navigation Breadcrumbs' , ( ) => {
136+ beforeAll ( async ( ) => {
137+ const appLinks = await getAppLinks ( coreMock . createStart ( ) , { } as StartPlugins ) ;
138+ updateAppLinks ( appLinks , {
139+ experimentalFeatures : allowedExperimentalValues ,
140+ capabilities : {
141+ navLinks : { } ,
142+ management : { } ,
143+ catalogue : { } ,
144+ actions : { show : true , crud : true } ,
145+ siem : {
146+ show : true ,
147+ crud : true ,
148+ } ,
149+ } ,
150+ } ) ;
151+ } ) ;
152+
131153 const hostName = 'siem-kibana' ;
132154
133155 const ipv4 = '192.0.2.255' ;
You can’t perform that action at this time.
0 commit comments