From e205ff41145280a6ae46ee500ba0975f3927c258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Sibiril?= <81782+aureliensibiril@users.noreply.github.com> Date: Tue, 26 May 2026 19:03:12 +0200 Subject: [PATCH] Fix connector provider infos e2e test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Skipping unconnectable providers hides OAuth-only providers when the deployment has no OAuth credentials configured, which is the case in e2e. The test asserted SLACK (OAuth-only) is present, so it now fails. Assert on API-key providers instead, which are connectable regardless of OAuth configuration. Signed-off-by: Aurélien Sibiril <81782+aureliensibiril@users.noreply.github.com> --- e2e/console/connector_test.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/e2e/console/connector_test.go b/e2e/console/connector_test.go index 003513943..b9efbc32a 100644 --- a/e2e/console/connector_test.go +++ b/e2e/console/connector_test.go @@ -83,7 +83,11 @@ func TestConnectorProviderInfos(t *testing.T) { providerNames[info.Provider] = true } - assert.True(t, providerNames["SLACK"], "expected SLACK provider to be present") + // OAuth-only providers (e.g. SLACK) are hidden when the deployment + // has no OAuth credentials configured, as is the case in e2e. + // Assert on providers that support API keys, which are connectable + // regardless of OAuth configuration. + assert.True(t, providerNames["BREX"], "expected BREX provider to be present") assert.True(t, providerNames["HUBSPOT"], "expected HUBSPOT provider to be present") })