Update frontend/locales/en-backend.json5 #1521
GitHub Actions / Test Results
failed
Apr 4, 2024 in 0s
1 fail, 38 pass in 13s
Annotations
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: parameters.Test Parameter 1.symbol. 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"MuiTableContainer-root css-1ghwx3p-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<th[39m [33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m [33mcolspan[39m=[32m"1"[39m [33mscope[39m=[32m"col"[39m [36m>[39m [0m0 - 4[0m [36m</th>[39m [36m<th[39m [33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m [33mcolspan[39m=[32m"1"[39m [33mscope[39m=[32m"col"[39m [36m>[39m [0m5 - 14[0m [36m</th>[39m [36m<th[39m [33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m [33mcolspan[39m=[32m"1"[39m [33mscope[39m=[32m"col"[39m [36m>[39m [0m15 - 34[0m [36m</th>[39m [36m<th[39m [33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m [33mcolspan[39m=[32m"1"[39m [33mscope[39m=[32m"col"[39m [36m>[39m [0m35 - 59[0m [36m</th>[39m [36m<th[39m [33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m [33mcolspan[39m=[32m"1"[39m [33mscope[39m=[32m"col"[39m [36m>[39m [0m60 - 79[0m [36m</th>[39m [36m<th[39m [33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m [33mcolspan[39m=[32m"1"[39m [33mscope[39m=[32m"col"[39m [36m>[39m [0m80+[0m [36m</th>[39m [36m</tr>[39m [36m</thead>[39m [36m<tbody[39m [33mclass[39m=[32m"MuiTableBody-root css-apqrd9-MuiTableBody-root"[39m [36m/>[39m [36m</table>[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"MuiTableContainer-root css-1ghwx3p-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<th[39m [33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m [33mcolspan[39m=[32m"1"[39m [33mscope[39m=[32m"col"[39m [36m>[39m [0m0 - 4[0m [36m</th>[39m [36m<th[39m [33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m [33mcolspan[39m=[32m"1"[39m [33mscope[39m=[32m"col"[39m [36m>[39m [0m5 - 14[0m [36m</th>[39m [36m<th[39m [33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m [33mcolspan[39m=[32m"1"[39m [33mscope[39m=[32m"col"[39m [36m>[39m [0m15 - 34[0m [36m</th>[39m [36m<th[39m [33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m [33mcolspan[39m=[32m"1"[39m [33mscope[39m=[32m"col"[39m [36m>[39m [0m35 - 59[0m [36m</th>[39m [36m<th[39m [33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m [33mcolspan[39m=[32m"1"[39m [33mscope[39m=[32m"col"[39m [36m>[39m [0m60 - 79[0m [36m</th>[39m [36m<th[39m [33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m [33mcolspan[39m=[32m"1"[39m [33mscope[39m=[32m"col"[39m [36m>[39m [0m80+[0m [36m</th>[39m [36m</tr>[39m [36m</thead>[39m [36m<tbody[39m [33mclass[39m=[32m"MuiTableBody-root css-apqrd9-MuiTableBody-root"[39m [36m/>[39m [36m</table>[39m [36m</div>[39m [36m</div>[39m [36m</body>[39m
TestingLibraryElementError: Unable to find an element with the text: parameters.Test Parameter 1.symbol. 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"MuiTableContainer-root css-1ghwx3p-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<th[39m
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m
[33mcolspan[39m=[32m"1"[39m
[33mscope[39m=[32m"col"[39m
[36m>[39m
[0m0 - 4[0m
[36m</th>[39m
[36m<th[39m
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m
[33mcolspan[39m=[32m"1"[39m
[33mscope[39m=[32m"col"[39m
[36m>[39m
[0m5 - 14[0m
[36m</th>[39m
[36m<th[39m
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m
[33mcolspan[39m=[32m"1"[39m
[33mscope[39m=[32m"col"[39m
[36m>[39m
[0m15 - 34[0m
[36m</th>[39m
[36m<th[39m
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m
[33mcolspan[39m=[32m"1"[39m
[33mscope[39m=[32m"col"[39m
[36m>[39m
[0m35 - 59[0m
[36m</th>[39m
[36m<th[39m
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m
[33mcolspan[39m=[32m"1"[39m
[33mscope[39m=[32m"col"[39m
[36m>[39m
[0m60 - 79[0m
[36m</th>[39m
[36m<th[39m
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m
[33mcolspan[39m=[32m"1"[39m
[33mscope[39m=[32m"col"[39m
[36m>[39m
[0m80+[0m
[36m</th>[39m
[36m</tr>[39m
[36m</thead>[39m
[36m<tbody[39m
[33mclass[39m=[32m"MuiTableBody-root css-apqrd9-MuiTableBody-root"[39m
[36m/>[39m
[36m</table>[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"MuiTableContainer-root css-1ghwx3p-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<th[39m
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m
[33mcolspan[39m=[32m"1"[39m
[33mscope[39m=[32m"col"[39m
[36m>[39m
[0m0 - 4[0m
[36m</th>[39m
[36m<th[39m
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m
[33mcolspan[39m=[32m"1"[39m
[33mscope[39m=[32m"col"[39m
[36m>[39m
[0m5 - 14[0m
[36m</th>[39m
[36m<th[39m
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m
[33mcolspan[39m=[32m"1"[39m
[33mscope[39m=[32m"col"[39m
[36m>[39m
[0m15 - 34[0m
[36m</th>[39m
[36m<th[39m
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m
[33mcolspan[39m=[32m"1"[39m
[33mscope[39m=[32m"col"[39m
[36m>[39m
[0m35 - 59[0m
[36m</th>[39m
[36m<th[39m
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m
[33mcolspan[39m=[32m"1"[39m
[33mscope[39m=[32m"col"[39m
[36m>[39m
[0m60 - 79[0m
[36m</th>[39m
[36m<th[39m
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-head MuiTableCell-stickyHeader MuiTableCell-sizeSmall css-xcic7e-MuiTableCell-root"[39m
[33mcolspan[39m=[32m"1"[39m
[33mscope[39m=[32m"col"[39m
[36m>[39m
[0m80+[0m
[36m</th>[39m
[36m</tr>[39m
[36m</thead>[39m
[36m<tbody[39m
[33mclass[39m=[32m"MuiTableBody-root css-apqrd9-MuiTableBody-root"[39m
[36m/>[39m
[36m</table>[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:31:18
An unhandled error occurred processing a request for the endpoint "getScenarioParameters".
In the case of an unhandled error, no tags will be "provided" or "invalidated". TypeError: Failed to parse URL from /api/v1/scenarios/1/
at new Request (node:internal/deps/undici/undici:5272:19)
at file:///home/runner/work/ESID/ESID/frontend/node_modules/@reduxjs/toolkit/src/query/fetchBaseQuery.ts:239:21
... 3 lines matching cause stack trace ...
at async Promise.all (index 1) {
[cause]: TypeError: Invalid URL: /api/v1/scenarios/1/
at new URLImpl (/home/runner/work/ESID/ESID/frontend/node_modules/whatwg-url/lib/URL-impl.js:23:13)
at Object.exports.setup (/home/runner/work/ESID/ESID/frontend/node_modules/whatwg-url/lib/URL.js:54:12)
at new URL (/home/runner/work/ESID/ESID/frontend/node_modules/whatwg-url/lib/URL.js:115:22)
at new Request (node:internal/deps/undici/undici:5270:25)
at file:///home/runner/work/ESID/ESID/frontend/node_modules/@reduxjs/toolkit/src/query/fetchBaseQuery.ts:239:21
at Object.queryFn (/home/runner/work/ESID/ESID/frontend/src/store/services/scenarioApi.ts:113:26)
at executeEndpoint (file:///home/runner/work/ESID/ESID/frontend/node_modules/@reduxjs/toolkit/src/query/core/buildThunks.ts:232:18)
at file:///home/runner/work/ESID/ESID/frontend/node_modules/@reduxjs/toolkit/src/createAsyncThunk.ts:352:27
at async Promise.all (index 1)
}
Loading