diff --git a/src/plugins/opensearch_dashboards_overview/public/plugin.ts b/src/plugins/opensearch_dashboards_overview/public/plugin.ts index d8ac61c6d7e2..e38282ff06d6 100644 --- a/src/plugins/opensearch_dashboards_overview/public/plugin.ts +++ b/src/plugins/opensearch_dashboards_overview/public/plugin.ts @@ -77,13 +77,13 @@ export class OpenSearchDashboardsOverviewPlugin return hasOpenSearchDashboardsApp; }), distinct(), - map(() => { + map((hasOpenSearchDashboardsApp) => { return () => { - // Wazuh: Hide the OpenSearch Dashboards Overview app - return { - status: AppStatus.inaccessible, - navLinkStatus: AppNavLinkStatus.hidden, - }; + if (!hasOpenSearchDashboardsApp) { + return { status: AppStatus.inaccessible, navLinkStatus: AppNavLinkStatus.hidden }; + } else { + return { status: AppStatus.accessible, navLinkStatus: AppNavLinkStatus.default }; + } }; }) ); diff --git a/test/functional/apps/visualize/_custom_branding.ts b/test/functional/apps/visualize/_custom_branding.ts index 9b161da01718..e9ba9d8846b3 100644 --- a/test/functional/apps/visualize/_custom_branding.ts +++ b/test/functional/apps/visualize/_custom_branding.ts @@ -28,10 +28,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const expectedWelcomeMessage = 'Welcome to OpenSearch'; describe('OpenSearch Dashboards branding configuration', function customHomeBranding() { - /** - * This test is skipped because the overview page is not available. - */ - describe.skip('should render overview page', async () => { + describe('should render overview page', async () => { this.tags('includeFirefox'); before(async function () {