From 70b664627c53f26608a8b2c839de052b93add47e Mon Sep 17 00:00:00 2001 From: Matous Jobanek Date: Sat, 23 Sep 2023 17:06:11 +0200 Subject: [PATCH] CRC console doesn't contain .apps. substring (#799) Co-authored-by: Alexey Kazakov --- 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 9b400cc3c..6d592bbe7 100644 --- a/test/e2e/parallel/registration_service_test.go +++ b/test/e2e/parallel/registration_service_test.go @@ -806,8 +806,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"]) }