From b70d7be37d9b7ff17198d2118bd3bb2fa9fdd5ef Mon Sep 17 00:00:00 2001 From: Patryk Kopycinski Date: Fri, 19 Jun 2020 14:03:11 +0200 Subject: [PATCH] update snapshots --- .../__snapshots__/cert_monitors.test.tsx.snap | 73 +- .../__snapshots__/cert_search.test.tsx.snap | 41 +- .../__snapshots__/cert_status.test.tsx.snap | 61 +- .../certificates_list.test.tsx.snap | 55 +- .../fingerprint_col.test.tsx.snap | 61 +- .../uptime_date_picker.test.tsx.snap | 37 +- .../duration_charts.test.tsx.snap | 145 ++-- .../monitor_bar_series.test.tsx.snap | 73 +- .../ping_histogram.test.tsx.snap | 333 ++++---- .../monitor_charts.test.tsx.snap | 41 +- .../ml_integerations.test.tsx.snap | 37 +- .../__snapshots__/ml_job_link.test.tsx.snap | 49 +- .../__snapshots__/ml_manage_job.test.tsx.snap | 45 +- .../ssl_certificate.test.tsx.snap | 43 +- .../__snapshots__/empty_state.test.tsx.snap | 65 +- .../filter_status_button.test.tsx.snap | 49 +- .../__snapshots__/monitor_list.test.tsx.snap | 768 +++++++++++------- .../__snapshots__/status_filter.test.tsx.snap | 37 +- .../monitor_list_drawer.test.tsx.snap | 206 +++-- .../certificate_form.test.tsx.snap | 55 +- .../__snapshots__/indices_form.test.tsx.snap | 55 +- .../__snapshots__/certificates.test.tsx.snap | 37 +- .../__snapshots__/monitor.test.tsx.snap | 37 +- .../__snapshots__/not_found.test.tsx.snap | 37 +- .../__snapshots__/overview.test.tsx.snap | 225 ++--- 25 files changed, 1875 insertions(+), 790 deletions(-) diff --git a/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/cert_monitors.test.tsx.snap b/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/cert_monitors.test.tsx.snap index a79fb0f0d3deb..bec7e111fbb28 100644 --- a/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/cert_monitors.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/cert_monitors.test.tsx.snap @@ -109,26 +109,61 @@ exports[`CertMonitors shallow renders expected elements for valid props 1`] = ` } } > - + > + + `; diff --git a/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/cert_search.test.tsx.snap b/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/cert_search.test.tsx.snap index 8d576fc116dae..97f476a56135a 100644 --- a/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/cert_search.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/cert_search.test.tsx.snap @@ -90,8 +90,43 @@ exports[`CertificatesSearch shallow renders expected elements for valid props 1` } } > - + + + `; diff --git a/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/cert_status.test.tsx.snap b/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/cert_status.test.tsx.snap index f6a4b4598fe63..d64434c48837c 100644 --- a/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/cert_status.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/cert_status.test.tsx.snap @@ -91,24 +91,59 @@ exports[`CertStatus shallow renders expected elements for valid props 1`] = ` } } > - + > + + `; diff --git a/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/certificates_list.test.tsx.snap b/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/certificates_list.test.tsx.snap index fd90db793b26e..dc808ffcdd22b 100644 --- a/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/certificates_list.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/certificates_list.test.tsx.snap @@ -51,20 +51,55 @@ exports[`CertificateList shallow renders expected elements for valid props 1`] = } } > - + + sort={ + Object { + "direction": "asc", + "field": "not_after", + } + } + /> + `; diff --git a/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/fingerprint_col.test.tsx.snap b/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/fingerprint_col.test.tsx.snap index b4e5a34412212..9a39394013294 100644 --- a/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/fingerprint_col.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/certificates/__tests__/__snapshots__/fingerprint_col.test.tsx.snap @@ -150,24 +150,59 @@ exports[`FingerprintCol shallow renders expected elements for valid props 1`] = } } > - + > + + `; diff --git a/x-pack/plugins/uptime/public/components/common/__tests__/__snapshots__/uptime_date_picker.test.tsx.snap b/x-pack/plugins/uptime/public/components/common/__tests__/__snapshots__/uptime_date_picker.test.tsx.snap index b1f6f5dfc4401..4d23cebf7d5ca 100644 --- a/x-pack/plugins/uptime/public/components/common/__tests__/__snapshots__/uptime_date_picker.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/common/__tests__/__snapshots__/uptime_date_picker.test.tsx.snap @@ -145,6 +145,41 @@ exports[`UptimeDatePicker component validates props with shallow render 1`] = ` } } > - + + + `; diff --git a/x-pack/plugins/uptime/public/components/common/charts/__tests__/__snapshots__/duration_charts.test.tsx.snap b/x-pack/plugins/uptime/public/components/common/charts/__tests__/__snapshots__/duration_charts.test.tsx.snap index 96918ab68f716..81cd399078e70 100644 --- a/x-pack/plugins/uptime/public/components/common/charts/__tests__/__snapshots__/duration_charts.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/common/charts/__tests__/__snapshots__/duration_charts.test.tsx.snap @@ -51,62 +51,97 @@ exports[`MonitorCharts component renders the component without errors 1`] = ` } } > - + > + + `; diff --git a/x-pack/plugins/uptime/public/components/common/charts/__tests__/__snapshots__/monitor_bar_series.test.tsx.snap b/x-pack/plugins/uptime/public/components/common/charts/__tests__/__snapshots__/monitor_bar_series.test.tsx.snap index 1db4a87b1c37b..7316cfa368c6e 100644 --- a/x-pack/plugins/uptime/public/components/common/charts/__tests__/__snapshots__/monitor_bar_series.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/common/charts/__tests__/__snapshots__/monitor_bar_series.test.tsx.snap @@ -77,26 +77,61 @@ exports[`MonitorBarSeries component shallow renders a series when there are down } } > - + > + + `; diff --git a/x-pack/plugins/uptime/public/components/common/charts/__tests__/__snapshots__/ping_histogram.test.tsx.snap b/x-pack/plugins/uptime/public/components/common/charts/__tests__/__snapshots__/ping_histogram.test.tsx.snap index 668e4e0c064a8..fe20071ced4cb 100644 --- a/x-pack/plugins/uptime/public/components/common/charts/__tests__/__snapshots__/ping_histogram.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/common/charts/__tests__/__snapshots__/ping_histogram.test.tsx.snap @@ -85,160 +85,195 @@ exports[`PingHistogram component shallow renders the component without errors 1` } } > - + > + + `; diff --git a/x-pack/plugins/uptime/public/components/monitor/__tests__/__snapshots__/monitor_charts.test.tsx.snap b/x-pack/plugins/uptime/public/components/monitor/__tests__/__snapshots__/monitor_charts.test.tsx.snap index dff5def46cbe0..8ca48b7e95ebe 100644 --- a/x-pack/plugins/uptime/public/components/monitor/__tests__/__snapshots__/monitor_charts.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/monitor/__tests__/__snapshots__/monitor_charts.test.tsx.snap @@ -51,8 +51,43 @@ exports[`MonitorCharts component renders the component without errors 1`] = ` } } > - + + + `; diff --git a/x-pack/plugins/uptime/public/components/monitor/ml/__tests__/__snapshots__/ml_integerations.test.tsx.snap b/x-pack/plugins/uptime/public/components/monitor/ml/__tests__/__snapshots__/ml_integerations.test.tsx.snap index 9ad61f50b0521..24c4e818a0592 100644 --- a/x-pack/plugins/uptime/public/components/monitor/ml/__tests__/__snapshots__/ml_integerations.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/monitor/ml/__tests__/__snapshots__/ml_integerations.test.tsx.snap @@ -80,6 +80,41 @@ exports[`ML Integrations shallow renders without errors 1`] = ` } } > - + + + `; diff --git a/x-pack/plugins/uptime/public/components/monitor/ml/__tests__/__snapshots__/ml_job_link.test.tsx.snap b/x-pack/plugins/uptime/public/components/monitor/ml/__tests__/__snapshots__/ml_job_link.test.tsx.snap index 9957f13fc1334..1fe7a4cdd3ee5 100644 --- a/x-pack/plugins/uptime/public/components/monitor/ml/__tests__/__snapshots__/ml_job_link.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/monitor/ml/__tests__/__snapshots__/ml_job_link.test.tsx.snap @@ -68,15 +68,50 @@ exports[`ML JobLink shallow renders without errors 1`] = ` } } > - + > + + `; diff --git a/x-pack/plugins/uptime/public/components/monitor/ml/__tests__/__snapshots__/ml_manage_job.test.tsx.snap b/x-pack/plugins/uptime/public/components/monitor/ml/__tests__/__snapshots__/ml_manage_job.test.tsx.snap index e9623c7aa78a2..5f773d7b1b620 100644 --- a/x-pack/plugins/uptime/public/components/monitor/ml/__tests__/__snapshots__/ml_manage_job.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/monitor/ml/__tests__/__snapshots__/ml_manage_job.test.tsx.snap @@ -80,10 +80,45 @@ exports[`Manage ML Job shallow renders without errors 1`] = ` } } > - + + + `; diff --git a/x-pack/plugins/uptime/public/components/monitor/status_details/__test__/__snapshots__/ssl_certificate.test.tsx.snap b/x-pack/plugins/uptime/public/components/monitor/status_details/__test__/__snapshots__/ssl_certificate.test.tsx.snap index 5b63a09d4f7c4..591b3f222d033 100644 --- a/x-pack/plugins/uptime/public/components/monitor/status_details/__test__/__snapshots__/ssl_certificate.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/monitor/status_details/__test__/__snapshots__/ssl_certificate.test.tsx.snap @@ -139,12 +139,47 @@ exports[`SSL Certificate component shallow renders 1`] = ` } } > - + > + + `; diff --git a/x-pack/plugins/uptime/public/components/overview/empty_state/__tests__/__snapshots__/empty_state.test.tsx.snap b/x-pack/plugins/uptime/public/components/overview/empty_state/__tests__/__snapshots__/empty_state.test.tsx.snap index ccf6ade66408a..55fdf540a5261 100644 --- a/x-pack/plugins/uptime/public/components/overview/empty_state/__tests__/__snapshots__/empty_state.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/overview/empty_state/__tests__/__snapshots__/empty_state.test.tsx.snap @@ -1372,25 +1372,60 @@ exports[`EmptyState component renders child components when count is truthy 1`] } } > - -
- Foo -
-
- Bar -
-
- Baz -
-
+ +
+ Foo +
+
+ Bar +
+
+ Baz +
+
+ `; diff --git a/x-pack/plugins/uptime/public/components/overview/monitor_list/__tests__/__snapshots__/filter_status_button.test.tsx.snap b/x-pack/plugins/uptime/public/components/overview/monitor_list/__tests__/__snapshots__/filter_status_button.test.tsx.snap index b5d1b1d8ff60e..0c7dfd8f92453 100644 --- a/x-pack/plugins/uptime/public/components/overview/monitor_list/__tests__/__snapshots__/filter_status_button.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/overview/monitor_list/__tests__/__snapshots__/filter_status_button.test.tsx.snap @@ -75,12 +75,47 @@ exports[`FilterStatusButton shallow renders without errors for valid props 1`] = } } > - + + + `; diff --git a/x-pack/plugins/uptime/public/components/overview/monitor_list/__tests__/__snapshots__/monitor_list.test.tsx.snap b/x-pack/plugins/uptime/public/components/overview/monitor_list/__tests__/__snapshots__/monitor_list.test.tsx.snap index d593dcc21b590..7fc6405aaa303 100644 --- a/x-pack/plugins/uptime/public/components/overview/monitor_list/__tests__/__snapshots__/monitor_list.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/overview/monitor_list/__tests__/__snapshots__/monitor_list.test.tsx.snap @@ -51,21 +51,56 @@ exports[`MonitorList component MonitorListPagination component renders a no item } } > - + > + + `; @@ -120,83 +155,118 @@ exports[`MonitorList component MonitorListPagination component renders the pagin } } > - + + pageSize={10} + setPageSize={[MockFunction]} + /> + `; @@ -251,21 +321,56 @@ exports[`MonitorList component renders a no items message when no data is provid } } > - + > + + `; @@ -320,84 +425,119 @@ exports[`MonitorList component renders error list 1`] = ` } } > - + + pageSize={10} + setPageSize={[MockFunction]} + /> + `; @@ -452,83 +592,118 @@ exports[`MonitorList component renders loading state 1`] = ` } } > - + + pageSize={10} + setPageSize={[MockFunction]} + /> + `; @@ -1301,82 +1476,117 @@ exports[`MonitorList component shallow renders the monitor list 1`] = ` } } > - + + pageSize={10} + setPageSize={[MockFunction]} + /> + `; diff --git a/x-pack/plugins/uptime/public/components/overview/monitor_list/__tests__/__snapshots__/status_filter.test.tsx.snap b/x-pack/plugins/uptime/public/components/overview/monitor_list/__tests__/__snapshots__/status_filter.test.tsx.snap index e8b9326d360e8..12f8cdf1dcddd 100644 --- a/x-pack/plugins/uptime/public/components/overview/monitor_list/__tests__/__snapshots__/status_filter.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/overview/monitor_list/__tests__/__snapshots__/status_filter.test.tsx.snap @@ -123,6 +123,41 @@ exports[`StatusFilterComponent shallow renders without errors for valid props 1` } } > - + + + `; diff --git a/x-pack/plugins/uptime/public/components/overview/monitor_list/monitor_list_drawer/__tests__/__snapshots__/monitor_list_drawer.test.tsx.snap b/x-pack/plugins/uptime/public/components/overview/monitor_list/monitor_list_drawer/__tests__/__snapshots__/monitor_list_drawer.test.tsx.snap index 4520b760be379..877ba889ec1ff 100644 --- a/x-pack/plugins/uptime/public/components/overview/monitor_list/monitor_list_drawer/__tests__/__snapshots__/monitor_list_drawer.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/overview/monitor_list/monitor_list_drawer/__tests__/__snapshots__/monitor_list_drawer.test.tsx.snap @@ -51,56 +51,91 @@ exports[`MonitorListDrawer component renders a MonitorListDrawer when there are } } > - + + /> + `; @@ -155,41 +190,76 @@ exports[`MonitorListDrawer component renders a MonitorListDrawer when there is o } } > - + + /> + `; diff --git a/x-pack/plugins/uptime/public/components/settings/__tests__/__snapshots__/certificate_form.test.tsx.snap b/x-pack/plugins/uptime/public/components/settings/__tests__/__snapshots__/certificate_form.test.tsx.snap index 36351da6f14c9..55c66183de946 100644 --- a/x-pack/plugins/uptime/public/components/settings/__tests__/__snapshots__/certificate_form.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/settings/__tests__/__snapshots__/certificate_form.test.tsx.snap @@ -51,18 +51,53 @@ exports[`CertificateForm shallow renders expected elements for valid props 1`] = } } > - + > + + `; diff --git a/x-pack/plugins/uptime/public/components/settings/__tests__/__snapshots__/indices_form.test.tsx.snap b/x-pack/plugins/uptime/public/components/settings/__tests__/__snapshots__/indices_form.test.tsx.snap index c5d077007e650..2eb434ffbaf40 100644 --- a/x-pack/plugins/uptime/public/components/settings/__tests__/__snapshots__/indices_form.test.tsx.snap +++ b/x-pack/plugins/uptime/public/components/settings/__tests__/__snapshots__/indices_form.test.tsx.snap @@ -51,18 +51,53 @@ exports[`CertificateForm shallow renders expected elements for valid props 1`] = } } > - + > + + `; diff --git a/x-pack/plugins/uptime/public/pages/__tests__/__snapshots__/certificates.test.tsx.snap b/x-pack/plugins/uptime/public/pages/__tests__/__snapshots__/certificates.test.tsx.snap index 53b2ea27864bc..e1009236ef4b8 100644 --- a/x-pack/plugins/uptime/public/pages/__tests__/__snapshots__/certificates.test.tsx.snap +++ b/x-pack/plugins/uptime/public/pages/__tests__/__snapshots__/certificates.test.tsx.snap @@ -51,6 +51,41 @@ exports[`CertificatesPage shallow renders expected elements for valid props 1`] } } > - + + + `; diff --git a/x-pack/plugins/uptime/public/pages/__tests__/__snapshots__/monitor.test.tsx.snap b/x-pack/plugins/uptime/public/pages/__tests__/__snapshots__/monitor.test.tsx.snap index 6064caa868bf8..cd92334cf72f5 100644 --- a/x-pack/plugins/uptime/public/pages/__tests__/__snapshots__/monitor.test.tsx.snap +++ b/x-pack/plugins/uptime/public/pages/__tests__/__snapshots__/monitor.test.tsx.snap @@ -51,6 +51,41 @@ exports[`MonitorPage shallow renders expected elements for valid props 1`] = ` } } > - + + + `; diff --git a/x-pack/plugins/uptime/public/pages/__tests__/__snapshots__/not_found.test.tsx.snap b/x-pack/plugins/uptime/public/pages/__tests__/__snapshots__/not_found.test.tsx.snap index a4d13963aaf77..df67e320d7aac 100644 --- a/x-pack/plugins/uptime/public/pages/__tests__/__snapshots__/not_found.test.tsx.snap +++ b/x-pack/plugins/uptime/public/pages/__tests__/__snapshots__/not_found.test.tsx.snap @@ -51,6 +51,41 @@ exports[`NotFoundPage render component for valid props 1`] = ` } } > - + + + `; diff --git a/x-pack/plugins/uptime/public/pages/__tests__/__snapshots__/overview.test.tsx.snap b/x-pack/plugins/uptime/public/pages/__tests__/__snapshots__/overview.test.tsx.snap index 0d732a943f167..ab473140afe5d 100644 --- a/x-pack/plugins/uptime/public/pages/__tests__/__snapshots__/overview.test.tsx.snap +++ b/x-pack/plugins/uptime/public/pages/__tests__/__snapshots__/overview.test.tsx.snap @@ -51,106 +51,141 @@ exports[`MonitorPage shallow renders expected elements for valid props 1`] = ` } } > - + > + + `;