From 4c6b47ac40663d67be2bc6e65762c253c9011c0b Mon Sep 17 00:00:00 2001 From: MikelAlejoBR Date: Fri, 17 Apr 2026 15:55:43 -0400 Subject: [PATCH] chore: tests for "disable integrations" changes The "disable integrations" feature allows disabling integrations by changing the "ToolchainConfig" resource. The goal of this test is to verify that the CRD key is there, and that it is empty, since the E2E tests should not have any integrations disabled. SANDBOX-1769 --- test/e2e/parallel/registration_service_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/e2e/parallel/registration_service_test.go b/test/e2e/parallel/registration_service_test.go index 6190108e5..3539301bc 100644 --- a/test/e2e/parallel/registration_service_test.go +++ b/test/e2e/parallel/registration_service_test.go @@ -1015,6 +1015,11 @@ func TestUIConfig(t *testing.T) { workatoWebHookURL, ok := response["workatoWebHookURL"].(string) require.True(t, ok) assert.Equal(t, "https://webhooks.testwebhook", workatoWebHookURL) + + // verify that disabledIntegrations is present and is an array + disabledIntegrations, ok := response["disabledIntegrations"] + require.True(t, ok, "disabledIntegrations field should be present in uiconfig response") + require.IsType(t, []interface{}{}, disabledIntegrations, "disabledIntegrations should be an array") }) }