From 02dc0a52d7f557812bfb450d98a392c819af6136 Mon Sep 17 00:00:00 2001 From: Matous Jobanek Date: Fri, 22 Sep 2023 16:13:48 +0200 Subject: [PATCH] CRC console doesn't contain .apps. substring --- test/e2e/parallel/registration_service_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/parallel/registration_service_test.go b/test/e2e/parallel/registration_service_test.go index e10f8b546..b3e677309 100644 --- a/test/e2e/parallel/registration_service_test.go +++ b/test/e2e/parallel/registration_service_test.go @@ -805,8 +805,8 @@ func assertGetSignupReturnsNotFound(t *testing.T, await wait.Awaitilities, beare } func assertRHODSClusterURL(t *testing.T, memberAwait *wait.MemberAwaitility, response map[string]interface{}) { - require.Containsf(t, memberAwait.GetConsoleURL(t), ".apps.", "expected to find .apps. in the console URL %s", memberAwait.GetConsoleURL(t)) - index := strings.Index(memberAwait.GetConsoleURL(t), ".apps.") + require.Containsf(t, memberAwait.GetConsoleURL(t), ".apps", "expected to find .apps in the console URL %s", memberAwait.GetConsoleURL(t)) + index := strings.Index(memberAwait.GetConsoleURL(t), ".apps") appsURL := memberAwait.GetConsoleURL(t)[index:] assert.Equal(t, fmt.Sprintf("https://%s%s", "rhods-dashboard-redhat-ods-applications", appsURL), response["rhodsMemberURL"]) }