diff --git a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern/__tests__/create_index_pattern.js b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern/__tests__/create_index_pattern.js index 05d8ae759071e..d5fe732f1604e 100644 --- a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern/__tests__/create_index_pattern.js +++ b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern/__tests__/create_index_pattern.js @@ -108,13 +108,6 @@ describe('createIndexPattern UI', () => { } }); }); - - it('displays the option (off) to expand wildcards', () => { - const { $view } = setup(); - const $enableExpand = $view.findTestSubject('createIndexPatternEnableExpand'); - expect($enableExpand).to.have.length(1); - expect($enableExpand.is(':checked')).to.be(false); - }); }); describe('cross cluster pattern', () => { @@ -127,13 +120,5 @@ describe('createIndexPattern UI', () => { expect(classes).to.contain('ng-valid'); expect(classes).to.not.contain('ng-invalid'); }); - - it('removes the option to expand wildcards', () => { - const { $view, setNameTo } = setup(); - setNameTo('cluster2:logstash-*'); - - const $enableExpand = $view.findTestSubject('createIndexPatternEnableExpand'); - expect($enableExpand).to.have.length(0); - }); }); }); diff --git a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern/create_index_pattern.html b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern/create_index_pattern.html index 27160a9a0471d..ad497a5f4dee8 100644 --- a/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern/create_index_pattern.html +++ b/src/core_plugins/kibana/public/management/sections/indices/create_index_pattern/create_index_pattern.html @@ -131,43 +131,6 @@ - -
- - - -
-

- -

- - - - - -

- -

-
-
-