Skip to content

Commit

Permalink
CRC console doesn't contain .apps. substring (#799)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexey Kazakov <[email protected]>
  • Loading branch information
MatousJobanek and alexeykazakov authored Sep 23, 2023
1 parent f0702be commit 70b6646
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/parallel/registration_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
}
Expand Down

0 comments on commit 70b6646

Please sign in to comment.