diff --git a/x-pack/plugins/security_solution/public/management/components/administration_list_page.tsx b/x-pack/plugins/security_solution/public/management/components/administration_list_page.tsx index 22192a8a349df..93bd5f16634b2 100644 --- a/x-pack/plugins/security_solution/public/management/components/administration_list_page.tsx +++ b/x-pack/plugins/security_solution/public/management/components/administration_list_page.tsx @@ -16,6 +16,7 @@ import { } from '@elastic/eui'; import { SecurityPageName } from '../../../common/constants'; import { SpyRoute } from '../../common/utils/route/spy_routes'; +import { useTestIdGenerator } from './hooks/use_test_id_generator'; interface AdministrationListPageProps { title: React.ReactNode; @@ -45,21 +46,23 @@ export const AdministrationListPage: FC{subtitle}; }, [subtitle]); + const getTestId = useTestIdGenerator(otherProps['data-test-subj']); + return ( - <> +
{children} - +
); } );