Skip to content

insights: Add integration tests for dashboards

Warren Gifford requested to merge insights/dashboard-tests into main

Created by: CristinaBirkel

Closes https://github.com/sourcegraph/sourcegraph/issues/33611

Description

This adds CRUD tests for our dashboard endpoints. The main tricky thing I ran into is that the LAM dashboard gets automatically created here, and I solved that by hiding it (updating it to have no grants,) whenever it shows up in the results.

Test plan

I created a branch for this with the backend-integration prefix to make sure it passes: https://buildkite.com/sourcegraph/sourcegraph/builds/143298#812fd9db-6ebf-44f1-afc7-e30ebf1155be/193-385

Merge request reports

Loading