Skip to content

Backend state migration #3104

Backend state migration

Backend state migration #3104

GitHub Actions / Test Results failed Jul 12, 2024 in 0s

3 errors, 33 fail, 14 pass in 8s

50 tests   14 ✅  8s ⏱️
13 suites   0 💤
 2 files    33 ❌  3 🔥

Results for commit 843f718.

Annotations

Check warning on line 0 in src/components/ResetModal/ResetModal.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResetModal > should render (src/components/ResetModal/ResetModal.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Network Error

AxiosError: Network Error
 ❯ XMLHttpRequest.handleError node_modules/axios/lib/adapters/xhr.js:162:14
 ❯ XMLHttpRequest.invokeTheCallbackFunction node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js:14:28
 ❯ XMLHttpRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js:35:32
 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25
 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3
 ❯ XMLHttpRequestImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
 ❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36
 ❯ requestErrorSteps node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:131:3
 ❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:60:3
 ❯ Request.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
 ❯ Module.renderWithProviders src/test/testUtil.tsx:39:3
 ❯ src/components/ResetModal/ResetModal.test.tsx:18:5

Error: Error: connect ECONNREFUSED ::1:8000
    at Object.dispatchError (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
    at Request.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
    at Request.emit (node:events:529:35)
    at ClientRequest.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) undefined

Check warning on line 0 in src/components/ResetModal/ResetModal.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResetModal > should call the OnCancel callback when the Go Back button is clicked (src/components/ResetModal/ResetModal.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Network Error

AxiosError: Network Error
 ❯ XMLHttpRequest.handleError node_modules/axios/lib/adapters/xhr.js:162:14
 ❯ XMLHttpRequest.invokeTheCallbackFunction node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js:14:28
 ❯ XMLHttpRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js:35:32
 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25
 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3
 ❯ XMLHttpRequestImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
 ❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36
 ❯ requestErrorSteps node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:131:3
 ❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:60:3
 ❯ Request.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
 ❯ Module.renderWithProviders src/test/testUtil.tsx:39:3
 ❯ src/components/ResetModal/ResetModal.test.tsx:45:5

Error: Error: connect ECONNREFUSED ::1:8000
    at Object.dispatchError (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
    at Request.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
    at Request.emit (node:events:529:35)
    at ClientRequest.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) undefined

Check warning on line 0 in src/components/ResetModal/ResetModal.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

ResetModal > should call the OnOk callback when the Reset button is clicked (src/components/ResetModal/ResetModal.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Network Error

AxiosError: Network Error
 ❯ XMLHttpRequest.handleError node_modules/axios/lib/adapters/xhr.js:162:14
 ❯ XMLHttpRequest.invokeTheCallbackFunction node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js:14:28
 ❯ XMLHttpRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js:35:32
 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25
 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3
 ❯ XMLHttpRequestImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
 ❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36
 ❯ requestErrorSteps node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:131:3
 ❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:60:3
 ❯ Request.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
 ❯ Module.renderWithProviders src/test/testUtil.tsx:39:3
 ❯ src/components/ResetModal/ResetModal.test.tsx:53:5

Error: Error: connect ECONNREFUSED ::1:8000
    at Object.dispatchError (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
    at Request.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
    at Request.emit (node:events:529:35)
    at ClientRequest.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) undefined

Check warning on line 0 in src/pages/CourseSelector/CourseSelector.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

CourseSelector > should render (src/pages/CourseSelector/CourseSelector.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Network Error

AxiosError: Network Error
 ❯ XMLHttpRequest.handleError node_modules/axios/lib/adapters/xhr.js:162:14
 ❯ XMLHttpRequest.invokeTheCallbackFunction node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js:14:28
 ❯ XMLHttpRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js:35:32
 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25
 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3
 ❯ XMLHttpRequestImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
 ❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36
 ❯ requestErrorSteps node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:131:3
 ❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:60:3
 ❯ Request.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
 ❯ Module.renderWithProviders src/test/testUtil.tsx:39:3
 ❯ src/pages/CourseSelector/CourseSelector.test.tsx:19:5

Error: Error: connect ECONNREFUSED ::1:8000
    at Object.dispatchError (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
    at Request.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
    at Request.emit (node:events:529:35)
    at ClientRequest.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) undefined

Check warning on line 0 in src/pages/CourseSelector/CourseSelector.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

CourseSelector > should toggle locked courses (src/pages/CourseSelector/CourseSelector.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Network Error

AxiosError: Network Error
 ❯ XMLHttpRequest.handleError node_modules/axios/lib/adapters/xhr.js:162:14
 ❯ XMLHttpRequest.invokeTheCallbackFunction node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js:14:28
 ❯ XMLHttpRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js:35:32
 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25
 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3
 ❯ XMLHttpRequestImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
 ❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36
 ❯ requestErrorSteps node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:131:3
 ❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:60:3
 ❯ Request.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
 ❯ Module.renderWithProviders src/test/testUtil.tsx:39:3
 ❯ src/pages/CourseSelector/CourseSelector.test.tsx:27:5

Error: Error: connect ECONNREFUSED ::1:8000
    at Object.dispatchError (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
    at Request.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
    at Request.emit (node:events:529:35)
    at ClientRequest.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) undefined

Check warning on line 0 in src/pages/CourseSelector/CourseSelector.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

CourseSelector > should be able to quick add and remove a course from the course menu (src/pages/CourseSelector/CourseSelector.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Network Error

AxiosError: Network Error
 ❯ XMLHttpRequest.handleError node_modules/axios/lib/adapters/xhr.js:162:14
 ❯ XMLHttpRequest.invokeTheCallbackFunction node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js:14:28
 ❯ XMLHttpRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js:35:32
 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25
 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3
 ❯ XMLHttpRequestImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
 ❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36
 ❯ requestErrorSteps node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:131:3
 ❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:60:3
 ❯ Request.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
 ❯ Module.renderWithProviders src/test/testUtil.tsx:39:3
 ❯ src/pages/CourseSelector/CourseSelector.test.tsx:35:5

Error: Error: connect ECONNREFUSED ::1:8000
    at Object.dispatchError (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
    at Request.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
    at Request.emit (node:events:529:35)
    at ClientRequest.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) undefined

Check warning on line 0 in src/pages/DegreeWizard/DegreeWizard.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

DegreeWizard > should render (src/pages/DegreeWizard/DegreeWizard.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Network Error

AxiosError: Network Error
 ❯ XMLHttpRequest.handleError node_modules/axios/lib/adapters/xhr.js:162:14
 ❯ XMLHttpRequest.invokeTheCallbackFunction node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js:14:28
 ❯ XMLHttpRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js:35:32
 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25
 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3
 ❯ XMLHttpRequestImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
 ❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36
 ❯ requestErrorSteps node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:131:3
 ❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:60:3
 ❯ Request.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
 ❯ Module.renderWithProviders src/test/testUtil.tsx:39:3
 ❯ src/pages/DegreeWizard/DegreeWizard.test.tsx:18:5

Error: Error: connect ECONNREFUSED ::1:8000
    at Object.dispatchError (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
    at Request.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
    at Request.emit (node:events:529:35)
    at ClientRequest.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) undefined

Check warning on line 0 in src/pages/DegreeWizard/DegreeWizard.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

DegreeWizard > test degree wizard user flow (src/pages/DegreeWizard/DegreeWizard.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Network Error

AxiosError: Network Error
 ❯ XMLHttpRequest.handleError node_modules/axios/lib/adapters/xhr.js:162:14
 ❯ XMLHttpRequest.invokeTheCallbackFunction node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js:14:28
 ❯ XMLHttpRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js:35:32
 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25
 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3
 ❯ XMLHttpRequestImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
 ❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36
 ❯ requestErrorSteps node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:131:3
 ❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:60:3
 ❯ Request.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
 ❯ Module.renderWithProviders src/test/testUtil.tsx:39:3
 ❯ src/pages/DegreeWizard/DegreeWizard.test.tsx:26:5

Error: Error: connect ECONNREFUSED ::1:8000
    at Object.dispatchError (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
    at Request.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
    at Request.emit (node:events:529:35)
    at ClientRequest.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) undefined

Check warning on line 0 in src/pages/CourseSelector/CourseBanner/CourseBanner.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

CourseBanner > should render (src/pages/CourseSelector/CourseBanner/CourseBanner.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Request failed with status code 404

Error: Request failed with status code 404
 ❯ Function.AxiosError.from node_modules/axios/lib/core/AxiosError.js:89:14
 ❯ createAxiosError node_modules/axios-mock-adapter/src/utils.js:139:29
 ❯ Object.settle node_modules/axios-mock-adapter/src/utils.js:127:7
 ❯ handleRequest node_modules/axios-mock-adapter/src/handle_request.js:152:15
 ❯ node_modules/axios-mock-adapter/src/index.js:23:7
 ❯ MockAdapter.<anonymous> node_modules/axios-mock-adapter/src/index.js:22:12
 ❯ Axios.dispatchRequest node_modules/axios/lib/core/dispatchRequest.js:51:10
 ❯ Axios._request node_modules/axios/lib/core/Axios.js:170:33
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:40:25
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
 ❯ Module.renderWithProviders src/test/testUtil.tsx:39:3
 ❯ src/pages/CourseSelector/CourseBanner/CourseBanner.test.tsx:25:5

Check warning on line 0 in src/pages/CourseSelector/CourseBanner/CourseBanner.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

CourseBanner > should dispatch addTab after searching a course (src/pages/CourseSelector/CourseBanner/CourseBanner.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Request failed with status code 404

Error: Request failed with status code 404
 ❯ Function.AxiosError.from node_modules/axios/lib/core/AxiosError.js:89:14
 ❯ createAxiosError node_modules/axios-mock-adapter/src/utils.js:139:29
 ❯ Object.settle node_modules/axios-mock-adapter/src/utils.js:127:7
 ❯ handleRequest node_modules/axios-mock-adapter/src/handle_request.js:152:15
 ❯ node_modules/axios-mock-adapter/src/index.js:23:7
 ❯ MockAdapter.<anonymous> node_modules/axios-mock-adapter/src/index.js:22:12
 ❯ Axios.dispatchRequest node_modules/axios/lib/core/dispatchRequest.js:51:10
 ❯ Axios._request node_modules/axios/lib/core/Axios.js:170:33
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:40:25
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
 ❯ Module.renderWithProviders src/test/testUtil.tsx:39:3
 ❯ src/pages/CourseSelector/CourseBanner/CourseBanner.test.tsx:34:5

Check warning on line 0 in src/pages/CourseSelector/CourseMenu/CourseMenu.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

CourseMenu > should render (src/pages/CourseSelector/CourseMenu/CourseMenu.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Request failed with status code 404

Error: Request failed with status code 404
 ❯ Function.AxiosError.from node_modules/axios/lib/core/AxiosError.js:89:14
 ❯ createAxiosError node_modules/axios-mock-adapter/src/utils.js:139:29
 ❯ Object.settle node_modules/axios-mock-adapter/src/utils.js:127:7
 ❯ handleRequest node_modules/axios-mock-adapter/src/handle_request.js:152:15
 ❯ node_modules/axios-mock-adapter/src/index.js:23:7
 ❯ MockAdapter.<anonymous> node_modules/axios-mock-adapter/src/index.js:22:12
 ❯ Axios.dispatchRequest node_modules/axios/lib/core/dispatchRequest.js:51:10
 ❯ Axios._request node_modules/axios/lib/core/Axios.js:170:33
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:40:25
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
 ❯ Module.renderWithProviders src/test/testUtil.tsx:39:3
 ❯ src/pages/CourseSelector/CourseMenu/CourseMenu.test.tsx:37:5

Check warning on line 0 in src/pages/CourseSelector/CourseMenuTitle/CourseMenuTitle.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

CourseMenuTitle > should render (src/pages/CourseSelector/CourseMenuTitle/CourseMenuTitle.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Request failed with status code 404

Error: Request failed with status code 404
 ❯ Function.AxiosError.from node_modules/axios/lib/core/AxiosError.js:89:14
 ❯ createAxiosError node_modules/axios-mock-adapter/src/utils.js:139:29
 ❯ Object.settle node_modules/axios-mock-adapter/src/utils.js:127:7
 ❯ handleRequest node_modules/axios-mock-adapter/src/handle_request.js:152:15
 ❯ node_modules/axios-mock-adapter/src/index.js:23:7
 ❯ MockAdapter.<anonymous> node_modules/axios-mock-adapter/src/index.js:22:12
 ❯ Axios.dispatchRequest node_modules/axios/lib/core/dispatchRequest.js:51:10
 ❯ Axios._request node_modules/axios/lib/core/Axios.js:170:33
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:40:25
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
 ❯ Module.renderWithProviders src/test/testUtil.tsx:39:3
 ❯ src/pages/CourseSelector/CourseMenuTitle/CourseMenuTitle.test.tsx:25:5

Check warning on line 0 in src/pages/CourseSelector/CourseMenuTitle/CourseMenuTitle.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

CourseMenuTitle > should show warning icon (src/pages/CourseSelector/CourseMenuTitle/CourseMenuTitle.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Request failed with status code 404

Error: Request failed with status code 404
 ❯ Function.AxiosError.from node_modules/axios/lib/core/AxiosError.js:89:14
 ❯ createAxiosError node_modules/axios-mock-adapter/src/utils.js:139:29
 ❯ Object.settle node_modules/axios-mock-adapter/src/utils.js:127:7
 ❯ handleRequest node_modules/axios-mock-adapter/src/handle_request.js:152:15
 ❯ node_modules/axios-mock-adapter/src/index.js:23:7
 ❯ MockAdapter.<anonymous> node_modules/axios-mock-adapter/src/index.js:22:12
 ❯ Axios.dispatchRequest node_modules/axios/lib/core/dispatchRequest.js:51:10
 ❯ Axios._request node_modules/axios/lib/core/Axios.js:170:33
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:40:25
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
 ❯ Module.renderWithProviders src/test/testUtil.tsx:39:3
 ❯ src/pages/CourseSelector/CourseMenuTitle/CourseMenuTitle.test.tsx:32:5

Check warning on line 0 in src/pages/CourseSelector/CourseMenuTitle/CourseMenuTitle.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

CourseMenuTitle > should show lock icon (src/pages/CourseSelector/CourseMenuTitle/CourseMenuTitle.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Request failed with status code 404

Error: Request failed with status code 404
 ❯ Function.AxiosError.from node_modules/axios/lib/core/AxiosError.js:89:14
 ❯ createAxiosError node_modules/axios-mock-adapter/src/utils.js:139:29
 ❯ Object.settle node_modules/axios-mock-adapter/src/utils.js:127:7
 ❯ handleRequest node_modules/axios-mock-adapter/src/handle_request.js:152:15
 ❯ node_modules/axios-mock-adapter/src/index.js:23:7
 ❯ MockAdapter.<anonymous> node_modules/axios-mock-adapter/src/index.js:22:12
 ❯ Axios.dispatchRequest node_modules/axios/lib/core/dispatchRequest.js:51:10
 ❯ Axios._request node_modules/axios/lib/core/Axios.js:170:33
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:40:25
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
 ❯ Module.renderWithProviders src/test/testUtil.tsx:39:3
 ❯ src/pages/CourseSelector/CourseMenuTitle/CourseMenuTitle.test.tsx:37:5

Check warning on line 0 in src/pages/CourseSelector/CourseMenuTitle/CourseMenuTitle.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

CourseMenuTitle > should add course to planner (src/pages/CourseSelector/CourseMenuTitle/CourseMenuTitle.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Request failed with status code 404

Error: Request failed with status code 404
 ❯ Function.AxiosError.from node_modules/axios/lib/core/AxiosError.js:89:14
 ❯ createAxiosError node_modules/axios-mock-adapter/src/utils.js:139:29
 ❯ Object.settle node_modules/axios-mock-adapter/src/utils.js:127:7
 ❯ handleRequest node_modules/axios-mock-adapter/src/handle_request.js:152:15
 ❯ node_modules/axios-mock-adapter/src/index.js:23:7
 ❯ MockAdapter.<anonymous> node_modules/axios-mock-adapter/src/index.js:22:12
 ❯ Axios.dispatchRequest node_modules/axios/lib/core/dispatchRequest.js:51:10
 ❯ Axios._request node_modules/axios/lib/core/Axios.js:170:33
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:40:25
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
 ❯ Module.renderWithProviders src/test/testUtil.tsx:39:3
 ❯ src/pages/CourseSelector/CourseMenuTitle/CourseMenuTitle.test.tsx:42:5

Check warning on line 0 in src/pages/CourseSelector/CourseTabs/CourseTabs.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

CourseTabs > should render (src/pages/CourseSelector/CourseTabs/CourseTabs.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Network Error

AxiosError: Network Error
 ❯ XMLHttpRequest.handleError node_modules/axios/lib/adapters/xhr.js:162:14
 ❯ XMLHttpRequest.invokeTheCallbackFunction node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js:14:28
 ❯ XMLHttpRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js:35:32
 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25
 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3
 ❯ XMLHttpRequestImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
 ❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36
 ❯ requestErrorSteps node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:131:3
 ❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:60:3
 ❯ Request.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
 ❯ Module.renderWithProviders src/test/testUtil.tsx:39:3
 ❯ src/pages/CourseSelector/CourseTabs/CourseTabs.test.tsx:33:5

Error: Error: connect ECONNREFUSED ::1:8000
    at Object.dispatchError (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
    at Request.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
    at Request.emit (node:events:529:35)
    at ClientRequest.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) undefined

Check warning on line 0 in src/pages/CourseSelector/CourseTabs/CourseTabs.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

CourseTabs > should remove all tabs (src/pages/CourseSelector/CourseTabs/CourseTabs.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Network Error

AxiosError: Network Error
 ❯ XMLHttpRequest.handleError node_modules/axios/lib/adapters/xhr.js:162:14
 ❯ XMLHttpRequest.invokeTheCallbackFunction node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js:14:28
 ❯ XMLHttpRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js:35:32
 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25
 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3
 ❯ XMLHttpRequestImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
 ❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36
 ❯ requestErrorSteps node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:131:3
 ❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:60:3
 ❯ Request.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
 ❯ Module.renderWithProviders src/test/testUtil.tsx:39:3
 ❯ src/pages/CourseSelector/CourseTabs/CourseTabs.test.tsx:42:5

Error: Error: connect ECONNREFUSED ::1:8000
    at Object.dispatchError (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
    at Request.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
    at Request.emit (node:events:529:35)
    at ClientRequest.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) undefined

Check warning on line 0 in src/pages/DegreeWizard/DegreeStep/DegreeStep.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

DegreeStep > should render (src/pages/DegreeWizard/DegreeStep/DegreeStep.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Unable to find an element with the text: What are you studying?. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.  Ignored nodes: comments, script, style [36m<body />[39m

TestingLibraryElementError: Unable to find an element with the text: What are you studying?. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.

Ignored nodes: comments, script, style
[36m<body />[39m
 ❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
 ❯ src/pages/DegreeWizard/DegreeStep/DegreeStep.test.tsx:45:19

Check warning on line 0 in src/pages/DegreeWizard/DegreeStep/DegreeStep.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

DegreeStep > should dispatch correct props and call incrementStep after selecting degree (src/pages/DegreeWizard/DegreeStep/DegreeStep.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Unable to find an element with the placeholder text of: Search Degree  Ignored nodes: comments, script, style [36m<body />[39m

TestingLibraryElementError: Unable to find an element with the placeholder text of: Search Degree

Ignored nodes: comments, script, style
[36m<body />[39m
 ❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
 ❯ src/pages/DegreeWizard/DegreeStep/DegreeStep.test.tsx:60:19

Check warning on line 0 in src/pages/DegreeWizard/DegreeStep/DegreeStep.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

DegreeStep > should search degree based on program code (src/pages/DegreeWizard/DegreeStep/DegreeStep.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Unable to find an element with the placeholder text of: Search Degree  Ignored nodes: comments, script, style [36m<body />[39m

TestingLibraryElementError: Unable to find an element with the placeholder text of: Search Degree

Ignored nodes: comments, script, style
[36m<body />[39m
 ❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
 ❯ src/pages/DegreeWizard/DegreeStep/DegreeStep.test.tsx:92:27

Check warning on line 0 in src/pages/DegreeWizard/DegreeStep/DegreeStep.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

DegreeStep > should search degree based on program name (src/pages/DegreeWizard/DegreeStep/DegreeStep.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Unable to find an element with the placeholder text of: Search Degree  Ignored nodes: comments, script, style [36m<body />[39m

TestingLibraryElementError: Unable to find an element with the placeholder text of: Search Degree

Ignored nodes: comments, script, style
[36m<body />[39m
 ❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
 ❯ src/pages/DegreeWizard/DegreeStep/DegreeStep.test.tsx:104:27

Check warning on line 0 in src/pages/DegreeWizard/DegreeStep/DegreeStep.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

DegreeStep > should search degree case insensitively (src/pages/DegreeWizard/DegreeStep/DegreeStep.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Unable to find an element with the placeholder text of: Search Degree  Ignored nodes: comments, script, style [36m<body />[39m

TestingLibraryElementError: Unable to find an element with the placeholder text of: Search Degree

Ignored nodes: comments, script, style
[36m<body />[39m
 ❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
 ❯ src/pages/DegreeWizard/DegreeStep/DegreeStep.test.tsx:116:27

Check warning on line 0 in src/pages/DegreeWizard/DegreeStep/DegreeStep.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

DegreeStep > should not show degree options if no match (src/pages/DegreeWizard/DegreeStep/DegreeStep.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Unable to find an element with the placeholder text of: Search Degree  Ignored nodes: comments, script, style [36m<body />[39m

TestingLibraryElementError: Unable to find an element with the placeholder text of: Search Degree

Ignored nodes: comments, script, style
[36m<body />[39m
 ❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:76:38
 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
 ❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
 ❯ src/pages/DegreeWizard/DegreeStep/DegreeStep.test.tsx:128:27

Check warning on line 0 in src/pages/DegreeWizard/SpecialisationStep/SpecialisationStep.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

SpecialisationStep > should render (src/pages/DegreeWizard/SpecialisationStep/SpecialisationStep.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Network Error

AxiosError: Network Error
 ❯ XMLHttpRequest.handleError node_modules/axios/lib/adapters/xhr.js:162:14
 ❯ XMLHttpRequest.invokeTheCallbackFunction node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js:14:28
 ❯ XMLHttpRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js:35:32
 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25
 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3
 ❯ XMLHttpRequestImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
 ❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36
 ❯ requestErrorSteps node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:131:3
 ❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:60:3
 ❯ Request.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
 ❯ Module.renderWithProviders src/test/testUtil.tsx:39:3
 ❯ src/pages/DegreeWizard/SpecialisationStep/SpecialisationStep.test.tsx:29:5

Error: Error: connect ECONNREFUSED ::1:8000
    at Object.dispatchError (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
    at Request.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
    at Request.emit (node:events:529:35)
    at ClientRequest.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) undefined

Check warning on line 0 in src/pages/DegreeWizard/SpecialisationStep/SpecialisationStep.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

SpecialisationStep > should set degree info when adding an item (src/pages/DegreeWizard/SpecialisationStep/SpecialisationStep.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
Network Error

AxiosError: Network Error
 ❯ XMLHttpRequest.handleError node_modules/axios/lib/adapters/xhr.js:162:14
 ❯ XMLHttpRequest.invokeTheCallbackFunction node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js:14:28
 ❯ XMLHttpRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js:35:32
 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25
 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3
 ❯ XMLHttpRequestImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9
 ❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36
 ❯ requestErrorSteps node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:131:3
 ❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:60:3
 ❯ Request.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18
 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
 ❯ Module.renderWithProviders src/test/testUtil.tsx:39:3
 ❯ src/pages/DegreeWizard/SpecialisationStep/SpecialisationStep.test.tsx:61:5

Error: Error: connect ECONNREFUSED ::1:8000
    at Object.dispatchError (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19)
    at Request.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18)
    at Request.emit (node:events:529:35)
    at ClientRequest.<anonymous> (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:127:14)
    at ClientRequest.emit (node:events:517:28)
    at Socket.socketErrorListener (node:_http_client:501:9)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) undefined