Skip to content

Update to .NET 9

Update to .NET 9 #1462

GitHub Actions / TeachingRecordSystem.SupportUi.Tests test results failed Dec 20, 2024 in 0s

1066 passed, 2 failed and 4 skipped

Tests failed

❌ TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.Tests/TestResults/_fv-az1538-779_2024-12-20_16_23_43.trx

1072 tests were completed in 608s with 1066 passed, 2 failed and 4 skipped.

Test suite Passed Failed Skipped Time
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.AddAlert.CheckAnswersTests 12✅ 287s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.AddAlert.DetailsTests 16✅ 351s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.AddAlert.IndexTests 1✅ 38s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.AddAlert.LinkTests 17✅ 341s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.AddAlert.ReasonTests 22✅ 404s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.AddAlert.StartDateTests 16✅ 336s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.AddAlert.TypeTests 17✅ 344s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.AlertDetailsTests 10✅ 261s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.CloseAlert.CheckAnswersTests 17✅ 387s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.CloseAlert.IndexTests 17✅ 379s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.CloseAlert.ReasonTests 22✅ 424s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.DeleteAlert.CheckAnswersTests 18✅ 392s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.DeleteAlert.IndexTests 26✅ 424s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.Details.CheckAnswersTests 17✅ 384s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.Details.IndexTests 16✅ 365s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.Details.ReasonTests 22✅ 406s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.EndDate.CheckAnswersTests 15✅ 2❌ 389s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.EndDate.IndexTests 18✅ 393s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.EndDate.ReasonTests 20✅ 417s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.Link.CheckAnswersTests 17✅ 396s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.Link.IndexTests 21✅ 395s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.Link.ReasonTests 22✅ 407s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.StartDate.CheckAnswersTests 16✅ 369s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.StartDate.IndexTests 17✅ 379s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.StartDate.ReasonTests 22✅ 422s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.ReopenAlert.CheckAnswersTests 16✅ 356s
TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.ReopenAlert.IndexTests 20✅ 417s
TeachingRecordSystem.SupportUi.Tests.PageTests.ApiKeys.AddApiKeyTests 9✅ 181s
TeachingRecordSystem.SupportUi.Tests.PageTests.ApiKeys.EditApiKeyTests 9✅ 176s
TeachingRecordSystem.SupportUi.Tests.PageTests.ApplicationUsers.AddApplicationUserTests 6✅ 65s
TeachingRecordSystem.SupportUi.Tests.PageTests.ApplicationUsers.EditApplicationUserTests 23✅ 333s
TeachingRecordSystem.SupportUi.Tests.PageTests.ChangeRequests.EditChangeRequest.AcceptTests 10✅ 274s
TeachingRecordSystem.SupportUi.Tests.PageTests.ChangeRequests.EditChangeRequest.IndexTests 14✅ 333s
TeachingRecordSystem.SupportUi.Tests.PageTests.ChangeRequests.EditChangeRequest.RejectTests 12✅ 300s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.AddMq.CheckAnswersTests 10✅ 254s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.AddMq.IndexTests 1✅ 27s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.AddMq.ProviderTests 6✅ 148s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.AddMq.SpecialismTests 7✅ 181s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.AddMq.StartDateTests 10✅ 229s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.AddMq.StatusTests 11✅ 262s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.DeleteMq.ConfirmTests 7✅ 236s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.DeleteMq.IndexTests 10✅ 265s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.EditMq.Provider.ConfirmTests 6✅ 220s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.EditMq.Provider.IndexTests 7✅ 197s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.EditMq.Provider.ReasonTests 10✅ 270s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.EditMq.Specialism.ConfirmTests 6✅ 206s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.EditMq.Specialism.IndexTests 9✅ 247s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.EditMq.Specialism.ReasonTests 10✅ 253s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.EditMq.StartDate.ConfirmTests 6✅ 203s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.EditMq.StartDate.IndexTests 9✅ 255s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.EditMq.StartDate.ReasonTests 10✅ 262s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.EditMq.Status.ConfirmTests 9✅ 277s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.EditMq.Status.IndexTests 10✅ 264s
TeachingRecordSystem.SupportUi.Tests.PageTests.Mqs.EditMq.Status.ReasonTests 14✅ 343s
TeachingRecordSystem.SupportUi.Tests.PageTests.Persons.IndexTests 6✅ 203s
TeachingRecordSystem.SupportUi.Tests.PageTests.Persons.PersonDetail.AlertsTests 23✅ 417s
TeachingRecordSystem.SupportUi.Tests.PageTests.Persons.PersonDetail.ChangeLogAlertEventsTests 95✅ 542s
TeachingRecordSystem.SupportUi.Tests.PageTests.Persons.PersonDetail.ChangeLogMandatoryQualificationEventsTests 27✅ 462s
TeachingRecordSystem.SupportUi.Tests.PageTests.Persons.PersonDetail.ChangeLogTests 16✅ 388s
TeachingRecordSystem.SupportUi.Tests.PageTests.Persons.PersonDetail.EditDateOfBirth.ConfirmTests 5✅ 126s
TeachingRecordSystem.SupportUi.Tests.PageTests.Persons.PersonDetail.EditDateOfBirth.IndexTests 13✅ 312s
TeachingRecordSystem.SupportUi.Tests.PageTests.Persons.PersonDetail.EditInduction.CommonPageTests 51✅ 489s
TeachingRecordSystem.SupportUi.Tests.PageTests.Persons.PersonDetail.EditInduction.EditInductionStatusTests 1✅ 20s
TeachingRecordSystem.SupportUi.Tests.PageTests.Persons.PersonDetail.EditName.ConfirmTests 8✅ 216s
TeachingRecordSystem.SupportUi.Tests.PageTests.Persons.PersonDetail.EditName.IndexTests 9✅ 250s
TeachingRecordSystem.SupportUi.Tests.PageTests.Persons.PersonDetail.IndexTests 6✅ 188s
TeachingRecordSystem.SupportUi.Tests.PageTests.Persons.PersonDetail.InductionTests 18✅ 402s
TeachingRecordSystem.SupportUi.Tests.PageTests.Persons.PersonDetail.QualificationsTests 5✅ 130s
TeachingRecordSystem.SupportUi.Tests.PageTests.SupportTasks.ConnectOneLoginUser.ConnectTests 8✅ 2⚪ 237s
TeachingRecordSystem.SupportUi.Tests.PageTests.SupportTasks.ConnectOneLoginUser.IndexTests 8✅ 2⚪ 222s
TeachingRecordSystem.SupportUi.Tests.PageTests.SupportTasks.IndexTests 7✅ 6s
TeachingRecordSystem.SupportUi.Tests.PageTests.Users.AddUser.ConfirmTests 11✅ 116s
TeachingRecordSystem.SupportUi.Tests.PageTests.Users.AddUser.IndexTests 8✅ 86s
TeachingRecordSystem.SupportUi.Tests.PageTests.Users.EditUserTests 17✅ 263s
TeachingRecordSystem.SupportUi.Tests.PageTests.Users.UsersTests 3✅ 41s

