Skip to content

Fix to stop induction records from being created when not required #1232

Fix to stop induction records from being created when not required

Fix to stop induction records from being created when not required #1232

GitHub Actions / Support UI end-to-end test results failed Nov 3, 2023 in 1s

Support UI end-to-end test results ❌

Tests failed

❌ TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.EndToEndTests/TestResults/_fv-az189-232_2023-11-03_13_08_56.trx

14 tests were completed in 64s with 13 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
TeachingRecordSystem.SupportUi.EndToEndTests.AlertTests 4✅ 1❌ 40s
TeachingRecordSystem.SupportUi.EndToEndTests.CaseTests 6✅ 12s
TeachingRecordSystem.SupportUi.EndToEndTests.IndexTests 1✅ 575ms
TeachingRecordSystem.SupportUi.EndToEndTests.PersonTests 2✅ 6s

❌ TeachingRecordSystem.SupportUi.EndToEndTests.AlertTests

❌ AddAlert(setDetailsManually: False)
	System.TimeoutException : Timeout 30000ms exceeded.
	=========================== logs ===========================
	  "NetworkIdle" event fired
	============================================================
	---- System.TimeoutException : Timeout 30000ms exceeded.
✅ AddAlert(setDetailsManually: True)
✅ CloseAlert
✅ ViewAlert(isActive: False, expectedFlashMessage: "Inactive status removed")
✅ ViewAlert(isActive: True, expectedFlashMessage: "Status changed to inactive")

✅ TeachingRecordSystem.SupportUi.EndToEndTests.CaseTests

✅ SelectCaseAndApprove(isNameChange: False)
✅ SelectCaseAndApprove(isNameChange: True)
✅ SelectCaseAndCancel(isNameChange: False)
✅ SelectCaseAndCancel(isNameChange: True)
✅ SelectCaseAndReject(isNameChange: False)
✅ SelectCaseAndReject(isNameChange: True)

✅ TeachingRecordSystem.SupportUi.EndToEndTests.IndexTests

✅ IndexReturnsOk

✅ TeachingRecordSystem.SupportUi.EndToEndTests.PersonTests

✅ EditDateOfBirth
✅ EditName

Annotations

Check failure on line 94 in TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.EndToEndTests/PageExtensions.cs

See this annotation in the file changed.

@github-actions github-actions / Support UI end-to-end test results

TeachingRecordSystem.SupportUi.EndToEndTests.AlertTests ► AddAlert(setDetailsManually: False)

Failed test found in:
  TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.EndToEndTests/TestResults/_fv-az189-232_2023-11-03_13_08_56.trx
Error:
  System.TimeoutException : Timeout 30000ms exceeded.
  =========================== logs ===========================
    "NetworkIdle" event fired
  ============================================================
  ---- System.TimeoutException : Timeout 30000ms exceeded.
Raw output
System.TimeoutException : Timeout 30000ms exceeded.
=========================== logs ===========================
  "NetworkIdle" event fired
============================================================
---- System.TimeoutException : Timeout 30000ms exceeded.
   at Microsoft.Playwright.Core.Waiter.WaitForPromiseAsync[T](Task`1 task, Action dispose) in /_/src/Playwright/Core/Waiter.cs:line 219
   at Microsoft.Playwright.Core.Frame.WaitForLoadStateAsync(Nullable`1 state, FrameWaitForLoadStateOptions options) in /_/src/Playwright/Core/Frame.cs:line 200
   at TeachingRecordSystem.SupportUi.EndToEndTests.PageExtensions.AssertOnAddAlertConfirmPage(IPage page) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.EndToEndTests/PageExtensions.cs:line 94
   at TeachingRecordSystem.SupportUi.EndToEndTests.AlertTests.AddAlert(Boolean setDetailsManually) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.EndToEndTests/AlertTests.cs:line 105
   at TeachingRecordSystem.SupportUi.EndToEndTests.AlertTests.AddAlert(Boolean setDetailsManually) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.EndToEndTests/AlertTests.cs:line 111
----- Inner Stack Trace -----
   at Microsoft.Playwright.Helpers.TaskHelper.<>c__DisplayClass2_0.<WithTimeout>b__0() in /_/src/Playwright/Helpers/TaskHelper.cs:line 73
   at Microsoft.Playwright.Helpers.TaskHelper.WithTimeout(Task task, Func`1 timeoutAction, TimeSpan timeout, CancellationToken cancellationToken) in /_/src/Playwright/Helpers/TaskHelper.cs:line 109
   at Microsoft.Playwright.Core.Waiter.WaitForPromiseAsync[T](Task`1 task, Action dispose) in /_/src/Playwright/Core/Waiter.cs:line 211