Skip to content

Update Term Planner to use React Query #4451

Update Term Planner to use React Query

Update Term Planner to use React Query #4451

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Test Results failed Sep 4, 2023 in 0s

34 fail, 4 skipped, 129 pass in 3m 17s

167 tests  ±0   129 ✔️ ±0   3m 17s ⏱️ +27s
  14 suites ±0       4 💤 ±0 
    2 files   ±0     34 ±0 

Results for commit 29eb9f8. ± Comparison against earlier commit 9276874.

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
No QueryClient set, use QueryClientProvider to set one

Error: No QueryClient set, use QueryClientProvider to set one
 ❯ Proxy.useQueryClient node_modules/react-query/lib/react/QueryClientProvider.js:36:11
 ❯ ResetModal src/components/ResetModal/ResetModal.tsx:18:23
 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20

Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
The above error occurred in the <ResetModal> component:

    at ResetModal (/home/runner/work/circles/circles/frontend/src/components/ResetModal/ResetModal.tsx:17:23)
    at Provider (/home/runner/work/circles/circles/frontend/node_modules/react-redux/lib/components/Provider.js:19:3)
    at exports.ThemeProvider (/home/runner/work/circles/circles/frontend/node_modules/styled-components/dist/styled-components.cjs.js:1:24886)
    at Router (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1135:17)
    at MemoryRouter (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1037:7)
    at Wrapper (/home/runner/work/circles/circles/frontend/src/test/testUtil.tsx:23:22)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

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 show modal when degree wizard is complete (src/components/ResetModal/ResetModal.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
No QueryClient set, use QueryClientProvider to set one

Error: No QueryClient set, use QueryClientProvider to set one
 ❯ Proxy.useQueryClient node_modules/react-query/lib/react/QueryClientProvider.js:36:11
 ❯ ResetModal src/components/ResetModal/ResetModal.tsx:18:23
 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20

Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
The above error occurred in the <ResetModal> component:

    at ResetModal (/home/runner/work/circles/circles/frontend/src/components/ResetModal/ResetModal.tsx:17:23)
    at Provider (/home/runner/work/circles/circles/frontend/node_modules/react-redux/lib/components/Provider.js:19:3)
    at exports.ThemeProvider (/home/runner/work/circles/circles/frontend/node_modules/styled-components/dist/styled-components.cjs.js:1:24886)
    at Router (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1135:17)
    at MemoryRouter (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1037:7)
    at Wrapper (/home/runner/work/circles/circles/frontend/src/test/testUtil.tsx:23:22)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

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 reset state when reset button is clicked (src/components/ResetModal/ResetModal.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
No QueryClient set, use QueryClientProvider to set one

Error: No QueryClient set, use QueryClientProvider to set one
 ❯ Proxy.useQueryClient node_modules/react-query/lib/react/QueryClientProvider.js:36:11
 ❯ ResetModal src/components/ResetModal/ResetModal.tsx:18:23
 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20

Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
The above error occurred in the <ResetModal> component:

    at ResetModal (/home/runner/work/circles/circles/frontend/src/components/ResetModal/ResetModal.tsx:17:23)
    at Provider (/home/runner/work/circles/circles/frontend/node_modules/react-redux/lib/components/Provider.js:19:3)
    at exports.ThemeProvider (/home/runner/work/circles/circles/frontend/node_modules/styled-components/dist/styled-components.cjs.js:1:24886)
    at Router (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1135:17)
    at MemoryRouter (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1037:7)
    at Wrapper (/home/runner/work/circles/circles/frontend/src/test/testUtil.tsx:23:22)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

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
No QueryClient set, use QueryClientProvider to set one

Error: No QueryClient set, use QueryClientProvider to set one
 ❯ Proxy.useQueryClient node_modules/react-query/lib/react/QueryClientProvider.js:36:11
 ❯ ResetModal src/components/ResetModal/ResetModal.tsx:18:23
 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20

Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
The above error occurred in the <ResetModal> component:

    at ResetModal (/home/runner/work/circles/circles/frontend/src/components/ResetModal/ResetModal.tsx:17:23)
    at Provider (/home/runner/work/circles/circles/frontend/node_modules/react-redux/lib/components/Provider.js:19:3)
    at exports.ThemeProvider (/home/runner/work/circles/circles/frontend/node_modules/styled-components/dist/styled-components.cjs.js:1:24886)
    at Router (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1135:17)
    at MemoryRouter (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1037:7)
    at Wrapper (/home/runner/work/circles/circles/frontend/src/test/testUtil.tsx:23:22)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

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
No QueryClient set, use QueryClientProvider to set one

Error: No QueryClient set, use QueryClientProvider to set one
 ❯ Proxy.useQueryClient node_modules/react-query/lib/react/QueryClientProvider.js:36:11
 ❯ ResetModal src/components/ResetModal/ResetModal.tsx:18:23
 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20

Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
The above error occurred in the <ResetModal> component:

    at ResetModal (/home/runner/work/circles/circles/frontend/src/components/ResetModal/ResetModal.tsx:17:23)
    at Provider (/home/runner/work/circles/circles/frontend/node_modules/react-redux/lib/components/Provider.js:19:3)
    at exports.ThemeProvider (/home/runner/work/circles/circles/frontend/node_modules/styled-components/dist/styled-components.cjs.js:1:24886)
    at Router (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1135:17)
    at MemoryRouter (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1037:7)
    at Wrapper (/home/runner/work/circles/circles/frontend/src/test/testUtil.tsx:23:22)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

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
expected [] to deeply equal [ 'COMP1511' ]

AssertionError: expected [] to deeply equal [ 'COMP1511' ]
 ❯ src/pages/CourseSelector/CourseSelector.test.tsx:99:48

Error at handleAddToUnplanned:  AxiosError: Request failed with status code 404
    at Function.AxiosError.from [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios[24m/lib/core/AxiosError.js:89:14[90m)[39m
    at createAxiosError [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/utils.js:139:29[90m)[39m
    at Object.settle [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/utils.js:127:7[90m)[39m
[90m    ... 6 lines matching cause stack trace ...[39m
    at Axios.httpMethod [as post] [90m(file:///home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios[24m/lib/core/Axios.js:181:19[90m)[39m {
  config: {
    transitional: {
      silentJSONParsing: [33mtrue[39m,
      forcedJSONParsing: [33mtrue[39m,
      clarifyTimeoutError: [33mfalse[39m
    },
    transformRequest: [ [36m[Function: transformRequest][39m ],
    transformResponse: [ [36m[Function: transformResponse][39m ],
    timeout: [33m0[39m,
    xsrfCookieName: [32m'XSRF-TOKEN'[39m,
    xsrfHeaderName: [32m'X-XSRF-TOKEN'[39m,
    maxContentLength: [33m-1[39m,
    maxBodyLength: [33m-1[39m,
    env: { FormData: [36m[Function][39m, Blob: [36m[class Blob][39m },
    validateStatus: [36m[Function: validateStatus][39m,
    headers: AxiosHeaders {
      Accept: [32m'application/json, text/plain, */*'[39m,
      [32m'Content-Type'[39m: [32m'application/json'[39m
    },
    params: { token: [32m''[39m },
    method: [32m'post'[39m,
    url: [32m'planner/addToUnplanned'[39m,
    data: [32m'{"courseCode":"COMP1511"}'[39m
  },
  response: {
    status: [33m404[39m,
    config: {
      transitional: [36m[Object][39m,
      transformRequest: [36m[Array][39m,
      transformResponse: [36m[Array][39m,
      timeout: [33m0[39m,
      xsrfCookieName: [32m'XSRF-TOKEN'[39m,
      xsrfHeaderName: [32m'X-XSRF-TOKEN'[39m,
      maxContentLength: [33m-1[39m,
      maxBodyLength: [33m-1[39m,
      env: [36m[Object][39m,
      validateStatus: [36m[Function: validateStatus][39m,
      headers: [36m[AxiosHeaders][39m,
      params: [36m[Object][39m,
      method: [32m'post'[39m,
      url: [32m'planner/addToUnplanned'[39m,
      data: [32m'{"courseCode":"COMP1511"}'[39m
    },
    data: [90mundefined[39m,
    headers: AxiosHeaders {}
  },
  cause: Error: Request failed with status code 404
      at createAxiosError [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/utils.js:139:34[90m)[39m
      at Object.settle [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/utils.js:127:7[90m)[39m
      at handleRequest [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/handle_request.js:127:15[90m)[39m
      at [90m/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/index.js:23:7
      at new Promise (<anonymous>)
      at MockAdapter.<anonymous> [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/index.js:22:12[90m)[39m
      at Axios.dispatchRequest [90m(file:///home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios[24m/lib/core/dispatchRequest.js:51:10[90m)[39m
      at Axios.request [90m(file:///home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios[24m/lib/core/Axios.js:142:33[90m)[39m
      at Axios.httpMethod [as post] [90m(file:///home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios[24m/lib/core/Axios.js:181:19[90m)[39m
      at Function.wrap [90m(file:///home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios[24m/lib/helpers/bind.js:5:15[90m)[39m
}

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
No QueryClient set, use QueryClientProvider to set one

Error: No QueryClient set, use QueryClientProvider to set one
 ❯ Proxy.useQueryClient node_modules/react-query/lib/react/QueryClientProvider.js:36:11
 ❯ ResetModal src/components/ResetModal/ResetModal.tsx:18:23
 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20

Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
The above error occurred in the <ResetModal> component:

    at ResetModal (/home/runner/work/circles/circles/frontend/src/components/ResetModal/ResetModal.tsx:17:23)
    at div
    at I (/home/runner/work/circles/circles/frontend/node_modules/styled-components/dist/styled-components.cjs.js:1:19189)
    at div
    at PageTemplate (/home/runner/work/circles/circles/frontend/src/components/PageTemplate/PageTemplate.tsx:9:25)
    at DegreeWizard (/home/runner/work/circles/circles/frontend/src/pages/DegreeWizard/DegreeWizard.tsx:33:51)
    at Provider (/home/runner/work/circles/circles/frontend/node_modules/react-redux/lib/components/Provider.js:19:3)
    at exports.ThemeProvider (/home/runner/work/circles/circles/frontend/node_modules/styled-components/dist/styled-components.cjs.js:1:24886)
    at Router (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1135:17)
    at MemoryRouter (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1037:7)
    at Wrapper (/home/runner/work/circles/circles/frontend/src/test/testUtil.tsx:23:22)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

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
No QueryClient set, use QueryClientProvider to set one

Error: No QueryClient set, use QueryClientProvider to set one
 ❯ Proxy.useQueryClient node_modules/react-query/lib/react/QueryClientProvider.js:36:11
 ❯ ResetModal src/components/ResetModal/ResetModal.tsx:18:23
 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20

Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at ResetModal [90m(/home/runner/work/circles/circles/frontend/[39msrc/components/ResetModal/ResetModal.tsx:18:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
The above error occurred in the <ResetModal> component:

    at ResetModal (/home/runner/work/circles/circles/frontend/src/components/ResetModal/ResetModal.tsx:17:23)
    at div
    at I (/home/runner/work/circles/circles/frontend/node_modules/styled-components/dist/styled-components.cjs.js:1:19189)
    at div
    at PageTemplate (/home/runner/work/circles/circles/frontend/src/components/PageTemplate/PageTemplate.tsx:9:25)
    at DegreeWizard (/home/runner/work/circles/circles/frontend/src/pages/DegreeWizard/DegreeWizard.tsx:33:51)
    at Provider (/home/runner/work/circles/circles/frontend/node_modules/react-redux/lib/components/Provider.js:19:3)
    at exports.ThemeProvider (/home/runner/work/circles/circles/frontend/node_modules/styled-components/dist/styled-components.cjs.js:1:24886)
    at Router (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1135:17)
    at MemoryRouter (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1037:7)
    at Wrapper (/home/runner/work/circles/circles/frontend/src/test/testUtil.tsx:23:22)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

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
expected [] to deeply equal [ 'COMP1511' ]

AssertionError: expected [] to deeply equal [ 'COMP1511' ]
 ❯ src/pages/CourseSelector/CourseMenuTitle/CourseMenuTitle.test.tsx:43:48

Error at handleAddToUnplanned:  AxiosError: Request failed with status code 404
    at Function.AxiosError.from [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios[24m/lib/core/AxiosError.js:89:14[90m)[39m
    at createAxiosError [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/utils.js:139:29[90m)[39m
    at Object.settle [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/utils.js:127:7[90m)[39m
[90m    ... 6 lines matching cause stack trace ...[39m
    at Axios.httpMethod [as post] [90m(file:///home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios[24m/lib/core/Axios.js:181:19[90m)[39m {
  config: {
    transitional: {
      silentJSONParsing: [33mtrue[39m,
      forcedJSONParsing: [33mtrue[39m,
      clarifyTimeoutError: [33mfalse[39m
    },
    transformRequest: [ [36m[Function: transformRequest][39m ],
    transformResponse: [ [36m[Function: transformResponse][39m ],
    timeout: [33m0[39m,
    xsrfCookieName: [32m'XSRF-TOKEN'[39m,
    xsrfHeaderName: [32m'X-XSRF-TOKEN'[39m,
    maxContentLength: [33m-1[39m,
    maxBodyLength: [33m-1[39m,
    env: { FormData: [36m[Function][39m, Blob: [36m[class Blob][39m },
    validateStatus: [36m[Function: validateStatus][39m,
    headers: AxiosHeaders {
      Accept: [32m'application/json, text/plain, */*'[39m,
      [32m'Content-Type'[39m: [32m'application/json'[39m
    },
    params: { token: [32m''[39m },
    method: [32m'post'[39m,
    url: [32m'planner/addToUnplanned'[39m,
    data: [32m'{"courseCode":"COMP1511"}'[39m
  },
  response: {
    status: [33m404[39m,
    config: {
      transitional: [36m[Object][39m,
      transformRequest: [36m[Array][39m,
      transformResponse: [36m[Array][39m,
      timeout: [33m0[39m,
      xsrfCookieName: [32m'XSRF-TOKEN'[39m,
      xsrfHeaderName: [32m'X-XSRF-TOKEN'[39m,
      maxContentLength: [33m-1[39m,
      maxBodyLength: [33m-1[39m,
      env: [36m[Object][39m,
      validateStatus: [36m[Function: validateStatus][39m,
      headers: [36m[AxiosHeaders][39m,
      params: [36m[Object][39m,
      method: [32m'post'[39m,
      url: [32m'planner/addToUnplanned'[39m,
      data: [32m'{"courseCode":"COMP1511"}'[39m
    },
    data: [90mundefined[39m,
    headers: AxiosHeaders {}
  },
  cause: Error: Request failed with status code 404
      at createAxiosError [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/utils.js:139:34[90m)[39m
      at Object.settle [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/utils.js:127:7[90m)[39m
      at handleRequest [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/handle_request.js:127:15[90m)[39m
      at [90m/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/index.js:23:7
      at new Promise (<anonymous>)
      at MockAdapter.<anonymous> [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios-mock-adapter[24m/src/index.js:22:12[90m)[39m
      at Axios.dispatchRequest [90m(file:///home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios[24m/lib/core/dispatchRequest.js:51:10[90m)[39m
      at Axios.request [90m(file:///home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios[24m/lib/core/Axios.js:142:33[90m)[39m
      at Axios.httpMethod [as post] [90m(file:///home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios[24m/lib/core/Axios.js:181:19[90m)[39m
      at Function.wrap [90m(file:///home/runner/work/circles/circles/frontend/[39mnode_modules/[4maxios[24m/lib/helpers/bind.js:5:15[90m)[39m
}

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
expected "spy" to be called with arguments: [ { payload: { …(2) }, …(1) } ]  Received:    Number of calls: 0

AssertionError: expected "spy" to be called with arguments: [ { payload: { …(2) }, …(1) } ]

Received: 


Number of calls: 0

 ❯ src/pages/DegreeWizard/DegreeStep/DegreeStep.test.tsx:48: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 dispatch correct props when selecting a specialisation (src/pages/DegreeWizard/SpecialisationStep/SpecialisationStep.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
expected "spy" to be called with arguments: [ { payload: 'COMPA1', …(1) } ]  Received:    Number of calls: 0

AssertionError: expected "spy" to be called with arguments: [ { payload: 'COMPA1', …(1) } ]

Received: 


Number of calls: 0

 ❯ src/pages/DegreeWizard/SpecialisationStep/SpecialisationStep.test.tsx:108:27

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

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

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
No QueryClient set, use QueryClientProvider to set one

Error: No QueryClient set, use QueryClientProvider to set one
 ❯ Proxy.useQueryClient node_modules/react-query/lib/react/QueryClientProvider.js:36:11
 ❯ StartBrowsingStep src/pages/DegreeWizard/StartBrowsingStep/StartBrowsingStep.tsx:17:23
 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20

Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at StartBrowsingStep [90m(/home/runner/work/circles/circles/frontend/[39msrc/pages/DegreeWizard/StartBrowsingStep/StartBrowsingStep.tsx:17:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at StartBrowsingStep [90m(/home/runner/work/circles/circles/frontend/[39msrc/pages/DegreeWizard/StartBrowsingStep/StartBrowsingStep.tsx:17:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
The above error occurred in the <StartBrowsingStep> component:

    at StartBrowsingStep (/home/runner/work/circles/circles/frontend/src/pages/DegreeWizard/StartBrowsingStep/StartBrowsingStep.tsx:19:30)
    at Provider (/home/runner/work/circles/circles/frontend/node_modules/react-redux/lib/components/Provider.js:19:3)
    at exports.ThemeProvider (/home/runner/work/circles/circles/frontend/node_modules/styled-components/dist/styled-components.cjs.js:1:24886)
    at Router (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1135:17)
    at MemoryRouter (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1037:7)
    at Wrapper (/home/runner/work/circles/circles/frontend/src/test/testUtil.tsx:23:22)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

StartBrowsingStep > should call openNotification when program code is not provided (src/pages/DegreeWizard/StartBrowsingStep/StartBrowsingStep.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
No QueryClient set, use QueryClientProvider to set one

Error: No QueryClient set, use QueryClientProvider to set one
 ❯ Proxy.useQueryClient node_modules/react-query/lib/react/QueryClientProvider.js:36:11
 ❯ StartBrowsingStep src/pages/DegreeWizard/StartBrowsingStep/StartBrowsingStep.tsx:17:23
 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20

Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at StartBrowsingStep [90m(/home/runner/work/circles/circles/frontend/[39msrc/pages/DegreeWizard/StartBrowsingStep/StartBrowsingStep.tsx:17:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at StartBrowsingStep [90m(/home/runner/work/circles/circles/frontend/[39msrc/pages/DegreeWizard/StartBrowsingStep/StartBrowsingStep.tsx:17:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
The above error occurred in the <StartBrowsingStep> component:

    at StartBrowsingStep (/home/runner/work/circles/circles/frontend/src/pages/DegreeWizard/StartBrowsingStep/StartBrowsingStep.tsx:19:30)
    at Provider (/home/runner/work/circles/circles/frontend/node_modules/react-redux/lib/components/Provider.js:19:3)
    at exports.ThemeProvider (/home/runner/work/circles/circles/frontend/node_modules/styled-components/dist/styled-components.cjs.js:1:24886)
    at Router (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1135:17)
    at MemoryRouter (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1037:7)
    at Wrapper (/home/runner/work/circles/circles/frontend/src/test/testUtil.tsx:23:22)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

StartBrowsingStep > should call openNotification when a specialisation is not provided (src/pages/DegreeWizard/StartBrowsingStep/StartBrowsingStep.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
No QueryClient set, use QueryClientProvider to set one

Error: No QueryClient set, use QueryClientProvider to set one
 ❯ Proxy.useQueryClient node_modules/react-query/lib/react/QueryClientProvider.js:36:11
 ❯ StartBrowsingStep src/pages/DegreeWizard/StartBrowsingStep/StartBrowsingStep.tsx:17:23
 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20

Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at StartBrowsingStep [90m(/home/runner/work/circles/circles/frontend/[39msrc/pages/DegreeWizard/StartBrowsingStep/StartBrowsingStep.tsx:17:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at StartBrowsingStep [90m(/home/runner/work/circles/circles/frontend/[39msrc/pages/DegreeWizard/StartBrowsingStep/StartBrowsingStep.tsx:17:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
The above error occurred in the <StartBrowsingStep> component:

    at StartBrowsingStep (/home/runner/work/circles/circles/frontend/src/pages/DegreeWizard/StartBrowsingStep/StartBrowsingStep.tsx:19:30)
    at Provider (/home/runner/work/circles/circles/frontend/node_modules/react-redux/lib/components/Provider.js:19:3)
    at exports.ThemeProvider (/home/runner/work/circles/circles/frontend/node_modules/styled-components/dist/styled-components.cjs.js:1:24886)
    at Router (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1135:17)
    at MemoryRouter (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1037:7)
    at Wrapper (/home/runner/work/circles/circles/frontend/src/test/testUtil.tsx:23:22)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

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

See this annotation in the file changed.

@github-actions github-actions / Test Results

StartBrowsingStep > should set setIsComplete and navigate to course selector (src/pages/DegreeWizard/StartBrowsingStep/StartBrowsingStep.test.tsx) failed

artifacts/fe-test-results/fe-test-results.xml [took 0s]
Raw output
No QueryClient set, use QueryClientProvider to set one

Error: No QueryClient set, use QueryClientProvider to set one
 ❯ Proxy.useQueryClient node_modules/react-query/lib/react/QueryClientProvider.js:36:11
 ❯ StartBrowsingStep src/pages/DegreeWizard/StartBrowsingStep/StartBrowsingStep.tsx:17:23
 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:16305:18
 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20074:13
 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21587:16
 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27426:14
 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26560:12
 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26466:5
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26434:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20

Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at StartBrowsingStep [90m(/home/runner/work/circles/circles/frontend/[39msrc/pages/DegreeWizard/StartBrowsingStep/StartBrowsingStep.tsx:17:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
Error: Uncaught [Error: No QueryClient set, use QueryClientProvider to set one]
    at reportException (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
    at innerInvokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
    at invokeEventListeners (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/circles/circles/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at beginWork$1 (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
    at performUnitOfWork (/home/runner/work/circles/circles/frontend/node_modules/react-dom/cjs/react-dom.development.js:26560:12) Error: No QueryClient set, use QueryClientProvider to set one
    at Proxy.useQueryClient [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-query[24m/lib/react/QueryClientProvider.js:36:11[90m)[39m
    at StartBrowsingStep [90m(/home/runner/work/circles/circles/frontend/[39msrc/pages/DegreeWizard/StartBrowsingStep/StartBrowsingStep.tsx:17:23[90m)[39m
    at renderWithHooks [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:16305:18[90m)[39m
    at mountIndeterminateComponent [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:20074:13[90m)[39m
    at beginWork [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:21587:16[90m)[39m
    at HTMLUnknownElement.callCallback [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mreact-dom[24m/cjs/react-dom.development.js:4164:14[90m)[39m
    at HTMLUnknownElement.callTheUserObjectsOperation [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/generated/EventListener.js:26:30[90m)[39m
    at innerInvokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:350:25[90m)[39m
    at invokeEventListeners [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:286:3[90m)[39m
    at HTMLUnknownElementImpl._dispatch [90m(/home/runner/work/circles/circles/frontend/[39mnode_modules/[4mjsdom[24m/lib/jsdom/living/events/EventTarget-impl.js:233:9[90m)[39m
The above error occurred in the <StartBrowsingStep> component:

    at StartBrowsingStep (/home/runner/work/circles/circles/frontend/src/pages/DegreeWizard/StartBrowsingStep/StartBrowsingStep.tsx:19:30)
    at Provider (/home/runner/work/circles/circles/frontend/node_modules/react-redux/lib/components/Provider.js:19:3)
    at exports.ThemeProvider (/home/runner/work/circles/circles/frontend/node_modules/styled-components/dist/styled-components.cjs.js:1:24886)
    at Router (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1135:17)
    at MemoryRouter (/home/runner/work/circles/circles/frontend/node_modules/react-router/dist/umd/react-router.development.js:1037:7)
    at Wrapper (/home/runner/work/circles/circles/frontend/src/test/testUtil.tsx:23:22)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_unplanned_to_term (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
assert 500 == 200
 +  where 500 = <Response [500]>.status_code
def test_unplanned_to_term():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
    
        data = {
            'destRow': 0,
            'destTerm': 'T3',
            'destIndex': 1,
            'courseCode': 'COMP6447'
        }
        x = requests.post('http://127.0.0.1:8000/planner/unPlannedToTerm', json=data)
>       assert x.status_code == 200
E       assert 500 == 200
E        +  where 500 = <Response [500]>.status_code

server/tests/planner/test_moving_course.py:55: AssertionError

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_unplanned_to_term_multiterm (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
assert 400 == 200
 +  where 400 = <Response [400]>.status_code
def test_unplanned_to_term_multiterm():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["empty_year"])
        data = {'courseCode': 'ENGG2600'}
        requests.post('http://127.0.0.1:8000/planner/addToUnplanned', json=data)
    
        data = {
            'destRow': 0,
            'destTerm': 'T3',
            'destIndex': 0,
            'courseCode': 'ENGG2600'
        }
        x = requests.post('http://127.0.0.1:8000/planner/unPlannedToTerm', json=data)
>       assert x.status_code == 200
E       assert 400 == 200
E        +  where 400 = <Response [400]>.status_code

server/tests/planner/test_moving_course.py:74: AssertionError

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_planned_to_term (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
IndexError: list index out of range
def test_planned_to_term():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
        data = requests.get(f'http://127.0.0.1:8000/user/data/all/{DUMMY_TOKEN}').json()
>       assert "COMP2521" in data['planner']['years'][0]['T2']
E       IndexError: list index out of range

server/tests/planner/test_moving_course.py:101: IndexError

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_planned_to_term_multiterm (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
IndexError: list index out of range
def test_planned_to_term_multiterm():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
        data = requests.get(f'http://127.0.0.1:8000/user/data/all/{DUMMY_TOKEN}').json()
>       assert "ENGG2600" in data['planner']['years'][1]['T3']
E       IndexError: list index out of range

server/tests/planner/test_moving_course.py:122: IndexError

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_invalid_planned_to_term (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
assert 500 == 400
 +  where 500 = <Response [500]>.status_code
def test_invalid_planned_to_term():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
    
        data = {
            'srcRow': 1,
            'srcTerm': 'T3',
            'destRow': 0,
            'destTerm': 'T2',
            'destIndex': 0,
            'courseCode': 'ENGG2600'
        }
        x = requests.post('http://127.0.0.1:8000/planner/plannedToTerm', json=data)
>       assert x.status_code == 400
E       assert 500 == 400
E        +  where 500 = <Response [500]>.status_code

server/tests/planner/test_moving_course.py:156: AssertionError

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_remove_unplanned_course (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
AssertionError: assert 'COMP6447' in []
def test_remove_unplanned_course():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
        data = requests.get(f'http://127.0.0.1:8000/user/data/all/{DUMMY_TOKEN}').json()
>       assert "COMP6447" in data['planner']['unplanned']
E       AssertionError: assert 'COMP6447' in []

server/tests/planner/test_moving_course.py:162: AssertionError

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_remove_planned_course (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
IndexError: list index out of range
def test_remove_planned_course():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
        data = requests.get(f'http://127.0.0.1:8000/user/data/all/{DUMMY_TOKEN}').json()
>       assert "MATH1081" in data['planner']['years'][0]['T1']
E       IndexError: list index out of range

server/tests/planner/test_moving_course.py:175: IndexError

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_remove_all_courses (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
AssertionError: assert 'COMP6447' in []
def test_remove_all_courses():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
        data = requests.get(f'http://127.0.0.1:8000/user/data/all/{DUMMY_TOKEN}').json()
>       assert "COMP6447" in data['planner']['unplanned']
E       AssertionError: assert 'COMP6447' in []

server/tests/planner/test_moving_course.py:189: AssertionError

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_unschedule_course (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
IndexError: list index out of range
def test_unschedule_course():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
        data = requests.get(f'http://127.0.0.1:8000/user/data/all/{DUMMY_TOKEN}').json()
>       assert "COMP1531" in data['planner']['years'][0]['T2']
E       IndexError: list index out of range

server/tests/planner/test_moving_course.py:205: IndexError

Check warning on line 0 in server.tests.planner.test_moving_course

See this annotation in the file changed.

@github-actions github-actions / Test Results

test_unschedule_unplanned_course (server.tests.planner.test_moving_course) failed

artifacts/be-test-results/be-test-results.xml [took 0s]
Raw output
AssertionError: assert 'COMP6447' in []
def test_unschedule_unplanned_course():
        clear()
        requests.post('http://127.0.0.1:8000/user/saveLocalStorage', json=DATA["simple_year"])
        data = requests.get(f'http://127.0.0.1:8000/user/data/all/{DUMMY_TOKEN}').json()
>       assert "COMP6447" in data['planner']['unplanned']
E       AssertionError: assert 'COMP6447' in []

server/tests/planner/test_moving_course.py:221: AssertionError