Start creating your visualization by selecting a type for that visualization.
-
-
- Try Lens, our new, intuitive way to create visualizations.
-
-
-
@@ -614,34 +586,6 @@ exports[`NewVisModal filter for visualization types should render as expected 1`
Start creating your visualization by selecting a type for that visualization.
-
-
- Try Lens, our new, intuitive way to create visualizations.
-
-
-
@@ -849,34 +793,6 @@ exports[`NewVisModal filter for visualization types should render as expected 1`
Start creating your visualization by selecting a type for that visualization.
-
-
- Try Lens, our new, intuitive way to create visualizations.
-
-
-
@@ -1314,7 +1230,9 @@ exports[`NewVisModal filter for visualization types should render as expected 1`
className="euiSpacer euiSpacer--m"
/>
-
+
-
-
-
- Try Lens, our new, intuitive way to create visualizations.
-
-
-
-
-
-
@@ -1738,34 +1600,6 @@ exports[`NewVisModal should render as expected 1`] = `
Start creating your visualization by selecting a type for that visualization.
-
-
- Try Lens, our new, intuitive way to create visualizations.
-
-
-
@@ -2027,34 +1861,6 @@ exports[`NewVisModal should render as expected 1`] = `
Start creating your visualization by selecting a type for that visualization.
-
-
- Try Lens, our new, intuitive way to create visualizations.
-
-
-
@@ -2259,34 +2065,6 @@ exports[`NewVisModal should render as expected 1`] = `
Start creating your visualization by selecting a type for that visualization.
-
-
- Try Lens, our new, intuitive way to create visualizations.
-
-
-
@@ -2712,7 +2490,9 @@ exports[`NewVisModal should render as expected 1`] = `
className="euiSpacer euiSpacer--m"
/>
-
+
-
-
-
- Try Lens, our new, intuitive way to create visualizations.
-
-
-
-
-
-
diff --git a/src/legacy/core_plugins/kibana/public/visualize/wizard/type_selection/new_vis_help.test.tsx b/src/legacy/core_plugins/kibana/public/visualize/wizard/type_selection/new_vis_help.test.tsx
new file mode 100644
index 0000000000000..f83b7fd2a2f00
--- /dev/null
+++ b/src/legacy/core_plugins/kibana/public/visualize/wizard/type_selection/new_vis_help.test.tsx
@@ -0,0 +1,76 @@
+/*
+ * Licensed to Elasticsearch B.V. under one or more contributor
+ * license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright
+ * ownership. Elasticsearch B.V. licenses this file to you under
+ * the Apache License, Version 2.0 (the "License"); you may
+ * not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import React from 'react';
+import { shallowWithIntl } from 'test_utils/enzyme_helpers';
+import { NewVisHelp } from './new_vis_help';
+import chrome from 'ui/chrome';
+
+jest.doMock('ui/chrome');
+
+describe('NewVisHelp', () => {
+ it('should render as expected', () => {
+ (chrome.addBasePath as unknown) = (url: string) => `testbasepath${url}`;
+
+ expect(
+ shallowWithIntl(
+
+ )
+ ).toMatchInlineSnapshot(`
+
+
+
+
+
+
+ Look at this fancy new thing!!!
+
+
+
+ Do it now!
+
+
+ `);
+ });
+});
diff --git a/src/legacy/core_plugins/kibana/public/visualize/wizard/type_selection/new_vis_help.tsx b/src/legacy/core_plugins/kibana/public/visualize/wizard/type_selection/new_vis_help.tsx
index 426cf0ea73ccb..6603bdf38e88a 100644
--- a/src/legacy/core_plugins/kibana/public/visualize/wizard/type_selection/new_vis_help.tsx
+++ b/src/legacy/core_plugins/kibana/public/visualize/wizard/type_selection/new_vis_help.tsx
@@ -19,27 +19,39 @@
import { FormattedMessage } from '@kbn/i18n/react';
import React from 'react';
-
import { EuiText, EuiButton } from '@elastic/eui';
+import chrome from 'ui/chrome';
+import { VisTypeAliasListEntry } from './type_selection';
+
+interface Props {
+ promotedTypes: VisTypeAliasListEntry[];
+}
-export const NewVisHelp = () => (
-
-