diff --git a/x-pack/plugins/cloud_integrations/cloud_links/kibana.jsonc b/x-pack/plugins/cloud_integrations/cloud_links/kibana.jsonc index 58fc030e6c8df..b9b9a0f629b64 100644 --- a/x-pack/plugins/cloud_integrations/cloud_links/kibana.jsonc +++ b/x-pack/plugins/cloud_integrations/cloud_links/kibana.jsonc @@ -10,7 +10,7 @@ "optionalPlugins": [ "cloud", "security", - "guided_onboarding" + "guidedOnboarding" ] } } diff --git a/x-pack/test/functional_cloud/tests/cloud_links.ts b/x-pack/test/functional_cloud/tests/cloud_links.ts index 4eabec139cbe1..0d5ab43837b23 100644 --- a/x-pack/test/functional_cloud/tests/cloud_links.ts +++ b/x-pack/test/functional_cloud/tests/cloud_links.ts @@ -30,10 +30,22 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.header.waitUntilLoadingHasFinished(); }); - it('The button "Setup guides" is loaded', async () => { - expect(await find.byCssSelector('[data-test-subj="guideButtonRedirect"]')).to.not.be(null); - const cloudLink = await find.byLinkText('Setup guides'); - expect(cloudLink).to.not.be(null); + describe('Guided onboarding', () => { + it('The button "Setup guides" is loaded', async () => { + expect(await find.byCssSelector('[data-test-subj="guideButtonRedirect"]')).to.not.be(null); + const cloudLink = await find.byLinkText('Setup guides'); + expect(cloudLink).to.not.be(null); + }); + + it('The help link "Setup guides" is added', async () => { + await PageObjects.common.clickAndValidate( + 'helpMenuButton', + 'cloudOnboardingSetupGuideLink' + ); + expect( + await find.byCssSelector('[data-test-subj="cloudOnboardingSetupGuideLink"]') + ).to.not.be(null); + }); }); it('"Manage this deployment" is appended to the nav list', async () => {