From f20a04d9fedeab333f19501b83b6c4a77428aa69 Mon Sep 17 00:00:00 2001 From: Paul Sebastian Date: Mon, 28 Aug 2023 10:02:53 -0700 Subject: [PATCH] snapshots Signed-off-by: Paul Sebastian --- .../__snapshots__/utils.test.tsx.snap | 14 +- .../timechart_header.test.tsx.snap | 6 +- .../__snapshots__/config_panel.test.tsx.snap | 6 +- .../count_distribution.test.tsx.snap | 126 +----------------- .../service_breakdown_panel.test.tsx.snap | 3 + .../__tests__/__snapshots__/bar.test.tsx.snap | 6 +- .../__snapshots__/gauge.test.tsx.snap | 2 +- .../__snapshots__/heatmap.test.tsx.snap | 6 +- .../__snapshots__/histogram.test.tsx.snap | 9 +- .../horizontal_bar.test.tsx.snap | 6 +- .../__snapshots__/line.test.tsx.snap | 6 +- .../__snapshots__/metrics.test.tsx.snap | 4 +- .../__tests__/__snapshots__/pie.test.tsx.snap | 9 +- .../__snapshots__/treemap.test.tsx.snap | 9 +- .../__snapshots__/plotly.test.tsx.snap | 4 +- 15 files changed, 54 insertions(+), 162 deletions(-) diff --git a/public/components/custom_panels/helpers/__tests__/__snapshots__/utils.test.tsx.snap b/public/components/custom_panels/helpers/__tests__/__snapshots__/utils.test.tsx.snap index 6a90951816..adf75a180e 100644 --- a/public/components/custom_panels/helpers/__tests__/__snapshots__/utils.test.tsx.snap +++ b/public/components/custom_panels/helpers/__tests__/__snapshots__/utils.test.tsx.snap @@ -1423,7 +1423,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = ` "barmode": "group", "colorway": Array [ "#3CA1C7", - "#8C55A3", + "#54B399", "#DB748A", "#F2BE4B", "#68CCC2", @@ -1516,7 +1516,7 @@ exports[`Utils helper functions renders displayVisualization function 1`] = ` "barmode": "group", "colorway": Array [ "#3CA1C7", - "#8C55A3", + "#54B399", "#DB748A", "#F2BE4B", "#68CCC2", @@ -2057,7 +2057,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = ` "layout": Object { "colorway": Array [ "#3CA1C7", - "#8C55A3", + "#54B399", "#DB748A", "#F2BE4B", "#68CCC2", @@ -2573,7 +2573,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = ` "layout": Object { "colorway": Array [ "#3CA1C7", - "#8C55A3", + "#54B399", "#DB748A", "#F2BE4B", "#68CCC2", @@ -3103,7 +3103,7 @@ exports[`Utils helper functions renders displayVisualization function 2`] = ` "layout": Object { "colorway": Array [ "#3CA1C7", - "#8C55A3", + "#54B399", "#DB748A", "#F2BE4B", "#68CCC2", @@ -4768,7 +4768,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = ` "barmode": "group", "colorway": Array [ "#3CA1C7", - "#8C55A3", + "#54B399", "#DB748A", "#F2BE4B", "#68CCC2", @@ -4861,7 +4861,7 @@ exports[`Utils helper functions renders displayVisualization function 3`] = ` "barmode": "group", "colorway": Array [ "#3CA1C7", - "#8C55A3", + "#54B399", "#DB748A", "#F2BE4B", "#68CCC2", diff --git a/public/components/event_analytics/explorer/timechart_header/__tests__/__snapshots__/timechart_header.test.tsx.snap b/public/components/event_analytics/explorer/timechart_header/__tests__/__snapshots__/timechart_header.test.tsx.snap index 7255e68b34..6b0a82b736 100644 --- a/public/components/event_analytics/explorer/timechart_header/__tests__/__snapshots__/timechart_header.test.tsx.snap +++ b/public/components/event_analytics/explorer/timechart_header/__tests__/__snapshots__/timechart_header.test.tsx.snap @@ -157,7 +157,11 @@ exports[`Time chart header component Renders Time chart header component 1`] = ` data-test-subj="discoverIntervalDateRange" onBlur={[Function]} onFocus={[Function]} - /> + > + Aug 28, 2023 @ 16:47:34.403 + - + Aug 28, 2023 @ 16:47:34.406 + diff --git a/public/components/event_analytics/explorer/visualizations/config_panel/__tests__/__snapshots__/config_panel.test.tsx.snap b/public/components/event_analytics/explorer/visualizations/config_panel/__tests__/__snapshots__/config_panel.test.tsx.snap index 5be9321c75..6162e2a462 100644 --- a/public/components/event_analytics/explorer/visualizations/config_panel/__tests__/__snapshots__/config_panel.test.tsx.snap +++ b/public/components/event_analytics/explorer/visualizations/config_panel/__tests__/__snapshots__/config_panel.test.tsx.snap @@ -1602,7 +1602,7 @@ exports[`Config panel component Renders config panel with visualization data 1`] "layout": Object { "colorway": Array [ "#3CA1C7", - "#8C55A3", + "#54B399", "#DB748A", "#F2BE4B", "#68CCC2", @@ -1835,7 +1835,7 @@ exports[`Config panel component Renders config panel with visualization data 1`] "layout": Object { "colorway": Array [ "#3CA1C7", - "#8C55A3", + "#54B399", "#DB748A", "#F2BE4B", "#68CCC2", @@ -2333,7 +2333,7 @@ exports[`Config panel component Renders config panel with visualization data 1`] "layout": Object { "colorway": Array [ "#3CA1C7", - "#8C55A3", + "#54B399", "#DB748A", "#F2BE4B", "#68CCC2", diff --git a/public/components/event_analytics/explorer/visualizations/count_distribution/__tests__/__snapshots__/count_distribution.test.tsx.snap b/public/components/event_analytics/explorer/visualizations/count_distribution/__tests__/__snapshots__/count_distribution.test.tsx.snap index 03e9b3fb44..b9931d0f30 100644 --- a/public/components/event_analytics/explorer/visualizations/count_distribution/__tests__/__snapshots__/count_distribution.test.tsx.snap +++ b/public/components/event_analytics/explorer/visualizations/count_distribution/__tests__/__snapshots__/count_distribution.test.tsx.snap @@ -44,131 +44,7 @@ exports[`Count distribution component Renders count distribution component with }, } } -> - - -
- - - +/> `; exports[`Count distribution component Renders empty count distribution component 1`] = ``; diff --git a/public/components/trace_analytics/components/traces/__tests__/__snapshots__/service_breakdown_panel.test.tsx.snap b/public/components/trace_analytics/components/traces/__tests__/__snapshots__/service_breakdown_panel.test.tsx.snap index 4b25a19b50..db4ecbdadf 100644 --- a/public/components/trace_analytics/components/traces/__tests__/__snapshots__/service_breakdown_panel.test.tsx.snap +++ b/public/components/trace_analytics/components/traces/__tests__/__snapshots__/service_breakdown_panel.test.tsx.snap @@ -220,6 +220,9 @@ exports[`Service breakdown panel component renders service breakdown panel 1`] = "yaxis": Object { "rangemode": "normal", "showgrid": true, + "title": Object { + "text": "Count", + }, "zeroline": false, }, } diff --git a/public/components/visualizations/charts/__tests__/__snapshots__/bar.test.tsx.snap b/public/components/visualizations/charts/__tests__/__snapshots__/bar.test.tsx.snap index fbaa0739f1..1529919ed1 100644 --- a/public/components/visualizations/charts/__tests__/__snapshots__/bar.test.tsx.snap +++ b/public/components/visualizations/charts/__tests__/__snapshots__/bar.test.tsx.snap @@ -6,7 +6,7 @@ exports[`Veritcal Bar component Renders veritcal bar component 1`] = ` layout={ Object { "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "margin": Object { @@ -698,7 +698,7 @@ exports[`Veritcal Bar component Renders veritcal bar component 1`] = ` "bargroupgap": 0.030000000000000027, "barmode": "group", "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "hovermode": "closest", @@ -756,7 +756,7 @@ exports[`Veritcal Bar component Renders veritcal bar component 1`] = ` "bargroupgap": 0.030000000000000027, "barmode": "group", "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "hovermode": "closest", diff --git a/public/components/visualizations/charts/__tests__/__snapshots__/gauge.test.tsx.snap b/public/components/visualizations/charts/__tests__/__snapshots__/gauge.test.tsx.snap index 4acd7cae05..bb2075dc0f 100644 --- a/public/components/visualizations/charts/__tests__/__snapshots__/gauge.test.tsx.snap +++ b/public/components/visualizations/charts/__tests__/__snapshots__/gauge.test.tsx.snap @@ -6,7 +6,7 @@ exports[`Gauge component Renders gauge component 1`] = ` layout={ Object { "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "margin": Object { diff --git a/public/components/visualizations/charts/__tests__/__snapshots__/heatmap.test.tsx.snap b/public/components/visualizations/charts/__tests__/__snapshots__/heatmap.test.tsx.snap index fe48e32283..013b2106b6 100644 --- a/public/components/visualizations/charts/__tests__/__snapshots__/heatmap.test.tsx.snap +++ b/public/components/visualizations/charts/__tests__/__snapshots__/heatmap.test.tsx.snap @@ -6,7 +6,7 @@ exports[`Heatmap component Renders heatmap component 1`] = ` layout={ Object { "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "margin": Object { @@ -710,7 +710,7 @@ exports[`Heatmap component Renders heatmap component 1`] = ` layout={ Object { "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "margin": Object { @@ -763,7 +763,7 @@ exports[`Heatmap component Renders heatmap component 1`] = ` "autosize": true, "barmode": "stack", "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "hovermode": "closest", diff --git a/public/components/visualizations/charts/__tests__/__snapshots__/histogram.test.tsx.snap b/public/components/visualizations/charts/__tests__/__snapshots__/histogram.test.tsx.snap index ef6d077e95..f56257ba03 100644 --- a/public/components/visualizations/charts/__tests__/__snapshots__/histogram.test.tsx.snap +++ b/public/components/visualizations/charts/__tests__/__snapshots__/histogram.test.tsx.snap @@ -6,7 +6,7 @@ exports[`Histogram component Renders histogram component 1`] = ` layout={ Object { "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "margin": Object { @@ -711,7 +711,7 @@ exports[`Histogram component Renders histogram component 1`] = ` Object { "barmode": "group", "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "legend": Object { @@ -767,7 +767,7 @@ exports[`Histogram component Renders histogram component 1`] = ` "autosize": true, "barmode": "group", "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "hovermode": "closest", @@ -792,6 +792,9 @@ exports[`Histogram component Renders histogram component 1`] = ` "yaxis": Object { "rangemode": "normal", "showgrid": true, + "title": Object { + "text": "Count", + }, "zeroline": false, }, } diff --git a/public/components/visualizations/charts/__tests__/__snapshots__/horizontal_bar.test.tsx.snap b/public/components/visualizations/charts/__tests__/__snapshots__/horizontal_bar.test.tsx.snap index 65d40ade36..fd5d086b17 100644 --- a/public/components/visualizations/charts/__tests__/__snapshots__/horizontal_bar.test.tsx.snap +++ b/public/components/visualizations/charts/__tests__/__snapshots__/horizontal_bar.test.tsx.snap @@ -6,7 +6,7 @@ exports[`Horizontal bar component Renders horizontal bar component 1`] = ` layout={ Object { "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "margin": Object { @@ -698,7 +698,7 @@ exports[`Horizontal bar component Renders horizontal bar component 1`] = ` "bargroupgap": 0.030000000000000027, "barmode": "group", "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "hovermode": "closest", @@ -756,7 +756,7 @@ exports[`Horizontal bar component Renders horizontal bar component 1`] = ` "bargroupgap": 0.030000000000000027, "barmode": "group", "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "hovermode": "closest", diff --git a/public/components/visualizations/charts/__tests__/__snapshots__/line.test.tsx.snap b/public/components/visualizations/charts/__tests__/__snapshots__/line.test.tsx.snap index ecab56aa68..87f23bc1d4 100644 --- a/public/components/visualizations/charts/__tests__/__snapshots__/line.test.tsx.snap +++ b/public/components/visualizations/charts/__tests__/__snapshots__/line.test.tsx.snap @@ -6,7 +6,7 @@ exports[`Line component Renders line component 1`] = ` layout={ Object { "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "margin": Object { @@ -697,7 +697,7 @@ exports[`Line component Renders line component 1`] = ` Object { "autosize": true, "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "legend": Object { @@ -749,7 +749,7 @@ exports[`Line component Renders line component 1`] = ` "autosize": true, "barmode": "stack", "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "hovermode": "closest", diff --git a/public/components/visualizations/charts/__tests__/__snapshots__/metrics.test.tsx.snap b/public/components/visualizations/charts/__tests__/__snapshots__/metrics.test.tsx.snap index ee792c6250..0d2c4eea3b 100644 --- a/public/components/visualizations/charts/__tests__/__snapshots__/metrics.test.tsx.snap +++ b/public/components/visualizations/charts/__tests__/__snapshots__/metrics.test.tsx.snap @@ -6,7 +6,7 @@ exports[`Metrics component Renders Metrics component 1`] = ` layout={ Object { "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "margin": Object { @@ -618,7 +618,7 @@ exports[`Metrics component Renders Metrics component 1`] = ` "layout": Object { "colorway": Array [ "#3CA1C7", - "#8C55A3", + "#54B399", "#DB748A", "#F2BE4B", "#68CCC2", diff --git a/public/components/visualizations/charts/__tests__/__snapshots__/pie.test.tsx.snap b/public/components/visualizations/charts/__tests__/__snapshots__/pie.test.tsx.snap index 22f72a1b00..67b8a13606 100644 --- a/public/components/visualizations/charts/__tests__/__snapshots__/pie.test.tsx.snap +++ b/public/components/visualizations/charts/__tests__/__snapshots__/pie.test.tsx.snap @@ -6,7 +6,7 @@ exports[`Pie component Renders pie component 1`] = ` layout={ Object { "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "margin": Object { @@ -686,7 +686,7 @@ exports[`Pie component Renders pie component 1`] = ` layout={ Object { "colorway": Array [ - "#8C55A3", + "#54B399", ], "grid": Object { "columns": 0, @@ -733,7 +733,7 @@ exports[`Pie component Renders pie component 1`] = ` "autosize": true, "barmode": "stack", "colorway": Array [ - "#8C55A3", + "#54B399", ], "grid": Object { "columns": 0, @@ -773,6 +773,9 @@ exports[`Pie component Renders pie component 1`] = ` "yaxis": Object { "rangemode": "normal", "showgrid": true, + "title": Object { + "text": "Count", + }, "zeroline": false, }, } diff --git a/public/components/visualizations/charts/__tests__/__snapshots__/treemap.test.tsx.snap b/public/components/visualizations/charts/__tests__/__snapshots__/treemap.test.tsx.snap index ad01ede70b..483149850d 100644 --- a/public/components/visualizations/charts/__tests__/__snapshots__/treemap.test.tsx.snap +++ b/public/components/visualizations/charts/__tests__/__snapshots__/treemap.test.tsx.snap @@ -6,7 +6,7 @@ exports[`Treemap component Renders treemap component 1`] = ` layout={ Object { "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "margin": Object { @@ -723,7 +723,7 @@ exports[`Treemap component Renders treemap component 1`] = ` layout={ Object { "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "margin": Object { @@ -790,7 +790,7 @@ exports[`Treemap component Renders treemap component 1`] = ` "autosize": true, "barmode": "stack", "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "hovermode": "closest", @@ -817,6 +817,9 @@ exports[`Treemap component Renders treemap component 1`] = ` "yaxis": Object { "rangemode": "normal", "showgrid": true, + "title": Object { + "text": "Count", + }, "zeroline": false, }, } diff --git a/public/components/visualizations/plotly/__tests__/__snapshots__/plotly.test.tsx.snap b/public/components/visualizations/plotly/__tests__/__snapshots__/plotly.test.tsx.snap index af24195dd4..5ed2e0512b 100644 --- a/public/components/visualizations/plotly/__tests__/__snapshots__/plotly.test.tsx.snap +++ b/public/components/visualizations/plotly/__tests__/__snapshots__/plotly.test.tsx.snap @@ -36,7 +36,7 @@ exports[`Ploty base component Renders Ploty base component 1`] = ` layout={ Object { "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "margin": Object { @@ -101,7 +101,7 @@ exports[`Ploty base component Renders Ploty base component 1`] = ` "autosize": true, "barmode": "stack", "colorway": Array [ - "#8C55A3", + "#54B399", ], "height": 220, "hovermode": "closest",