diff --git a/test/functional/apps/home/_home.ts b/test/functional/apps/home/_home.ts index c75893c86b65..6c0a1a55ddb1 100644 --- a/test/functional/apps/home/_home.ts +++ b/test/functional/apps/home/_home.ts @@ -44,7 +44,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await globalNav.clickLogo(); await PageObjects.header.waitUntilLoadingHasFinished(); const url = await browser.getCurrentUrl(); - expect(url.includes('/app/wz-home')).to.be(true); + expect(url.includes('/app/home')).to.be(true); }); it('clicking on home button should take you to home page', async () => { @@ -52,7 +52,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await globalNav.clickHomeButton(); await PageObjects.header.waitUntilLoadingHasFinished(); const url = await browser.getCurrentUrl(); - expect(url.includes('/app/wz-home')).to.be(true); + expect(url.includes('/app/home')).to.be(true); }); // Wazuh: The home page of Wazuh is different from the OpenSearch Dashboards home page diff --git a/test/functional/apps/visualize/_custom_branding.ts b/test/functional/apps/visualize/_custom_branding.ts index 002af7745e14..3a80fbaf45c5 100644 --- a/test/functional/apps/visualize/_custom_branding.ts +++ b/test/functional/apps/visualize/_custom_branding.ts @@ -143,7 +143,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await globalNav.clickLogo(); await PageObjects.header.waitUntilLoadingHasFinished(); const url = await browser.getCurrentUrl(); - expect(url.includes('/app/wz-home')).to.be(true); + expect(url.includes('/app/home')).to.be(true); }); it('with customized mark logo button that navigates to home page', async () => { @@ -151,7 +151,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await globalNav.clickHomeButton(); await PageObjects.header.waitUntilLoadingHasFinished(); const url = await browser.getCurrentUrl(); - expect(url.includes('/app/wz-home')).to.be(true); + expect(url.includes('/app/home')).to.be(true); }); // Wazuh: This test is omitted because OpenSearch Dashboards does not have a home dashboard card. @@ -211,7 +211,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await globalNav.clickLogo(); await PageObjects.header.waitUntilLoadingHasFinished(); const url = await browser.getCurrentUrl(); - expect(url.includes('/app/wz-home')).to.be(true); + expect(url.includes('/app/home')).to.be(true); }); it('with customized mark logo button that navigates to home page', async () => { @@ -219,7 +219,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await globalNav.clickHomeButton(); await PageObjects.header.waitUntilLoadingHasFinished(); const url = await browser.getCurrentUrl(); - expect(url.includes('/app/wz-home')).to.be(true); + expect(url.includes('/app/home')).to.be(true); }); // Wazuh: This test is omitted because OpenSearch Dashboards does not have a home dashboard card.