Commit fdef516a authored by Phil Hughes's avatar Phil Hughes

Merge branch...

Merge branch '37725-pipeline-junit-view-performance-on-running-on-big-data-set-use-new-endpoint' into 'master'

Use new endpoint test counter badge

See merge request gitlab-org/gitlab!24884
parents 5d2f132a a66ceca3
......@@ -132,7 +132,7 @@ export default () => {
});
axios
.get(dataset.testReportEndpoint)
.get(dataset.testReportsCountEndpoint)
.then(({ data }) => {
document.querySelector('.js-test-report-badge-counter').innerHTML = data.total_count;
})
......
......@@ -21,4 +21,5 @@
= render "projects/pipelines/with_tabs", pipeline: @pipeline
.js-pipeline-details-vue{ data: { endpoint: project_pipeline_path(@project, @pipeline, format: :json),
test_report_endpoint: test_report_project_pipeline_path(@project, @pipeline, format: :json) } }
test_report_endpoint: test_report_project_pipeline_path(@project, @pipeline, format: :json),
test_reports_count_endpoint: test_reports_count_project_pipeline_path(@project, @pipeline, format: :json) } }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment