From 9c64fed6807a8cc2c25fb6583d5cf9ee0fce0d1a Mon Sep 17 00:00:00 2001 From: Alison Goryachev Date: Wed, 2 Nov 2022 18:20:46 -0400 Subject: [PATCH] implement search E2E guide --- .../public/constants/guides_config/search.ts | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/plugins/guided_onboarding/public/constants/guides_config/search.ts b/src/plugins/guided_onboarding/public/constants/guides_config/search.ts index f074d0924fdea..0066205b36158 100644 --- a/src/plugins/guided_onboarding/public/constants/guides_config/search.ts +++ b/src/plugins/guided_onboarding/public/constants/guides_config/search.ts @@ -57,8 +57,23 @@ export const searchConfig: GuideConfig = { }), ], location: { - appID: 'enterpriseSearch', - path: '/search_experiences', + appID: 'searchExperiences', + path: '', + }, + manualCompletion: { + title: i18n.translate( + 'guidedOnboarding.searchGuide.searchExperienceStep.manualCompletionPopoverTitle', + { + defaultMessage: 'Explore Search UI', + } + ), + description: i18n.translate( + 'guidedOnboarding.searchGuide.searchExperienceStep.manualCompletionPopoverDescription', + { + defaultMessage: `Take your time to explore how to use Search UI to build world-class search experiences. When you’re ready, click the Setup guide button to continue.`, + } + ), + readyToCompleteOnNavigation: true, }, }, ],