Skip to content

Library panels: Move to integration tests #108737

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 28, 2025

Conversation

stephaniehingtgen
Copy link
Contributor

@stephaniehingtgen stephaniehingtgen commented Jul 26, 2025

What is this PR?
This PR moves some a library panel test to a full integration test.

This particular test ensures when users get a list of connections to a given library panel, they can only see dashboards they have access to.

Why is this PR needed?
We are removing the kubernetesClientDashboardsFolders feature flag, which means to interact with the folder or dashboard service you either need to mock it or have a grafana api server running. This test is trying to test permissions, which doesnt make sense to mock, so I moved it to using a grafana server running

Extracted from #108626

@stephaniehingtgen stephaniehingtgen added no-backport Skip backport of PR no-changelog Skip including change in changelog/release notes labels Jul 26, 2025
@stephaniehingtgen stephaniehingtgen marked this pull request as ready for review July 26, 2025 06:34
@stephaniehingtgen stephaniehingtgen requested review from a team as code owners July 26, 2025 06:34
@stephaniehingtgen stephaniehingtgen requested review from axelavargas, juanicabanas, ferruvich and filewalkwithme and removed request for a team and ferruvich July 26, 2025 06:34
@stephaniehingtgen stephaniehingtgen self-assigned this Jul 28, 2025
@stephaniehingtgen stephaniehingtgen merged commit 5ef744a into main Jul 28, 2025
141 of 143 checks passed
@stephaniehingtgen stephaniehingtgen deleted the library-elements-move-to-integration-tests branch July 28, 2025 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/backend no-backport Skip backport of PR no-changelog Skip including change in changelog/release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants