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"]) }