diff --git a/src/plugins/kibana_react/public/page_template/page_template.tsx b/src/plugins/kibana_react/public/page_template/page_template.tsx index 0bbf97ca6ddb57..b48ca204d86375 100644 --- a/src/plugins/kibana_react/public/page_template/page_template.tsx +++ b/src/plugins/kibana_react/public/page_template/page_template.tsx @@ -89,7 +89,10 @@ export const KibanaPageTemplate: FunctionComponent = ({ template={template} restrictWidth={restrictWidth} paddingSize={template === 'centeredBody' ? 'none' : 'l'} - pageHeader={pageHeader} + pageHeader={{ + 'data-test-subj': 'kibana-page-template-header', + ...pageHeader, + }} pageSideBar={pageSideBar} pageSideBarProps={{ ...rest.pageSideBarProps, diff --git a/src/plugins/management/public/components/landing/landing.tsx b/src/plugins/management/public/components/landing/landing.tsx index fa9863c3c6a576..e8fc47f7d25118 100644 --- a/src/plugins/management/public/components/landing/landing.tsx +++ b/src/plugins/management/public/components/landing/landing.tsx @@ -8,7 +8,7 @@ import React, { ComponentType } from 'react'; import { FormattedMessage } from '@kbn/i18n/react'; -import { EuiHorizontalRule, EuiText } from '@elastic/eui'; +import { EuiHorizontalRule } from '@elastic/eui'; import { KibanaPageTemplateProps } from '../../../../../../src/plugins/kibana_react/public'; interface ManagementLandingPageProps { diff --git a/x-pack/plugins/index_management/public/application/sections/home/home.tsx b/x-pack/plugins/index_management/public/application/sections/home/home.tsx index 13d9857161675a..1605fab4849697 100644 --- a/x-pack/plugins/index_management/public/application/sections/home/home.tsx +++ b/x-pack/plugins/index_management/public/application/sections/home/home.tsx @@ -8,7 +8,7 @@ import React, { useEffect } from 'react'; import { Route, Switch } from 'react-router-dom'; import { FormattedMessage } from '@kbn/i18n/react'; -import { EuiButtonEmpty, EuiPageHeader, EuiSpacer, EuiHorizontalRule } from '@elastic/eui'; +import { EuiButtonEmpty } from '@elastic/eui'; import { documentationService } from '../../services/documentation'; import { DataStreamList } from './data_stream_list'; import { IndexList } from './index_list';