Skip to content

Remove autocomplete from Merge User UI #3228

Remove autocomplete from Merge User UI

Remove autocomplete from Merge User UI #3228

GitHub Actions / Unit test results failed Jan 16, 2024 in 1s

Unit test results ❌

Tests failed

❌ dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/TestResults/_fv-az736-393_2024-01-16_09_51_30.trx

1467 tests were completed in 24s with 1466 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
TeacherIdentity.AuthServer.Tests.AuthenticationStateTests 15✅ 130ms
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.DateOfBirth.ConfirmTests 5✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.DateOfBirth.DateOfBirthTests 9✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.Email.ConfirmTests 10✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.Email.EmailTests 12✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.Email.ResendTests 11✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.IndexTests 14✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.Name.ConfirmTests 8✅ 142ms
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.Name.NameTests 10✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.OfficialDateOfBirth.ConfirmTests 8✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.OfficialDateOfBirth.DetailsTests 10✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.OfficialDateOfBirth.EvidenceTests 11✅ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.OfficialDateOfBirth.OfficialDateOfBirthTests 4✅ 3s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.OfficialName.ConfirmTests 10✅ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.OfficialName.DetailsTests 13✅ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.OfficialName.EvidenceTests 15✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.OfficialName.OfficialNameTests 3✅ 3s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.OfficialName.PreferredNameTests 8✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.Phone.ConfirmTests 10✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.Phone.PhoneTests 9✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.Phone.ResendTests 8✅ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.PreferredName.ConfirmTests 4✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.Account.PreferredName.PreferredNameTests 7✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.AddClientTests 7✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.AddStaffUserTests 7✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.AddUserImportTests 10✅ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.AddWebHookTests 6✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.AssignTrn.ConfirmTests 21✅ 358ms
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.AssignTrn.IndexTests 18✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.AssignTrn.RemoveTests 11✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.ClientsTests 3✅ 3s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.EditClientTests 8✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.EditStaffUserTests 9✅ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.EditUserEmailTests 14✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.EditUserMobileNumberTests 13✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.EditUserNameTests 21✅ 9s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.EditWebHookTests 14✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.ElevateUserTrnVerificationTests 6✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.GenerateTrnTokenTests 8✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.MergeUser.ChooseTrnTests 11✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.MergeUser.ConfirmTests 11✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.MergeUser.SelectUserTests 9✅ 1❌ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.StaffTests 3✅ 3s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.UserImportsTests 3✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.UserImportTests 5✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.UsersTests 42✅ 2s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.UserTests 12✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.WebHooksTests 3✅ 3s
TeacherIdentity.AuthServer.Tests.EndpointTests.Api.SetJourneyTrnLookupStateTests 14✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Api.V1.TrnTokens.CreateTrnTokenTests 6✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.Api.V1.Users.GetAllUsersTests 13✅ 225ms
TeacherIdentity.AuthServer.Tests.EndpointTests.Api.V1.Users.GetUserDetailTests 8✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.Api.V1.Users.SetTeacherTrnTests 14✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.Api.V1.Users.UpdateUserTests 11✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.Oidc.AuthorizeTests 25✅ 296ms
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.CompleteTests 19✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Elevate.CheckAnswersTests 11✅ 149ms
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.EmailConfirmationTests 27✅ 435ms
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.EmailTests 20✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.LandingTests 5✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.AccountExistsTests 15✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.CheckAnswersTests 19✅ 365ms
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.DateOfBirthPageTests 19✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.EmailConfirmationTests 20✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.EmailExistsTests 7✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.EmailTests 16✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.ExistingAccountEmailConfirmationTests 20✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.ExistingAccountPhoneConfirmationTests 22✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.ExistingAccountPhoneTests 14✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.HasNiNumberPageTests 20✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.HasQtsPageTests 22✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.HasTrnPageTests 20✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.InstitutionEmailTests 17✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.IttProviderTests 18✅ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.NameTests 18✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.NiNumberPageTests 19✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.PhoneConfirmationTests 21✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.PhoneExistsTests 7✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.PhoneTests 17✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.PreferredNamePageTests 15✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.ResendEmailConfirmationTests 19✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.ResendExistingAccountEmailTests 13✅ 4s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.ResendExistingAccountPhoneTests 15✅ 5s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.ResendPhoneConfirmationTests 17✅ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.Register.TrnPageTests 20✅ 7s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.ResendEmailConfirmationTests 25✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.ResendTrnOwnerEmailConfirmationTests 10✅ 6s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.TrnInUseChooseEmailTests 27✅ 8s
TeacherIdentity.AuthServer.Tests.EndpointTests.SignIn.TrnInUseTests 24✅ 8s
TeacherIdentity.AuthServer.Tests.HelperTests.NationalInsuranceNumberHelperTests 8✅ 6ms
TeacherIdentity.AuthServer.Tests.Jobs.PopulatePreferredNameJobTests 3✅ 46ms
TeacherIdentity.AuthServer.Tests.Jobs.RefreshEstablishmentDomainsJobTests 3✅ 3s
TeacherIdentity.AuthServer.Tests.Jobs.SyncNamesWithDqtJobTests 2✅ 41ms
TeacherIdentity.AuthServer.Tests.JourneyTests.TrnLookupHelperTests 21✅ 138ms
TeacherIdentity.AuthServer.Tests.ModelTests.ApplicationTests 10✅ 2ms
TeacherIdentity.AuthServer.Tests.ModelTests.EmailAddressTests 94✅ 22ms
TeacherIdentity.AuthServer.Tests.ModelTests.MobileNumberTests 28✅ 3ms
TeacherIdentity.AuthServer.Tests.Services.PublishEventsBackgroundServiceTests 3✅ 60ms
TeacherIdentity.AuthServer.Tests.Services.RedactorTests 9✅ 10ms
TeacherIdentity.AuthServer.Tests.Services.UserImportProcessorTests 25✅ 429ms
TeacherIdentity.AuthServer.Tests.Services.UserVerificationServiceTests 14✅ 8s
TeacherIdentity.AuthServer.Tests.UserClaimHelperTests 21✅ 8s
TeacherIdentity.AuthServer.Tests.UserRequirementsExtensionsTests 10✅ 35ms
TeacherIdentity.AuthServer.Tests.WebHooks.WebHooksEndToEndTests 37✅ 821ms

