Re-implement Visualize Wizard using Gallery component for selecting visualization type (#10972)

* Add Gallery and GalleryButton components to UI Framework.
* Re-implement Visualize Wizard using Gallery component for selecting visualization type.
This commit is contained in:
CJ Cenizal 2017-04-05 12:39:35 -07:00 committed by GitHub
parent 7ac2d72591
commit 14ed2e55e6
41 changed files with 828 additions and 111 deletions

View file

@ -16,9 +16,21 @@ bdd.describe('visualize app', function describeIndexTests() {
bdd.describe('chart types', function indexPatternCreation() {
bdd.it('should show the correct chart types', function () {
const expectedChartTypes = [
'Area chart', 'Data table', 'Heatmap chart', 'Horizontal bar chart', 'Line chart', 'Markdown widget',
'Metric', 'Pie chart', 'Tag cloud', 'Tile map', 'Time Series Visual Builder', 'Timelion', 'Vertical bar chart'
'Area',
'Heat Map',
'Horizontal Bar',
'Line',
'Pie',
'Vertical Bar',
'Data Table',
'Metric',
'Tile Map',
'Timelion',
'Visual Builder',
'Markdown',
'Tag Cloud',
];
// find all the chart types and make sure there all there
return PageObjects.visualize.getChartTypes()
.then(function testChartTypes(chartTypes) {