diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2018-03-06 16:54:19 -0600 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2018-03-07 16:14:56 -0600 |
commit | 8780abfd55c9b2917c3716fc4b67437c52369b60 (patch) | |
tree | 98f269e6abca82f93029a162f4a0c2a59231c578 /spec | |
parent | 5e8138aa54492dd3ace42d889ba01f82e8e19c83 (diff) | |
download | gitlab-ce-8780abfd55c9b2917c3716fc4b67437c52369b60.tar.gz |
backport of custom metrics for the common metrics section of CEjivl-backport-custom-metrics-frontend
Diffstat (limited to 'spec')
-rw-r--r-- | spec/javascripts/prometheus_metrics/prometheus_metrics_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/prometheus_metrics/prometheus_metrics_spec.js b/spec/javascripts/prometheus_metrics/prometheus_metrics_spec.js index f6c0f51cf62..955ec6a531c 100644 --- a/spec/javascripts/prometheus_metrics/prometheus_metrics_spec.js +++ b/spec/javascripts/prometheus_metrics/prometheus_metrics_spec.js @@ -85,7 +85,7 @@ describe('PrometheusMetrics', () => { expect(prometheusMetrics.$monitoredMetricsLoading.hasClass('hidden')).toBeTruthy(); expect(prometheusMetrics.$monitoredMetricsList.hasClass('hidden')).toBeFalsy(); - expect(prometheusMetrics.$monitoredMetricsCount.text()).toEqual('12'); + expect(prometheusMetrics.$monitoredMetricsCount.text()).toEqual('3 exporters with 12 metrics were found'); expect($metricsListLi.length).toEqual(metrics.length); expect($metricsListLi.first().find('.badge').text()).toEqual(`${metrics[0].active_metrics}`); }); |