Skip to content

Add check to see if user requesting a TRN is intending to do an NPQ #149

Add check to see if user requesting a TRN is intending to do an NPQ

Add check to see if user requesting a TRN is intending to do an NPQ #149

GitHub Actions / Support UI end-to-end test results failed Aug 13, 2024 in 1s

30 passed, 2 failed and 0 skipped

Tests failed

❌ TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.EndToEndTests/TestResults/_fv-az770-158_2024-08-13_12_59_54.trx

32 tests were completed in 120s with 30 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
TeachingRecordSystem.SupportUi.EndToEndTests.AlertTests 5✅ 10s
TeachingRecordSystem.SupportUi.EndToEndTests.ApplicationUserTests 4✅ 2s
TeachingRecordSystem.SupportUi.EndToEndTests.ChangeRequestTests 6✅ 12s
TeachingRecordSystem.SupportUi.EndToEndTests.IndexTests 1✅ 106ms
TeachingRecordSystem.SupportUi.EndToEndTests.MqTests 6✅ 2❌ 78s
TeachingRecordSystem.SupportUi.EndToEndTests.PersonTests 2✅ 6s
TeachingRecordSystem.SupportUi.EndToEndTests.SupportTaskTests 2✅ 2s
TeachingRecordSystem.SupportUi.EndToEndTests.UserTests 4✅ 3s

✅ TeachingRecordSystem.SupportUi.EndToEndTests.AlertTests

✅ AddAlert(setDetailsManually: False)
✅ AddAlert(setDetailsManually: True)
✅ CloseAlert
✅ ViewAlert(isActive: False, expectedFlashMessage: "Inactive status removed")
✅ ViewAlert(isActive: True, expectedFlashMessage: "Status changed to inactive")

✅ TeachingRecordSystem.SupportUi.EndToEndTests.ApplicationUserTests

✅ AddApiKey
✅ AddApplicationUser
✅ EditApiKey
✅ EditApplicationUser

✅ TeachingRecordSystem.SupportUi.EndToEndTests.ChangeRequestTests

✅ SelectChangeRequestAndApprove(isNameChange: False)
✅ SelectChangeRequestAndApprove(isNameChange: True)
✅ SelectChangeRequestAndCancel(isNameChange: False)
✅ SelectChangeRequestAndCancel(isNameChange: True)
✅ SelectChangeRequestAndReject(isNameChange: False)
✅ SelectChangeRequestAndReject(isNameChange: True)

✅ TeachingRecordSystem.SupportUi.EndToEndTests.IndexTests

✅ IndexReturnsOk

❌ TeachingRecordSystem.SupportUi.EndToEndTests.MqTests

✅ AddMq
✅ DeleteMq
✅ EditMqProvider
❌ EditMqSpecialism
	System.TimeoutException : Timeout 30000ms exceeded.
	=========================== logs ===========================
	  "NetworkIdle" event fired
	============================================================
	---- System.TimeoutException : Timeout 30000ms exceeded.
❌ EditMqStartDate
	System.TimeoutException : Timeout 30000ms exceeded.
	=========================== logs ===========================
	  "NetworkIdle" event fired
	============================================================
	---- System.TimeoutException : Timeout 30000ms exceeded.
✅ EditMqStatus(isStatusChange: False, isEndDateChange: True)
✅ EditMqStatus(isStatusChange: True, isEndDateChange: False)
✅ EditMqStatus(isStatusChange: True, isEndDateChange: True)

✅ TeachingRecordSystem.SupportUi.EndToEndTests.PersonTests

✅ EditDateOfBirth
✅ EditName

✅ TeachingRecordSystem.SupportUi.EndToEndTests.SupportTaskTests

✅ ConnectOneLoginUser_WithoutSuggestions
✅ ConnectOneLoginUser_WithSuggestion

✅ TeachingRecordSystem.SupportUi.EndToEndTests.UserTests

✅ AddUser
✅ DeactivateUser
✅ EditUser
✅ ReactivateUser

Annotations

Check failure on line 202 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.MqTests ► EditMqSpecialism

Failed test found in:
  TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.EndToEndTests/TestResults/_fv-az770-158_2024-08-13_12_59_54.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 228
   at Microsoft.Playwright.Core.Frame.WaitForLoadStateAsync(Nullable`1 state, FrameWaitForLoadStateOptions options) in /_/src/Playwright/Core/Frame.cs:line 234
   at TeachingRecordSystem.SupportUi.EndToEndTests.PageExtensions.AssertOnEditMqSpecialismPage(IPage page, Guid qualificationId) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.EndToEndTests/PageExtensions.cs:line 202
   at TeachingRecordSystem.SupportUi.EndToEndTests.MqTests.EditMqSpecialism() in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.EndToEndTests/MqTests.cs:line 144
   at TeachingRecordSystem.SupportUi.EndToEndTests.MqTests.EditMqSpecialism() in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.EndToEndTests/MqTests.cs:line 177
----- 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 220

Check failure on line 217 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.MqTests ► EditMqStartDate

Failed test found in:
  TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.EndToEndTests/TestResults/_fv-az770-158_2024-08-13_12_59_54.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 228
   at Microsoft.Playwright.Core.Frame.WaitForLoadStateAsync(Nullable`1 state, FrameWaitForLoadStateOptions options) in /_/src/Playwright/Core/Frame.cs:line 234
   at TeachingRecordSystem.SupportUi.EndToEndTests.PageExtensions.AssertOnEditMqStartDatePage(IPage page, Guid qualificationId) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.EndToEndTests/PageExtensions.cs:line 217
   at TeachingRecordSystem.SupportUi.EndToEndTests.MqTests.EditMqStartDate() in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.EndToEndTests/MqTests.cs:line 200
   at TeachingRecordSystem.SupportUi.EndToEndTests.MqTests.EditMqStartDate() in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.SupportUi.EndToEndTests/MqTests.cs:line 231
----- 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 220