Skip to content

Conversation

@simonswine
Copy link
Collaborator

@simonswine simonswine commented Mar 22, 2025

This task started with fix the broken basic auth, reported in #114, caused by #112

What I figured out is that our test are actually not waiting for the profile and therefore pretty useless (since #94), I fixed this as well and added authentication tests too.

Fixes #114

Basic auth was broken by grafana#112
Unfortunately the tests were broken, when we migrated to vitest, as the
(done), callback is no longer supported in there.

I have refactored those a fair bit and it should be all working again.
@simonswine simonswine changed the title 20250322 fix basic auth fix: Basic auth was broken and test were not running Mar 22, 2025
@simonswine simonswine marked this pull request as ready for review March 22, 2025 13:38
@simonswine simonswine requested review from a team as code owners March 22, 2025 13:38
@simonswine simonswine changed the title fix: Basic auth was broken and test were not running fix: Basic auth (was broken in v0.4.4) and test were not running Mar 22, 2025
Copy link
Contributor

@korniltsev korniltsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks for fixing the tests!

@simonswine simonswine merged commit 116d473 into grafana:main Mar 24, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Authorisation issues with Grafana Cloud on v0.4.4

2 participants