diff --git a/src/plugins/kibana_overview/public/components/overview/overview.tsx b/src/plugins/kibana_overview/public/components/overview/overview.tsx index b387715710ce4..70de3348c914e 100644 --- a/src/plugins/kibana_overview/public/components/overview/overview.tsx +++ b/src/plugins/kibana_overview/public/components/overview/overview.tsx @@ -98,6 +98,7 @@ export const Overview: FC = ({ newsFetchResult, solutions, features }) => defaultMessage: 'Use Elastic Agent or Beats to collect data and build out Analytics solutions.', }), + 'data-test-subj': "kbnOverviewAddIntegrations" }, }, docsLink: docLinks.links.kibana.guide, diff --git a/x-pack/test/functional/apps/discover/feature_controls/discover_spaces.ts b/x-pack/test/functional/apps/discover/feature_controls/discover_spaces.ts index c245b45917497..9fd935c5d4d74 100644 --- a/x-pack/test/functional/apps/discover/feature_controls/discover_spaces.ts +++ b/x-pack/test/functional/apps/discover/feature_controls/discover_spaces.ts @@ -172,13 +172,13 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { await spacesService.delete('custom_space_no_index_patterns'); }); - it('Navigates to Kibana home rather than index pattern management when no index patterns exist', async () => { + it('Navigates to Kibana Analytics overview when no data views exist', async () => { await PageObjects.common.navigateToUrl('discover', '', { basePath: '/s/custom_space_no_index_patterns', ensureCurrentUrl: false, shouldUseHashForSubUrl: false, }); - await testSubjects.existOrFail('homeApp', { timeout: config.get('timeouts.waitFor') }); + await testSubjects.existOrFail('kbnOverviewAddIntegrations', { timeout: config.get('timeouts.waitFor') }); }); }); });