🔥 Remove backend folder. #1938
11 fail, 93 pass in 20s
Annotations
Check warning on line 0 in src/__tests__/components/LineChart.test.tsx
github-actions / Test Results
LineChart > renders LineChart (src/__tests__/components/LineChart.test.tsx) failed
frontend/reports/vitest-junit.xml [took 0s]
Raw output
Cannot read properties of undefined (reading 'toString')
TypeError: Cannot read properties of undefined (reading 'toString')
❯ src/components/LineChartComponents/LineChart.tsx:588:64
❯ src/components/LineChartComponents/LineChart.tsx:587:21
❯ commitHookEffectListMount node_modules/react-dom/cjs/react-dom.development.js:23189:26
❯ commitPassiveMountOnFiber node_modules/react-dom/cjs/react-dom.development.js:24970:11
❯ commitPassiveMountEffects_complete node_modules/react-dom/cjs/react-dom.development.js:24930:9
❯ commitPassiveMountEffects_begin node_modules/react-dom/cjs/react-dom.development.js:24917:7
❯ commitPassiveMountEffects node_modules/react-dom/cjs/react-dom.development.js:24905:3
❯ flushPassiveEffectsImpl node_modules/react-dom/cjs/react-dom.development.js:27078:3
❯ flushPassiveEffects node_modules/react-dom/cjs/react-dom.development.js:27023:14
Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.
Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'toString')]
at reportException (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
at invokeGuardedCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
at reportUncaughtErrorInDEV (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:22877:5)
at captureCommitPhaseError (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:27165:5) TypeError: Cannot read properties of undefined (reading 'toString')
at /home/runner/work/ESID/ESID/frontend/src/components/LineChartComponents/LineChart.tsx:588:64
at Array.forEach (<anonymous>)
at /home/runner/work/ESID/ESID/frontend/src/components/LineChartComponents/LineChart.tsx:587:21
at commitHookEffectListMount (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
at commitPassiveMountOnFiber (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:24970:11)
at commitPassiveMountEffects_complete (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:24930:9)
at commitPassiveMountEffects_begin (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:24917:7)
at commitPassiveMountEffects (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:24905:3)
at flushPassiveEffectsImpl (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:27078:3)
at flushPassiveEffects (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:27023:14)
The above error occurred in the <LineChart> component:
at LineChart (/home/runner/work/ESID/ESID/frontend/src/components/LineChartComponents/LineChart.tsx:47:3)
at div
at LineChartTest (/home/runner/work/ESID/ESID/frontend/src/__tests__/components/LineChart.test.tsx:21:46)
at I18nextProvider (/home/runner/work/ESID/ESID/frontend/node_modules/react-i18next/dist/es/I18nextProvider.js:7:5)
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/__tests__/components/ParameterEditor.test.tsx
github-actions / Test Results
ParameterEditor > Editor Loaded (src/__tests__/components/ParameterEditor.test.tsx) failed
frontend/reports/vitest-junit.xml [took 1s]
Raw output
Unable to find an element with the text: group-filters.groups.age_0. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style [36m<body>[39m [36m<div>[39m [36m<div[39m [33mclass[39m=[32m"MuiBox-root css-5fb6cj"[39m [33mid[39m=[32m"table-container"[39m [36m>[39m [36m<div[39m [33mclass[39m=[32m"MuiTableContainer-root css-rorn0c-MuiTableContainer-root"[39m [36m>[39m [36m<table[39m [33mclass[39m=[32m"MuiTable-root MuiTable-stickyHeader css-1vdscya-MuiTable-root"[39m [36m>[39m [36m<thead[39m [33mclass[39m=[32m"MuiTableHead-root css-15wwp11-MuiTableHead-root"[39m [36m>[39m [36m<tr[39m [33mclass[39m=[32m"MuiTableRow-root MuiTableRow-head css-1q1u3t4-MuiTableRow-root"[39m [36m>[39m [36m<th[39m [33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m [33mcolspan[39m=[32m"2"[39m [33mscope[39m=[32m"col"[39m [36m>[39m [0mParameter[0m [36m</th>[39m [36m</tr>[39m [36m</thead>[39m [36m</table>[39m [36m</div>[39m [36m<div[39m [33mclass[39m=[32m"MuiBox-root css-kityg3"[39m [36m>[39m [36m<svg[39m [33maria-hidden[39m=[32m"true"[39m [33mclass[39m=[32m"MuiSvgIcon-root MuiSvgIcon-colorPrimary MuiSvgIcon-fontSizeLarge css-bsqp9w-MuiSvgIcon-root"[39m [33mdata-testid[39m=[32m"GridOffIcon"[39m [33mfocusable[39m=[32m"false"[39m [33mviewBox[39m=[32m"0 0 24 24"[39m [36m>[39m [36m<path[39m [33md[39m=[32m"M8 4v1.45l2 2V4h4v4h-3.45l2 2H14v1.45l2 2V10h4v4h-3.45l2 2H20v1.45l2 2V4c0-1.1-.9-2-2-2H4.55l2 2zm8 0h4v4h-4zM1.27 1.27 0 2.55l2 2V20c0 1.1.9 2 2 2h15.46l2 2 1.27-1.27zM10 12.55 11.45 14H10zm-6-6L5.45 8H4zM8 20H4v-4h4zm0-6H4v-4h3.45l.55.55zm6 6h-4v-4h3.45l.55.54zm2 0v-1.46L17.46 20z"[39m [36m/>[39m [36m</svg>[39m [36m<p[39m [33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-ahj2mt-MuiTypography-root"[39m [36m>[39m [0mparameters.no-parameters[0m [36m</p>[39m [36m</div>[39m [36m</div>[39m [36m</div>[39m [36m</body>[39m Ignored nodes: comments, script, style [36m<body>[39m [36m<div>[39m [36m<div[39m [33mclass[39m=[32m"MuiBox-root css-5fb6cj"[39m [33mid[39m=[32m"table-container"[39m [36m>[39m [36m<div[39m [33mclass[39m=[32m"MuiTableContainer-root css-rorn0c-MuiTableContainer-root"[39m [36m>[39m [36m<table[39m [33mclass[39m=[32m"MuiTable-root MuiTable-stickyHeader css-1vdscya-MuiTable-root"[39m [36m>[39m [36m<thead[39m [33mclass[39m=[32m"MuiTableHead-root css-15wwp11-MuiTableHead-root"[39m [36m>[39m [36m<tr[39m [33mclass[39m=[32m"MuiTableRow-root MuiTableRow-head css-1q1u3t4-MuiTableRow-root"[39m [36m>[39m [36m<th[39m [33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m [33mcolspan[39m=[32m"2"[39m [33mscope[39m=[32m"col"[39m [36m>[39m [0mParameter[0m [36m</th>[39m [36m</tr>[39m [36m</thead>[39m [36m</table>[39m [36m</div>[39m [36m<div[39m [33mclass[39m=[32m"MuiBox-root css-kityg3"[39m [36m>[39m [36m<svg[39m [33maria-hidden[39m=[32m"true"[39m [33mclass[39m=[32m"MuiSvgIcon-root MuiSvgIcon-colorPrimary MuiSvgIcon-fontSizeLarge css-bsqp9w-MuiSvgIcon-root"[39m [33mdata-testid[39m=[32m"GridOffIcon"[39m [33mfocusable[39m=[32m"false"[39m [33mviewBox[39m=[32m"0 0 24 24"[39m [36m>[39m [36m<path[39m [33md[39m=[32m"M8 4v1.45l2 2V4h4v4h-3.45l2 2H14v1.45l2 2V10h4v4h-3.45l2 2H20v1.45l2 2V4c0-1.1-.9-2-2-2H4.55l2 2zm8 0h4v4h-4zM1.27 1.27 0 2.55l2 2V20c0 1.1.9 2 2 2h15.46l2 2 1.27-1.27zM10 12.55 11.45 14H10zm-6-6L5.45 8H4zM8 20H4v-4h4zm0-6H4v-4h3.45l.55.55zm6 6h-4v-4h3.45l.55.54zm2 0v-1.46L17.46 20z"[39m [36m/>[39m [36m</svg>[39m [36m<p[39m [33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-ahj2mt-MuiTypography-root"[39m [36m>[39m [0mparameters.no-parameters[0m [36m</p>[39m [36m</div>[39m [36m</div>[39m [36m</div>[39m [36m</body>[39m
TestingLibraryElementError: Unable to find an element with the text: group-filters.groups.age_0. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
[36m<body>[39m
[36m<div>[39m
[36m<div[39m
[33mclass[39m=[32m"MuiBox-root css-5fb6cj"[39m
[33mid[39m=[32m"table-container"[39m
[36m>[39m
[36m<div[39m
[33mclass[39m=[32m"MuiTableContainer-root css-rorn0c-MuiTableContainer-root"[39m
[36m>[39m
[36m<table[39m
[33mclass[39m=[32m"MuiTable-root MuiTable-stickyHeader css-1vdscya-MuiTable-root"[39m
[36m>[39m
[36m<thead[39m
[33mclass[39m=[32m"MuiTableHead-root css-15wwp11-MuiTableHead-root"[39m
[36m>[39m
[36m<tr[39m
[33mclass[39m=[32m"MuiTableRow-root MuiTableRow-head css-1q1u3t4-MuiTableRow-root"[39m
[36m>[39m
[36m<th[39m
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m
[33mcolspan[39m=[32m"2"[39m
[33mscope[39m=[32m"col"[39m
[36m>[39m
[0mParameter[0m
[36m</th>[39m
[36m</tr>[39m
[36m</thead>[39m
[36m</table>[39m
[36m</div>[39m
[36m<div[39m
[33mclass[39m=[32m"MuiBox-root css-kityg3"[39m
[36m>[39m
[36m<svg[39m
[33maria-hidden[39m=[32m"true"[39m
[33mclass[39m=[32m"MuiSvgIcon-root MuiSvgIcon-colorPrimary MuiSvgIcon-fontSizeLarge css-bsqp9w-MuiSvgIcon-root"[39m
[33mdata-testid[39m=[32m"GridOffIcon"[39m
[33mfocusable[39m=[32m"false"[39m
[33mviewBox[39m=[32m"0 0 24 24"[39m
[36m>[39m
[36m<path[39m
[33md[39m=[32m"M8 4v1.45l2 2V4h4v4h-3.45l2 2H14v1.45l2 2V10h4v4h-3.45l2 2H20v1.45l2 2V4c0-1.1-.9-2-2-2H4.55l2 2zm8 0h4v4h-4zM1.27 1.27 0 2.55l2 2V20c0 1.1.9 2 2 2h15.46l2 2 1.27-1.27zM10 12.55 11.45 14H10zm-6-6L5.45 8H4zM8 20H4v-4h4zm0-6H4v-4h3.45l.55.55zm6 6h-4v-4h3.45l.55.54zm2 0v-1.46L17.46 20z"[39m
[36m/>[39m
[36m</svg>[39m
[36m<p[39m
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-ahj2mt-MuiTypography-root"[39m
[36m>[39m
[0mparameters.no-parameters[0m
[36m</p>[39m
[36m</div>[39m
[36m</div>[39m
[36m</div>[39m
[36m</body>[39m
Ignored nodes: comments, script, style
[36m<body>[39m
[36m<div>[39m
[36m<div[39m
[33mclass[39m=[32m"MuiBox-root css-5fb6cj"[39m
[33mid[39m=[32m"table-container"[39m
[36m>[39m
[36m<div[39m
[33mclass[39m=[32m"MuiTableContainer-root css-rorn0c-MuiTableContainer-root"[39m
[36m>[39m
[36m<table[39m
[33mclass[39m=[32m"MuiTable-root MuiTable-stickyHeader css-1vdscya-MuiTable-root"[39m
[36m>[39m
[36m<thead[39m
[33mclass[39m=[32m"MuiTableHead-root css-15wwp11-MuiTableHead-root"[39m
[36m>[39m
[36m<tr[39m
[33mclass[39m=[32m"MuiTableRow-root MuiTableRow-head css-1q1u3t4-MuiTableRow-root"[39m
[36m>[39m
[36m<th[39m
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m
[33mcolspan[39m=[32m"2"[39m
[33mscope[39m=[32m"col"[39m
[36m>[39m
[0mParameter[0m
[36m</th>[39m
[36m</tr>[39m
[36m</thead>[39m
[36m</table>[39m
[36m</div>[39m
[36m<div[39m
[33mclass[39m=[32m"MuiBox-root css-kityg3"[39m
[36m>[39m
[36m<svg[39m
[33maria-hidden[39m=[32m"true"[39m
[33mclass[39m=[32m"MuiSvgIcon-root MuiSvgIcon-colorPrimary MuiSvgIcon-fontSizeLarge css-bsqp9w-MuiSvgIcon-root"[39m
[33mdata-testid[39m=[32m"GridOffIcon"[39m
[33mfocusable[39m=[32m"false"[39m
[33mviewBox[39m=[32m"0 0 24 24"[39m
[36m>[39m
[36m<path[39m
[33md[39m=[32m"M8 4v1.45l2 2V4h4v4h-3.45l2 2H14v1.45l2 2V10h4v4h-3.45l2 2H20v1.45l2 2V4c0-1.1-.9-2-2-2H4.55l2 2zm8 0h4v4h-4zM1.27 1.27 0 2.55l2 2V20c0 1.1.9 2 2 2h15.46l2 2 1.27-1.27zM10 12.55 11.45 14H10zm-6-6L5.45 8H4zM8 20H4v-4h4zm0-6H4v-4h3.45l.55.55zm6 6h-4v-4h3.45l.55.54zm2 0v-1.46L17.46 20z"[39m
[36m/>[39m
[36m</svg>[39m
[36m<p[39m
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-ahj2mt-MuiTypography-root"[39m
[36m>[39m
[0mparameters.no-parameters[0m
[36m</p>[39m
[36m</div>[39m
[36m</div>[39m
[36m</div>[39m
[36m</body>[39m
❯ waitForWrapper node_modules/@testing-library/dom/dist/wait-for.js:163:27
❯ node_modules/@testing-library/dom/dist/query-helpers.js:86:33
❯ src/__tests__/components/ParameterEditor.test.tsx:26:18
Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.
Check warning on line 0 in src/__tests__/store/DataSelectionSlice.test.ts
github-actions / Test Results
DataSelectionSlice > Initial State (src/__tests__/store/DataSelectionSlice.test.ts) failed
frontend/reports/vitest-junit.xml [took 0s]
Raw output
expected { …(11) } to deeply equal { …(10) }
AssertionError: expected { …(11) } to deeply equal { …(10) }
❯ src/__tests__/store/DataSelectionSlice.test.ts:29:44
Check warning on line 0 in src/__tests__/components/Scenario/CardsComponents/CardContainer.test.tsx
github-actions / Test Results
CardContainer > renders data cards correctly (src/__tests__/components/Scenario/CardsComponents/CardContainer.test.tsx) failed
frontend/reports/vitest-junit.xml [took 0s]
Raw output
Cannot read properties of undefined (reading 'slice')
TypeError: Cannot read properties of undefined (reading 'slice')
❯ Module.hexToRGB src/util/util.ts:36:26
❯ MainCard src/components/ScenarioComponents/CardsComponents/MainCard/MainCard.tsx:100:73
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7
❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20
Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.
Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'slice')]
at reportException (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
at invokeGuardedCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
at beginWork$1 (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:27490:7)
at performUnitOfWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:26599:12) TypeError: Cannot read properties of undefined (reading 'slice')
at Module.hexToRGB (/home/runner/work/ESID/ESID/frontend/src/util/util.ts:36:26)
at MainCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/MainCard/MainCard.tsx:100:73)
at renderWithHooks (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at HTMLUnknownElement.callCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
react-i18next:: You will need to pass in an i18next instance by using initReactI18next
Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'slice')]
at reportException (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
at invokeGuardedCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
at beginWork$1 (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:27490:7)
at performUnitOfWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:26599:12) TypeError: Cannot read properties of undefined (reading 'slice')
at Module.hexToRGB (/home/runner/work/ESID/ESID/frontend/src/util/util.ts:36:26)
at MainCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/MainCard/MainCard.tsx:100:73)
at renderWithHooks (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at HTMLUnknownElement.callCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
The above error occurred in the <MainCard> component:
at MainCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/MainCard/MainCard.tsx:15:3)
at div
at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:62:23
at Box (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/createBox.js:31:41)
at DataCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:13:3)
at div
at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:62:23
at Box (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/createBox.js:31:41)
at CardContainer (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/CardContainer.tsx:11:3)
at RtlProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/RtlProvider/index.js:19:7)
at ThemeProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/private-theming/node/ThemeProvider/ThemeProvider.js:39:5)
at ThemeProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/ThemeProvider/ThemeProvider.js:51:5)
at div
at CardContainerTest (/home/runner/work/ESID/ESID/frontend/src/__tests__/components/Scenario/CardsComponents/CardContainer.test.tsx:72:71)
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/__tests__/components/Scenario/CardsComponents/CardContainer.test.tsx
github-actions / Test Results
CardContainer > renders filter values correctly (src/__tests__/components/Scenario/CardsComponents/CardContainer.test.tsx) failed
frontend/reports/vitest-junit.xml [took 0s]
Raw output
Cannot read properties of undefined (reading 'slice')
TypeError: Cannot read properties of undefined (reading 'slice')
❯ Module.hexToRGB src/util/util.ts:36:26
❯ MainCard src/components/ScenarioComponents/CardsComponents/MainCard/MainCard.tsx:100:73
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7
❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20
Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'slice')]
at reportException (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
at invokeGuardedCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
at beginWork$1 (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:27490:7)
at performUnitOfWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:26599:12) TypeError: Cannot read properties of undefined (reading 'slice')
at Module.hexToRGB (/home/runner/work/ESID/ESID/frontend/src/util/util.ts:36:26)
at MainCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/MainCard/MainCard.tsx:100:73)
at renderWithHooks (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at HTMLUnknownElement.callCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'slice')]
at reportException (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
at invokeGuardedCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
at beginWork$1 (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:27490:7)
at performUnitOfWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:26599:12) TypeError: Cannot read properties of undefined (reading 'slice')
at Module.hexToRGB (/home/runner/work/ESID/ESID/frontend/src/util/util.ts:36:26)
at MainCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/MainCard/MainCard.tsx:100:73)
at renderWithHooks (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at HTMLUnknownElement.callCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
The above error occurred in the <MainCard> component:
at MainCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/MainCard/MainCard.tsx:15:3)
at div
at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:62:23
at Box (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/createBox.js:31:41)
at DataCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:13:3)
at div
at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:62:23
at Box (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/createBox.js:31:41)
at CardContainer (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/CardContainer.tsx:11:3)
at RtlProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/RtlProvider/index.js:19:7)
at ThemeProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/private-theming/node/ThemeProvider/ThemeProvider.js:39:5)
at ThemeProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/ThemeProvider/ThemeProvider.js:51:5)
at div
at CardContainerTest (/home/runner/work/ESID/ESID/frontend/src/__tests__/components/Scenario/CardsComponents/CardContainer.test.tsx:72:71)
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/__tests__/components/Scenario/CardsComponents/CardContainer.test.tsx
github-actions / Test Results
CardContainer > renders compartments correctly (src/__tests__/components/Scenario/CardsComponents/CardContainer.test.tsx) failed
frontend/reports/vitest-junit.xml [took 0s]
Raw output
Cannot read properties of undefined (reading 'slice')
TypeError: Cannot read properties of undefined (reading 'slice')
❯ Module.hexToRGB src/util/util.ts:36:26
❯ MainCard src/components/ScenarioComponents/CardsComponents/MainCard/MainCard.tsx:100:73
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5
❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7
❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20
Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'slice')]
at reportException (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
at invokeGuardedCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
at beginWork$1 (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:27490:7)
at performUnitOfWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:26599:12) TypeError: Cannot read properties of undefined (reading 'slice')
at Module.hexToRGB (/home/runner/work/ESID/ESID/frontend/src/util/util.ts:36:26)
at MainCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/MainCard/MainCard.tsx:100:73)
at renderWithHooks (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at HTMLUnknownElement.callCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'slice')]
at reportException (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
at invokeGuardedCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
at beginWork$1 (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:27490:7)
at performUnitOfWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:26599:12) TypeError: Cannot read properties of undefined (reading 'slice')
at Module.hexToRGB (/home/runner/work/ESID/ESID/frontend/src/util/util.ts:36:26)
at MainCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/MainCard/MainCard.tsx:100:73)
at renderWithHooks (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at HTMLUnknownElement.callCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
The above error occurred in the <MainCard> component:
at MainCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/MainCard/MainCard.tsx:15:3)
at div
at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:62:23
at Box (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/createBox.js:31:41)
at DataCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:13:3)
at div
at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-f93e57b0.cjs.dev.js:62:23
at Box (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/createBox.js:31:41)
at CardContainer (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/CardContainer.tsx:11:3)
at RtlProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/RtlProvider/index.js:19:7)
at ThemeProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/private-theming/node/ThemeProvider/ThemeProvider.js:39:5)
at ThemeProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/ThemeProvider/ThemeProvider.js:51:5)
at div
at CardContainerTest (/home/runner/work/ESID/ESID/frontend/src/__tests__/components/Scenario/CardsComponents/CardContainer.test.tsx:72:71)
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/__tests__/components/Scenario/CardsComponents/DataCard.test.tsx
github-actions / Test Results
DataCard > renders DataCard correctly (src/__tests__/components/Scenario/CardsComponents/DataCard.test.tsx) failed
frontend/reports/vitest-junit.xml [took 0s]
Raw output
Cannot read properties of undefined (reading 'toString')
TypeError: Cannot read properties of undefined (reading 'toString')
❯ src/components/ScenarioComponents/CardsComponents/DataCard.tsx:99:39
❯ mountMemo node_modules/react-dom/cjs/react-dom.development.js:16406:19
❯ Object.useMemo node_modules/react-dom/cjs/react-dom.development.js:16851:16
❯ Proxy.useMemo node_modules/react/cjs/react.development.js:1650:21
❯ DataCard src/components/ScenarioComponents/CardsComponents/DataCard.tsx:98:36
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
Warning: `ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.
Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'toString')]
at reportException (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
at invokeGuardedCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
at beginWork$1 (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:27490:7)
at performUnitOfWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:26599:12) TypeError: Cannot read properties of undefined (reading 'toString')
at /home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:99:39
at mountMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:16406:19)
at Object.useMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:16851:16)
at Proxy.useMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react/cjs/react.development.js:1650:21)
at DataCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:98:36)
at renderWithHooks (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at HTMLUnknownElement.callCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'toString')]
at reportException (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
at invokeGuardedCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
at beginWork$1 (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:27490:7)
at performUnitOfWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:26599:12) TypeError: Cannot read properties of undefined (reading 'toString')
at /home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:99:39
at mountMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:16406:19)
at Object.useMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:16851:16)
at Proxy.useMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react/cjs/react.development.js:1650:21)
at DataCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:98:36)
at renderWithHooks (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at HTMLUnknownElement.callCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
The above error occurred in the <DataCard> component:
at DataCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:13:3)
at RtlProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/RtlProvider/index.js:19:7)
at ThemeProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/private-theming/node/ThemeProvider/ThemeProvider.js:39:5)
at ThemeProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/ThemeProvider/ThemeProvider.js:51:5)
at DataCardTest (/home/runner/work/ESID/ESID/frontend/src/__tests__/components/Scenario/CardsComponents/DataCard.test.tsx:83:71)
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/__tests__/components/Scenario/CardsComponents/DataCard.test.tsx
github-actions / Test Results
DataCard > renders compartment values correctly (src/__tests__/components/Scenario/CardsComponents/DataCard.test.tsx) failed
frontend/reports/vitest-junit.xml [took 0s]
Raw output
Cannot read properties of undefined (reading 'toString')
TypeError: Cannot read properties of undefined (reading 'toString')
❯ src/components/ScenarioComponents/CardsComponents/DataCard.tsx:99:39
❯ mountMemo node_modules/react-dom/cjs/react-dom.development.js:16406:19
❯ Object.useMemo node_modules/react-dom/cjs/react-dom.development.js:16851:16
❯ Proxy.useMemo node_modules/react/cjs/react.development.js:1650:21
❯ DataCard src/components/ScenarioComponents/CardsComponents/DataCard.tsx:98:36
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'toString')]
at reportException (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
at invokeGuardedCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
at beginWork$1 (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:27490:7)
at performUnitOfWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:26599:12) TypeError: Cannot read properties of undefined (reading 'toString')
at /home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:99:39
at mountMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:16406:19)
at Object.useMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:16851:16)
at Proxy.useMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react/cjs/react.development.js:1650:21)
at DataCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:98:36)
at renderWithHooks (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at HTMLUnknownElement.callCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'toString')]
at reportException (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
at invokeGuardedCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
at beginWork$1 (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:27490:7)
at performUnitOfWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:26599:12) TypeError: Cannot read properties of undefined (reading 'toString')
at /home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:99:39
at mountMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:16406:19)
at Object.useMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:16851:16)
at Proxy.useMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react/cjs/react.development.js:1650:21)
at DataCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:98:36)
at renderWithHooks (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at HTMLUnknownElement.callCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
The above error occurred in the <DataCard> component:
at DataCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:13:3)
at RtlProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/RtlProvider/index.js:19:7)
at ThemeProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/private-theming/node/ThemeProvider/ThemeProvider.js:39:5)
at ThemeProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/ThemeProvider/ThemeProvider.js:51:5)
at DataCardTest (/home/runner/work/ESID/ESID/frontend/src/__tests__/components/Scenario/CardsComponents/DataCard.test.tsx:83:71)
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/__tests__/components/Scenario/CardsComponents/DataCard.test.tsx
github-actions / Test Results
DataCard > renders filter titles correctly (src/__tests__/components/Scenario/CardsComponents/DataCard.test.tsx) failed
frontend/reports/vitest-junit.xml [took 0s]
Raw output
Cannot read properties of undefined (reading 'toString')
TypeError: Cannot read properties of undefined (reading 'toString')
❯ src/components/ScenarioComponents/CardsComponents/DataCard.tsx:99:39
❯ mountMemo node_modules/react-dom/cjs/react-dom.development.js:16406:19
❯ Object.useMemo node_modules/react-dom/cjs/react-dom.development.js:16851:16
❯ Proxy.useMemo node_modules/react/cjs/react.development.js:1650:21
❯ DataCard src/components/ScenarioComponents/CardsComponents/DataCard.tsx:98:36
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'toString')]
at reportException (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
at invokeGuardedCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
at beginWork$1 (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:27490:7)
at performUnitOfWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:26599:12) TypeError: Cannot read properties of undefined (reading 'toString')
at /home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:99:39
at mountMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:16406:19)
at Object.useMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:16851:16)
at Proxy.useMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react/cjs/react.development.js:1650:21)
at DataCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:98:36)
at renderWithHooks (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at HTMLUnknownElement.callCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'toString')]
at reportException (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
at invokeGuardedCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
at beginWork$1 (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:27490:7)
at performUnitOfWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:26599:12) TypeError: Cannot read properties of undefined (reading 'toString')
at /home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:99:39
at mountMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:16406:19)
at Object.useMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:16851:16)
at Proxy.useMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react/cjs/react.development.js:1650:21)
at DataCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:98:36)
at renderWithHooks (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at HTMLUnknownElement.callCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
The above error occurred in the <DataCard> component:
at DataCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:13:3)
at RtlProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/RtlProvider/index.js:19:7)
at ThemeProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/private-theming/node/ThemeProvider/ThemeProvider.js:39:5)
at ThemeProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/ThemeProvider/ThemeProvider.js:51:5)
at DataCardTest (/home/runner/work/ESID/ESID/frontend/src/__tests__/components/Scenario/CardsComponents/DataCard.test.tsx:83:71)
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/__tests__/components/Scenario/CardsComponents/DataCard.test.tsx
github-actions / Test Results
DataCard > checks visibility based on group filters (src/__tests__/components/Scenario/CardsComponents/DataCard.test.tsx) failed
frontend/reports/vitest-junit.xml [took 0s]
Raw output
Cannot read properties of undefined (reading 'toString')
TypeError: Cannot read properties of undefined (reading 'toString')
❯ src/components/ScenarioComponents/CardsComponents/DataCard.tsx:99:39
❯ mountMemo node_modules/react-dom/cjs/react-dom.development.js:16406:19
❯ Object.useMemo node_modules/react-dom/cjs/react-dom.development.js:16851:16
❯ Proxy.useMemo node_modules/react/cjs/react.development.js:1650:21
❯ DataCard src/components/ScenarioComponents/CardsComponents/DataCard.tsx:98:36
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'toString')]
at reportException (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
at invokeGuardedCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
at beginWork$1 (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:27490:7)
at performUnitOfWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:26599:12) TypeError: Cannot read properties of undefined (reading 'toString')
at /home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:99:39
at mountMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:16406:19)
at Object.useMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:16851:16)
at Proxy.useMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react/cjs/react.development.js:1650:21)
at DataCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:98:36)
at renderWithHooks (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at HTMLUnknownElement.callCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
Error: Uncaught [TypeError: Cannot read properties of undefined (reading 'toString')]
at reportException (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
at innerInvokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
at invokeEventListeners (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
at invokeGuardedCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
at beginWork$1 (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:27490:7)
at performUnitOfWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:26599:12) TypeError: Cannot read properties of undefined (reading 'toString')
at /home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:99:39
at mountMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:16406:19)
at Object.useMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:16851:16)
at Proxy.useMemo (/home/runner/work/ESID/ESID/frontend/node_modules/react/cjs/react.development.js:1650:21)
at DataCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:98:36)
at renderWithHooks (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at HTMLUnknownElement.callCallback (/home/runner/work/ESID/ESID/frontend/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/ESID/ESID/frontend/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
The above error occurred in the <DataCard> component:
at DataCard (/home/runner/work/ESID/ESID/frontend/src/components/ScenarioComponents/CardsComponents/DataCard.tsx:13:3)
at RtlProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/RtlProvider/index.js:19:7)
at ThemeProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/private-theming/node/ThemeProvider/ThemeProvider.js:39:5)
at ThemeProvider (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/ThemeProvider/ThemeProvider.js:51:5)
at DataCardTest (/home/runner/work/ESID/ESID/frontend/src/__tests__/components/Scenario/CardsComponents/DataCard.test.tsx:83:71)
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.
github-actions / Test Results
MainCard > handles click event to activate and renders tooltip correctly on hover scenario (src/__tests__/components/Scenario/CardsComponents/MainCard/MainCard.test.tsx) failed
frontend/reports/vitest-junit.xml [took 0s]
Raw output
Unable to find a label with the text of: scenario.activate Ignored nodes: comments, script, style [36m<body>[39m [36m<div>[39m [36m<div[39m [33mclass[39m=[32m"MuiBox-root css-2mhr9k"[39m [33mid[39m=[32m"main-card-external-container-undefined"[39m [36m>[39m [36m<div[39m [33mclass[39m=[32m"hide-scrollbar MuiBox-root css-1dx5kjs"[39m [33mid[39m=[32m"main-card-title&compartments-container-undefined"[39m [36m>[39m [36m<div[39m [33mclass[39m=[32m"MuiBox-root css-rsaw3f"[39m [33mid[39m=[32m"main-card-title-container-undefined"[39m [36m>[39m [36m<h2[39m [33mclass[39m=[32m"MuiTypography-root MuiTypography-h2 css-1vhx7ts-MuiTypography-root"[39m [36m>[39m [0mScenario 1[0m [36m</h2>[39m [36m</div>[39m [36m<div[39m [33mclass[39m=[32m"hide-scrollbar MuiBox-root css-2i1mw4"[39m [33mid[39m=[32m"compartment-row-container"[39m [36m>[39m [36m<div[39m [33mstyle[39m=[32m"position: relative;"[39m [36m>[39m [36m<div[39m [33mclass[39m=[32m"hide-scrollbar"[39m [33mstyle[39m=[32m"overflow: auto; height: 124px;"[39m [36m>[39m [36m<ul[39m [33mclass[39m=[32m"MuiList-root MuiList-padding MuiList-dense hide-scrollbar css-18j85lq-MuiList-root"[39m [36m>[39m [36m<li[39m [33mclass[39m=[32m"MuiListItem-root MuiListItem-dense MuiListItem-gutters MuiListItem-padding css-vdleo-MuiListItem-root"[39m [36m>[39m [36m<div[39m [33mclass[39m=[32m"MuiListItemText-root MuiListItemText-dense css-r7fqmq-MuiListItemText-root"[39m [36m>[39m [0m10[0m [36m</div>[39m [36m<div[39m [33mclass[39m=[32m"MuiListItemText-root MuiListItemText-dense css-kbl8c4-MuiListItemText-root"[39m [36m>[39m [0m-90%[0m [36m</div>[39m [36m<svg[39m [33maria-hidden[39m=[32m"true"[39m [33mclass[39m=[32m"MuiSvgIcon-root MuiSvgIcon-colorSuccess MuiSvgIcon-fontSizeMedium css-1pzh29w-MuiSvgIcon-root"[39m [33mdata-testid[39m=[32m"ArrowDropDownIcon"[39m [33mfocusable[39m=[32m"false"[39m [33mviewBox[39m=[32m"0 0 24 24"[39m [36m>[39m [36m<path[39m [33md[39m=[32m"m7 10 5 5 5-5z"[39m [36m/>[39m [36m</svg>[39m [36m</li>[39m [36m<li[39m [33mclass[39m=[32m"MuiListItem-root MuiListItem-dense MuiListItem-gutters MuiListItem-padding css-69ghoj-MuiListItem-root"[39m [36m>[39m [36m<div[39m [33mclass[39m=[32m"MuiListItemText-root MuiListItemText-dense css-z0kk4p-MuiListItemText-root"[39m [36m>[39m [0m20[0m [36m</div>[39m [36m<div[39m [33mclass[39m=[32m"MuiListItemText-root MuiListItemText-dense css-1gechth-MuiListItemText-root"[39m [36m>[39m [0m-90%[0m [36m</div>[39m [36m<svg[39m [33maria-hidden[39m=[32m"true"[39m [33mclass[39m=[32m"MuiSvgIcon-root MuiSvgIcon-colorSuccess MuiSvgIcon-fontSizeMedium css-1pzh29w-MuiSvgIcon-root"[39m [33mdata-testid[39m=[32m"ArrowDropDownIcon"[39m [33mfocusable[39m=[32m"false"[39m [33mviewBox[39m=[32m"0 0 24 24"[39m [36m>[39m [36m<path[39m [33md[39m=[32m"m7 10 5 5 5-5z"[39m [36m/>[39m [36m</svg>[39m [36m</li>[39m [36m<li[39m [33mclass[39m=[32m"MuiListItem-root MuiListItem-dense MuiListItem-gutters MuiListItem-padding css-69ghoj-MuiListItem-root"[39m [36m>[39m [36m<div[39m [33mclass[39m=[32m"MuiListItemText-root MuiListItemText-dense css-z0kk4p-MuiListItemText-root"[39m [36m>[39m [0m30[0m [36m</div>[39m [36m<div[39m [33mclass[39m=[32m"MuiListItemText-root MuiListItemText-dense css-1gechth-MuiListItemText-root"[39m [36m>[39m [0m-90%[0m [36m</div>[39m [36m<svg[39m [33maria-hidden[39m=[32m"true"[39m [33mclass[39m=[32m"MuiSvgIcon-root MuiSvgIcon-colorSuccess MuiSvgIcon-fontSizeMedium css-1pzh29w-MuiSvgIcon-root"[39m [33mdata-testid[39m=[32m"ArrowDropDownIcon"[39m [33mfocusable[39m=[32m"false"[39m [33mviewBox[39m=[32m"0 0 24 24"[39m [36m>[39m [36m<path[39m [33md[39m=[32m"m7 10 5 5 5-5z"[39m [36m/>[39m [36m</svg>[39m [36m</li>[39m [36m</ul>[39m [36m</div>[39m [36m</div>[39m [36m</div>[39m [36m</div>[39m [36m<div[39m [33mclass[39m=[32m"MuiBox-root css-1605hd7"[39m [33mid[39m=[32m"tooltip-container-undefined"[39m [36m>[39m [36m<button[39m [33maria-label[39m=[32m"scenario.deactivate"[39m [33mclass[39m=[32m"MuiButtonBase-root MuiIconButton-root MuiIconButton-colorPrimary MuiIconButton-sizeMedium css-13cgvcr-MuiButtonBase-root-MuiIconButton-root"[39m [33mdata-mui-internal-clone-element[39m=[32m"true"[39m [33mtabindex[39m=[32m"0"[39m [33mtype[39m=[32m"button"[39m [36m>[39m [36m<svg[39m [33maria-hidden[39m=[32m"true"[39m [33mclass[39m=[32m"MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-1xkvp8t-MuiSvgIcon-root"[39m [33mdata-testid[39m=[32m"CheckBoxIcon"[39m [33mfocusable[39m=[32m"false"[39m [33mviewBox[39m=[32m"0 0 24 24"[39m [36m>[39m [36m<path[39m [33md[39m=[32m"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2m-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"[39m [36m/>[39m [36m</svg>[39m [36m<span[39m [33mclass[39m=[32m"MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"[39m [36m/>[39m [36m</button>[39m [36m</div>[39m [36m</div>[39m [36m</div>[39m [36m</body>[39m
TestingLibraryElementError: Unable to find a label with the text of: scenario.activate
Ignored nodes: comments, script, style
[36m<body>[39m
[36m<div>[39m
[36m<div[39m
[33mclass[39m=[32m"MuiBox-root css-2mhr9k"[39m
[33mid[39m=[32m"main-card-external-container-undefined"[39m
[36m>[39m
[36m<div[39m
[33mclass[39m=[32m"hide-scrollbar MuiBox-root css-1dx5kjs"[39m
[33mid[39m=[32m"main-card-title&compartments-container-undefined"[39m
[36m>[39m
[36m<div[39m
[33mclass[39m=[32m"MuiBox-root css-rsaw3f"[39m
[33mid[39m=[32m"main-card-title-container-undefined"[39m
[36m>[39m
[36m<h2[39m
[33mclass[39m=[32m"MuiTypography-root MuiTypography-h2 css-1vhx7ts-MuiTypography-root"[39m
[36m>[39m
[0mScenario 1[0m
[36m</h2>[39m
[36m</div>[39m
[36m<div[39m
[33mclass[39m=[32m"hide-scrollbar MuiBox-root css-2i1mw4"[39m
[33mid[39m=[32m"compartment-row-container"[39m
[36m>[39m
[36m<div[39m
[33mstyle[39m=[32m"position: relative;"[39m
[36m>[39m
[36m<div[39m
[33mclass[39m=[32m"hide-scrollbar"[39m
[33mstyle[39m=[32m"overflow: auto; height: 124px;"[39m
[36m>[39m
[36m<ul[39m
[33mclass[39m=[32m"MuiList-root MuiList-padding MuiList-dense hide-scrollbar css-18j85lq-MuiList-root"[39m
[36m>[39m
[36m<li[39m
[33mclass[39m=[32m"MuiListItem-root MuiListItem-dense MuiListItem-gutters MuiListItem-padding css-vdleo-MuiListItem-root"[39m
[36m>[39m
[36m<div[39m
[33mclass[39m=[32m"MuiListItemText-root MuiListItemText-dense css-r7fqmq-MuiListItemText-root"[39m
[36m>[39m
[0m10[0m
[36m</div>[39m
[36m<div[39m
[33mclass[39m=[32m"MuiListItemText-root MuiListItemText-dense css-kbl8c4-MuiListItemText-root"[39m
[36m>[39m
[0m-90%[0m
[36m</div>[39m
[36m<svg[39m
[33maria-hidden[39m=[32m"true"[39m
[33mclass[39m=[32m"MuiSvgIcon-root MuiSvgIcon-colorSuccess MuiSvgIcon-fontSizeMedium css-1pzh29w-MuiSvgIcon-root"[39m
[33mdata-testid[39m=[32m"ArrowDropDownIcon"[39m
[33mfocusable[39m=[32m"false"[39m
[33mviewBox[39m=[32m"0 0 24 24"[39m
[36m>[39m
[36m<path[39m
[33md[39m=[32m"m7 10 5 5 5-5z"[39m
[36m/>[39m
[36m</svg>[39m
[36m</li>[39m
[36m<li[39m
[33mclass[39m=[32m"MuiListItem-root MuiListItem-dense MuiListItem-gutters MuiListItem-padding css-69ghoj-MuiListItem-root"[39m
[36m>[39m
[36m<div[39m
[33mclass[39m=[32m"MuiListItemText-root MuiListItemText-dense css-z0kk4p-MuiListItemText-root"[39m
[36m>[39m
[0m20[0m
[36m</div>[39m
[36m<div[39m
[33mclass[39m=[32m"MuiListItemText-root MuiListItemText-dense css-1gechth-MuiListItemText-root"[39m
[36m>[39m
[0m-90%[0m
[36m</div>[39m
[36m<svg[39m
[33maria-hidden[39m=[32m"true"[39m
[33mclass[39m=[32m"MuiSvgIcon-root MuiSvgIcon-colorSuccess MuiSvgIcon-fontSizeMedium css-1pzh29w-MuiSvgIcon-root"[39m
[33mdata-testid[39m=[32m"ArrowDropDownIcon"[39m
[33mfocusable[39m=[32m"false"[39m
[33mviewBox[39m=[32m"0 0 24 24"[39m
[36m>[39m
[36m<path[39m
[33md[39m=[32m"m7 10 5 5 5-5z"[39m
[36m/>[39m
[36m</svg>[39m
[36m</li>[39m
[36m<li[39m
[33mclass[39m=[32m"MuiListItem-root MuiListItem-dense MuiListItem-gutters MuiListItem-padding css-69ghoj-MuiListItem-root"[39m
[36m>[39m
[36m<div[39m
[33mclass[39m=[32m"MuiListItemText-root MuiListItemText-dense css-z0kk4p-MuiListItemText-root"[39m
[36m>[39m
[0m30[0m
[36m</div>[39m
[36m<div[39m
[33mclass[39m=[32m"MuiListItemText-root MuiListItemText-dense css-1gechth-MuiListItemText-root"[39m
[36m>[39m
[0m-90%[0m
[36m</div>[39m
[36m<svg[39m
[33maria-hidden[39m=[32m"true"[39m
[33mclass[39m=[32m"MuiSvgIcon-root MuiSvgIcon-colorSuccess MuiSvgIcon-fontSizeMedium css-1pzh29w-MuiSvgIcon-root"[39m
[33mdata-testid[39m=[32m"ArrowDropDownIcon"[39m
[33mfocusable[39m=[32m"false"[39m
[33mviewBox[39m=[32m"0 0 24 24"[39m
[36m>[39m
[36m<path[39m
[33md[39m=[32m"m7 10 5 5 5-5z"[39m
[36m/>[39m
[36m</svg>[39m
[36m</li>[39m
[36m</ul>[39m
[36m</div>[39m
[36m</div>[39m
[36m</div>[39m
[36m</div>[39m
[36m<div[39m
[33mclass[39m=[32m"MuiBox-root css-1605hd7"[39m
[33mid[39m=[32m"tooltip-container-undefined"[39m
[36m>[39m
[36m<button[39m
[33maria-label[39m=[32m"scenario.deactivate"[39m
[33mclass[39m=[32m"MuiButtonBase-root MuiIconButton-root MuiIconButton-colorPrimary MuiIconButton-sizeMedium css-13cgvcr-MuiButtonBase-root-MuiIconButton-root"[39m
[33mdata-mui-internal-clone-element[39m=[32m"true"[39m
[33mtabindex[39m=[32m"0"[39m
[33mtype[39m=[32m"button"[39m
[36m>[39m
[36m<svg[39m
[33maria-hidden[39m=[32m"true"[39m
[33mclass[39m=[32m"MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-1xkvp8t-MuiSvgIcon-root"[39m
[33mdata-testid[39m=[32m"CheckBoxIcon"[39m
[33mfocusable[39m=[32m"false"[39m
[33mviewBox[39m=[32m"0 0 24 24"[39m
[36m>[39m
[36m<path[39m
[33md[39m=[32m"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2m-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"[39m
[36m/>[39m
[36m</svg>[39m
[36m<span[39m
[33mclass[39m=[32m"MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"[39m
[36m/>[39m
[36m</button>[39m
[36m</div>[39m
[36m</div>[39m
[36m</div>[39m
[36m</body>[39m
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ getAllByLabelText node_modules/@testing-library/dom/dist/queries/label-text.js:111:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/__tests__/components/Scenario/CardsComponents/MainCard/MainCard.test.tsx:88:28