❌ TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.MergeUser.SelectUserTests

✅ Get_AuthenticatedUserDoesNotHavePermission_ReturnsForbidden
✅ Get_UnauthenticatedUser_RedirectsToSignIn
✅ Get_UserDoesNotExist_ReturnsNotFound
✅ Get_ValidRequest_ReturnsOk
✅ Post_AuthenticatedUserDoesNotHavePermission_ReturnsForbidden
❌ Post_EmptyUserIdToMerge_ReturnsError
	Assert.Equal() Failure: Strings differ
	           ↓ (pos 0)
	Expected: "Select which user you want to merge"
	Actual:   "Enter the user ID to merge"
	           ↑ (pos 0)
✅ Post_InvalidUserIdToMerge_ReturnsError
✅ Post_UnauthenticatedUser_RedirectsToSignIn
✅ Post_UserDoesNotExist_ReturnsNotFound
✅ Post_ValidForm_RedirectsToConfirm

Annotations

Check failure on line 20 in dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/AssertEx.cs

See this annotation in the file changed.

@github-actions github-actions / Unit test results

TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.MergeUser.SelectUserTests ► Post_EmptyUserIdToMerge_ReturnsError

Failed test found in:
  dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/TestResults/_fv-az736-393_2024-01-16_09_51_30.trx
Error:
  Assert.Equal() Failure: Strings differ
             ↓ (pos 0)
  Expected: "Select which user you want to merge"
  Actual:   "Enter the user ID to merge"
             ↑ (pos 0)
Raw output
Assert.Equal() Failure: Strings differ
           ↓ (pos 0)
Expected: "Select which user you want to merge"
Actual:   "Enter the user ID to merge"
           ↑ (pos 0)
   at TeacherIdentity.AuthServer.Tests.AssertEx.HtmlDocumentHasError(IHtmlDocument doc, String fieldName, String expectedMessage) in /home/runner/work/get-an-identity/get-an-identity/dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/AssertEx.cs:line 20
   at TeacherIdentity.AuthServer.Tests.AssertEx.HtmlResponseHasError(HttpResponseMessage response, String fieldName, String expectedMessage, Int32 expectedStatusCode) in /home/runner/work/get-an-identity/get-an-identity/dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/AssertEx.cs:line 46
   at TeacherIdentity.AuthServer.Tests.EndpointTests.Admin.MergeUser.SelectUserTests.Post_EmptyUserIdToMerge_ReturnsError() in /home/runner/work/get-an-identity/get-an-identity/dotnet-authserver/tests/TeacherIdentity.AuthServer.Tests/EndpointTests/Admin/MergeUser/SelectUserTests.cs:line 100