diff --git a/x-pack/plugins/search_indices/public/components/start/create_index_code.tsx b/x-pack/plugins/search_indices/public/components/start/create_index_code.tsx index b58bf6c0926f1..526f41fb9f870 100644 --- a/x-pack/plugins/search_indices/public/components/start/create_index_code.tsx +++ b/x-pack/plugins/search_indices/public/components/start/create_index_code.tsx @@ -43,21 +43,23 @@ export const CreateIndexCodeView = ({ createIndexForm }: CreateIndexCodeViewProp return ( - + setSelectedLanguage(value)} /> - - - + {selectedLanguage === 'curl' && ( + + + + )} {selectedCodeExample.installCommand && ( { - expect(await browser.getCurrentUrl()).contain( - '/app/management/data/index_management/indices/index_details' - ); + expect(await browser.getCurrentUrl()).contain('/app/elasticsearch/indices/index_details'); }); }, async expectToBeOnIndexListPage() {