❌ TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.EndDate.CheckAnswersTests

✅ Get_MissingDataInJourneyState_RedirectsToIndexPage
✅ Get_UserDoesNotHavePermission_ReturnsForbidden(role: "DbsAlertsReadOnly")
✅ Get_UserDoesNotHavePermission_ReturnsForbidden(role: "Helpdesk")
✅ Get_UserDoesNotHavePermission_ReturnsForbidden(role: null)
✅ Get_WithAlertIdForNonExistentAlert_ReturnsNotFound
✅ Get_WithOpenAlert_ReturnsBadRequest
✅ Get_WithValidJourneyState_ReturnsOk(populateOptional: False)
✅ Get_WithValidJourneyState_ReturnsOk(populateOptional: True)
✅ Post_Cancel_DeletesJourneyAndRedirects
❌ Post_Confirm_UpdatesAlertCreatesEventCompletesJourneyAndRedirectsWithFlashMessage(populateOptional: False)
	Assert.Collection() Failure: Item comparison failure
	             ↓ (pos 0)
	Collection: [AlertUpdatedEvent { EventId = fca5ceaa-088a-4935-88ab-166e42abbfd9, CreatedUtc = 01/04/2021 00:00:00, RaisedBy = TeachingRecordSystem.Core.Events.Models.RaisedByUserInfo, Key = , PersonId = 4c57564a-ceb6-4f5e-845e-a8ae8db83027, Alert = Alert { AlertId = cff90a02-9507-42e3-b0dc-91111d8e9736, AlertTypeId = b6c8d8f1-723e-49a5-9551-25805e3e29b9, Details = Doloribus amet animi error in qui libero similique. Quidem laboriosam debitis dolorum neque quos reiciendis quae inventore. Distinctio minus expedita et minima temporibus consequatur id delectus. Laboriosam et ducimus quod inventore ad eius. Dolorem amet dicta debitis maxime quis eius vero., ExternalLink = http://www.hammesoconner.biz/shop/films/root.res, StartDate = 12/05/2020, EndDate = 12/29/2020, DqtSpent = , DqtSanctionCode =  }, OldAlert = Alert { AlertId = cff90a02-9507-42e3-b0dc-91111d8e9736, AlertTypeId = b6c8d8f1-723e-49a5-9551-25805e3e29b9, Details = Doloribus amet animi error in qui libero similique. Quidem laboriosam debitis dolorum neque quos reiciendis quae inventore. Distinctio minus expedita et minima temporibus consequatur id delectus. Laboriosam et ducimus quod inventore ad eius. Dolorem amet dicta debitis maxime quis eius vero., ExternalLink = http://www.hammesoconner.biz/shop/films/root.res, StartDate = 12/05/2020, EndDate = 01/03/2021, DqtSpent = , DqtSanctionCode =  }, ChangeReason = Another reason, ChangeReasonDetail = , EvidenceFile = , Changes = EndDate }]
	Error:      Assert.Equivalent() Failure: Mismatched value on member 'Alert.AlertId.Variant'
	            Expected: 8
	            Actual:   11
	            Stack Trace:
	              /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.Tests/PageTests/Alerts/EditAlert/EndDate/CheckAnswersTests.cs(239,0): at TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.EndDate.CheckAnswersTests.<>c__DisplayClass10_0.<Post_Confirm_UpdatesAlertCreatesEventCompletesJourneyAndRedirectsWithFlashMessage>b__1(EventBase e)
❌ Post_Confirm_UpdatesAlertCreatesEventCompletesJourneyAndRedirectsWithFlashMessage(populateOptional: True)
	Assert.Collection() Failure: Item comparison failure
	             ↓ (pos 0)
	Collection: [AlertUpdatedEvent { EventId = 6909c79a-0a33-455b-b42f-073b3b72ac34, CreatedUtc = 01/04/2021 00:00:00, RaisedBy = TeachingRecordSystem.Core.Events.Models.RaisedByUserInfo, Key = , PersonId = 0e12615e-0848-4f8d-ad11-f658d8278aed, Alert = Alert { AlertId = 51eb21d0-8617-4669-896c-47ffa5e8eb88, AlertTypeId = 78f88de2-9ec1-41b8-948a-33bdff223206, Details = Vel voluptatem dignissimos repellat porro. Ipsum asperiores quo nihil. Enim quasi consequatur eligendi et fugit nihil numquam quae. Rerum quis placeat corporis facilis. Voluptatibus cumque nemo laudantium est fugiat. Et esse est quasi nihil cumque est odit., ExternalLink = http://www.mooreabbott.uk/interviews/index.res, StartDate = 12/05/2020, EndDate = 12/29/2020, DqtSpent = , DqtSanctionCode =  }, OldAlert = Alert { AlertId = 51eb21d0-8617-4669-896c-47ffa5e8eb88, AlertTypeId = 78f88de2-9ec1-41b8-948a-33bdff223206, Details = Vel voluptatem dignissimos repellat porro. Ipsum asperiores quo nihil. Enim quasi consequatur eligendi et fugit nihil numquam quae. Rerum quis placeat corporis facilis. Voluptatibus cumque nemo laudantium est fugiat. Et esse est quasi nihil cumque est odit., ExternalLink = http://www.mooreabbott.uk/interviews/index.res, StartDate = 12/05/2020, EndDate = 01/03/2021, DqtSpent = , DqtSanctionCode =  }, ChangeReason = Another reason, ChangeReasonDetail = More details, EvidenceFile = File { FileId = ce023b9c-cdfa-4221-90d1-a9ae2d863999, Name = evidence.jpeg }, Changes = EndDate }]
	Error:      Assert.Equivalent() Failure: Mismatched value on member 'Alert.AlertId.Variant'
	            Expected: 11
	            Actual:   8
	            Stack Trace:
	              /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.Tests/PageTests/Alerts/EditAlert/EndDate/CheckAnswersTests.cs(239,0): at TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.EndDate.CheckAnswersTests.<>c__DisplayClass10_0.<Post_Confirm_UpdatesAlertCreatesEventCompletesJourneyAndRedirectsWithFlashMessage>b__1(EventBase e)
✅ Post_MissingDataInJourneyState_RedirectsToIndexPage
✅ Post_UserDoesNotHavePermission_ReturnsForbidden(role: "DbsAlertsReadOnly")
✅ Post_UserDoesNotHavePermission_ReturnsForbidden(role: "Helpdesk")
✅ Post_UserDoesNotHavePermission_ReturnsForbidden(role: null)
✅ Post_WithAlertIdForNonExistentAlert_ReturnsNotFound
✅ Post_WithOpenAlert_ReturnsBadRequest

Annotations

Check failure on line 15 in TeachingRecordSystem/tests/TeachingRecordSystem.TestCommon/CaptureEventObserver.cs

See this annotation in the file changed.

@github-actions github-actions / TeachingRecordSystem.SupportUi.Tests test results

TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.EndDate.CheckAnswersTests ► Post_Confirm_UpdatesAlertCreatesEventCompletesJourneyAndRedirectsWithFlashMessage(populateOptional: False)

Failed test found in:
  TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.Tests/TestResults/_fv-az1538-779_2024-12-20_16_23_43.trx
Error:
  Assert.Collection() Failure: Item comparison failure
               ↓ (pos 0)
  Collection: [AlertUpdatedEvent { EventId = fca5ceaa-088a-4935-88ab-166e42abbfd9, CreatedUtc = 01/04/2021 00:00:00, RaisedBy = TeachingRecordSystem.Core.Events.Models.RaisedByUserInfo, Key = , PersonId = 4c57564a-ceb6-4f5e-845e-a8ae8db83027, Alert = Alert { AlertId = cff90a02-9507-42e3-b0dc-91111d8e9736, AlertTypeId = b6c8d8f1-723e-49a5-9551-25805e3e29b9, Details = Doloribus amet animi error in qui libero similique. Quidem laboriosam debitis dolorum neque quos reiciendis quae inventore. Distinctio minus expedita et minima temporibus consequatur id delectus. Laboriosam et ducimus quod inventore ad eius. Dolorem amet dicta debitis maxime quis eius vero., ExternalLink = http://www.hammesoconner.biz/shop/films/root.res, StartDate = 12/05/2020, EndDate = 12/29/2020, DqtSpent = , DqtSanctionCode =  }, OldAlert = Alert { AlertId = cff90a02-9507-42e3-b0dc-91111d8e9736, AlertTypeId = b6c8d8f1-723e-49a5-9551-25805e3e29b9, Details = Doloribus amet animi error in qui libero similique. Quidem laboriosam debitis dolorum neque quos reiciendis quae inventore. Distinctio minus expedita et minima temporibus consequatur id delectus. Laboriosam et ducimus quod inventore ad eius. Dolorem amet dicta debitis maxime quis eius vero., ExternalLink = http://www.hammesoconner.biz/shop/films/root.res, StartDate = 12/05/2020, EndDate = 01/03/2021, DqtSpent = , DqtSanctionCode =  }, ChangeReason = Another reason, ChangeReasonDetail = , EvidenceFile = , Changes = EndDate }]
  Error:      Assert.Equivalent() Failure: Mismatched value on member 'Alert.AlertId.Variant'
              Expected: 8
              Actual:   11
              Stack Trace:
                /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.Tests/PageTests/Alerts/EditAlert/EndDate/CheckAnswersTests.cs(239,0): at TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.EndDate.CheckAnswersTests.<>c__DisplayClass10_0.<Post_Confirm_UpdatesAlertCreatesEventCompletesJourneyAndRedirectsWithFlashMessage>b__1(EventBase e)
Raw output
Assert.Collection() Failure: Item comparison failure
             ↓ (pos 0)
Collection: [AlertUpdatedEvent { EventId = fca5ceaa-088a-4935-88ab-166e42abbfd9, CreatedUtc = 01/04/2021 00:00:00, RaisedBy = TeachingRecordSystem.Core.Events.Models.RaisedByUserInfo, Key = , PersonId = 4c57564a-ceb6-4f5e-845e-a8ae8db83027, Alert = Alert { AlertId = cff90a02-9507-42e3-b0dc-91111d8e9736, AlertTypeId = b6c8d8f1-723e-49a5-9551-25805e3e29b9, Details = Doloribus amet animi error in qui libero similique. Quidem laboriosam debitis dolorum neque quos reiciendis quae inventore. Distinctio minus expedita et minima temporibus consequatur id delectus. Laboriosam et ducimus quod inventore ad eius. Dolorem amet dicta debitis maxime quis eius vero., ExternalLink = http://www.hammesoconner.biz/shop/films/root.res, StartDate = 12/05/2020, EndDate = 12/29/2020, DqtSpent = , DqtSanctionCode =  }, OldAlert = Alert { AlertId = cff90a02-9507-42e3-b0dc-91111d8e9736, AlertTypeId = b6c8d8f1-723e-49a5-9551-25805e3e29b9, Details = Doloribus amet animi error in qui libero similique. Quidem laboriosam debitis dolorum neque quos reiciendis quae inventore. Distinctio minus expedita et minima temporibus consequatur id delectus. Laboriosam et ducimus quod inventore ad eius. Dolorem amet dicta debitis maxime quis eius vero., ExternalLink = http://www.hammesoconner.biz/shop/films/root.res, StartDate = 12/05/2020, EndDate = 01/03/2021, DqtSpent = , DqtSanctionCode =  }, ChangeReason = Another reason, ChangeReasonDetail = , EvidenceFile = , Changes = EndDate }]
Error:      Assert.Equivalent() Failure: Mismatched value on member 'Alert.AlertId.Variant'
            Expected: 8
            Actual:   11
            Stack Trace:
              /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.Tests/PageTests/Alerts/EditAlert/EndDate/CheckAnswersTests.cs(239,0): at TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.EndDate.CheckAnswersTests.<>c__DisplayClass10_0.<Post_Confirm_UpdatesAlertCreatesEventCompletesJourneyAndRedirectsWithFlashMessage>b__1(EventBase e)
   at TeachingRecordSystem.TestCommon.CaptureEventObserver.AssertEventsSaved(Action`1[] eventInspectors) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.TestCommon/CaptureEventObserver.cs:line 15
   at TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.EndDate.CheckAnswersTests.Post_Confirm_UpdatesAlertCreatesEventCompletesJourneyAndRedirectsWithFlashMessage(Boolean populateOptional) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.Tests/PageTests/Alerts/EditAlert/EndDate/CheckAnswersTests.cs:line 199

Check failure on line 15 in TeachingRecordSystem/tests/TeachingRecordSystem.TestCommon/CaptureEventObserver.cs

See this annotation in the file changed.

@github-actions github-actions / TeachingRecordSystem.SupportUi.Tests test results

TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.EndDate.CheckAnswersTests ► Post_Confirm_UpdatesAlertCreatesEventCompletesJourneyAndRedirectsWithFlashMessage(populateOptional: True)

Failed test found in:
  TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.Tests/TestResults/_fv-az1538-779_2024-12-20_16_23_43.trx
Error:
  Assert.Collection() Failure: Item comparison failure
               ↓ (pos 0)
  Collection: [AlertUpdatedEvent { EventId = 6909c79a-0a33-455b-b42f-073b3b72ac34, CreatedUtc = 01/04/2021 00:00:00, RaisedBy = TeachingRecordSystem.Core.Events.Models.RaisedByUserInfo, Key = , PersonId = 0e12615e-0848-4f8d-ad11-f658d8278aed, Alert = Alert { AlertId = 51eb21d0-8617-4669-896c-47ffa5e8eb88, AlertTypeId = 78f88de2-9ec1-41b8-948a-33bdff223206, Details = Vel voluptatem dignissimos repellat porro. Ipsum asperiores quo nihil. Enim quasi consequatur eligendi et fugit nihil numquam quae. Rerum quis placeat corporis facilis. Voluptatibus cumque nemo laudantium est fugiat. Et esse est quasi nihil cumque est odit., ExternalLink = http://www.mooreabbott.uk/interviews/index.res, StartDate = 12/05/2020, EndDate = 12/29/2020, DqtSpent = , DqtSanctionCode =  }, OldAlert = Alert { AlertId = 51eb21d0-8617-4669-896c-47ffa5e8eb88, AlertTypeId = 78f88de2-9ec1-41b8-948a-33bdff223206, Details = Vel voluptatem dignissimos repellat porro. Ipsum asperiores quo nihil. Enim quasi consequatur eligendi et fugit nihil numquam quae. Rerum quis placeat corporis facilis. Voluptatibus cumque nemo laudantium est fugiat. Et esse est quasi nihil cumque est odit., ExternalLink = http://www.mooreabbott.uk/interviews/index.res, StartDate = 12/05/2020, EndDate = 01/03/2021, DqtSpent = , DqtSanctionCode =  }, ChangeReason = Another reason, ChangeReasonDetail = More details, EvidenceFile = File { FileId = ce023b9c-cdfa-4221-90d1-a9ae2d863999, Name = evidence.jpeg }, Changes = EndDate }]
  Error:      Assert.Equivalent() Failure: Mismatched value on member 'Alert.AlertId.Variant'
              Expected: 11
              Actual:   8
              Stack Trace:
                /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.Tests/PageTests/Alerts/EditAlert/EndDate/CheckAnswersTests.cs(239,0): at TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.EndDate.CheckAnswersTests.<>c__DisplayClass10_0.<Post_Confirm_UpdatesAlertCreatesEventCompletesJourneyAndRedirectsWithFlashMessage>b__1(EventBase e)
Raw output
Assert.Collection() Failure: Item comparison failure
             ↓ (pos 0)
Collection: [AlertUpdatedEvent { EventId = 6909c79a-0a33-455b-b42f-073b3b72ac34, CreatedUtc = 01/04/2021 00:00:00, RaisedBy = TeachingRecordSystem.Core.Events.Models.RaisedByUserInfo, Key = , PersonId = 0e12615e-0848-4f8d-ad11-f658d8278aed, Alert = Alert { AlertId = 51eb21d0-8617-4669-896c-47ffa5e8eb88, AlertTypeId = 78f88de2-9ec1-41b8-948a-33bdff223206, Details = Vel voluptatem dignissimos repellat porro. Ipsum asperiores quo nihil. Enim quasi consequatur eligendi et fugit nihil numquam quae. Rerum quis placeat corporis facilis. Voluptatibus cumque nemo laudantium est fugiat. Et esse est quasi nihil cumque est odit., ExternalLink = http://www.mooreabbott.uk/interviews/index.res, StartDate = 12/05/2020, EndDate = 12/29/2020, DqtSpent = , DqtSanctionCode =  }, OldAlert = Alert { AlertId = 51eb21d0-8617-4669-896c-47ffa5e8eb88, AlertTypeId = 78f88de2-9ec1-41b8-948a-33bdff223206, Details = Vel voluptatem dignissimos repellat porro. Ipsum asperiores quo nihil. Enim quasi consequatur eligendi et fugit nihil numquam quae. Rerum quis placeat corporis facilis. Voluptatibus cumque nemo laudantium est fugiat. Et esse est quasi nihil cumque est odit., ExternalLink = http://www.mooreabbott.uk/interviews/index.res, StartDate = 12/05/2020, EndDate = 01/03/2021, DqtSpent = , DqtSanctionCode =  }, ChangeReason = Another reason, ChangeReasonDetail = More details, EvidenceFile = File { FileId = ce023b9c-cdfa-4221-90d1-a9ae2d863999, Name = evidence.jpeg }, Changes = EndDate }]
Error:      Assert.Equivalent() Failure: Mismatched value on member 'Alert.AlertId.Variant'
            Expected: 11
            Actual:   8
            Stack Trace:
              /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.Tests/PageTests/Alerts/EditAlert/EndDate/CheckAnswersTests.cs(239,0): at TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.EndDate.CheckAnswersTests.<>c__DisplayClass10_0.<Post_Confirm_UpdatesAlertCreatesEventCompletesJourneyAndRedirectsWithFlashMessage>b__1(EventBase e)
   at TeachingRecordSystem.TestCommon.CaptureEventObserver.AssertEventsSaved(Action`1[] eventInspectors) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.TestCommon/CaptureEventObserver.cs:line 15
   at TeachingRecordSystem.SupportUi.Tests.PageTests.Alerts.EditAlert.EndDate.CheckAnswersTests.Post_Confirm_UpdatesAlertCreatesEventCompletesJourneyAndRedirectsWithFlashMessage(Boolean populateOptional) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.Tests/PageTests/Alerts/EditAlert/EndDate/CheckAnswersTests.cs:line 199