docs(i18n): qualify delayed trash and Undo feedback language
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# Delayed application trash/Undo feedback language
|
||||
|
||||
17 November 2026. Source `772dba3c2bd4b2ac7d9e3f8d44db004dc0c42cc4` on `codex/a3-ui-10`, following `6be8da1d`.
|
||||
|
||||
Individual move-to-trash and Undo/restore completions use the existing current-translation-ref pattern for success/failure and the newly shown Undo label. Existing confirmation, target IDs, endpoint/body, restore callback, selection and reload semantics remain unchanged. No bulk-action or session/mount lifetime behavior was changed.
|
||||
|
||||
Eight original EN/NB delayed success/failure regressions FAILED. Final77 cases/four affected suites PASSED; intermediate76 pass/one failure was a test querying the accessible Undo action before the closing modal released it. Corrected only that assertion to await the accessible action; application code was unchanged by that correction. Intermediate native failures retained; no rerun is added to the final77 count. Non-incremental TypeScript, two-file scoped lint, diff check and AST update PASSED19,310 nodes/47,432 edges.
|
||||
|
||||
Evidence/source/native gzip bindings: `evidence/jobs-outcome/SOURCE_RECEIPTS.json`. Tests use real UI providers and mocked API; no actual job deletion/restore or native browser/device execution. Already-visible toast language and remaining bulk/lifetime paths remain separate. No full A3/European-locale/security/release acceptance; prior Next build remains FAILED. Rollback: revert only this source commit, no schema/data migration.
|
||||
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"sourceCommit": "772dba3c2bd4b2ac7d9e3f8d44db004dc0c42cc4",
|
||||
"sourcesLfSha256": {
|
||||
"job-tracker-ui/src/components/JobTable.tsx": "f411df14375cdba0ef7711ec61424183b9a04f93d9f143aa6ab68a0fc2ea9beb",
|
||||
"job-tracker-ui/src/jobs-view-integration.test.tsx": "8ad65838855c555055077e58bcd8a612c60543578b6625f95968187373e5569d"
|
||||
},
|
||||
"evidenceLfSha256": {
|
||||
"red.json": "e8eec8985d8dad738b4a8de1e17b38b7568569ccce3ee4453f9a1b847da03f53",
|
||||
"red.txt": "5520aea90e700d8090bbb5607ecf309ab777c1bbcc65553b7c248d170b19c185",
|
||||
"green.json": "bdd9e12d320d559b3927f0de977bcdc5df0f8bfeda0cc8a20a8b0276346583e8",
|
||||
"green.txt": "641f9092ebb5372a6818cf6e1d55815d79d34b47a2db487665c1369c99d33e9a",
|
||||
"final.json": "f8c1fb1b3849bd7b413c68df958b9c24b69dd501eb0821d34af1272e4e0b87ea",
|
||||
"final.txt": "aa61165d9605c044b715bd4f2a2fb8465194dbe09f0d94054a8b0e9eee92ea8c",
|
||||
"typecheck.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"graph.txt": "1091585b302c41ff675f53e6ace08aa2906e57ff855d4383788036d1921b6f0d"
|
||||
},
|
||||
"nativeReceipts": [
|
||||
{
|
||||
"path": "red.json",
|
||||
"originFile": "red.json",
|
||||
"gzipPath": "red.json.gz",
|
||||
"rawSha256": "e8eec8985d8dad738b4a8de1e17b38b7568569ccce3ee4453f9a1b847da03f53",
|
||||
"gzipSha256": "585a8ddf05234751b3e5db552f64c1bf785c87ce679f010d71ca7034c0af6040"
|
||||
},
|
||||
{
|
||||
"path": "red.txt",
|
||||
"originFile": "red.txt",
|
||||
"gzipPath": "red.txt.gz",
|
||||
"rawSha256": "b5dd2a63fe8a40f80147c24df17a921fd034e5f221144d1fdc8b3d4ebbf8aac0",
|
||||
"gzipSha256": "80abd311ff3b2d60c5195f4f90ddfb3e522f00cc223e072073f8ca99904372b8"
|
||||
},
|
||||
{
|
||||
"path": "green.json",
|
||||
"originFile": "green.json",
|
||||
"gzipPath": "green.json.gz",
|
||||
"rawSha256": "bdd9e12d320d559b3927f0de977bcdc5df0f8bfeda0cc8a20a8b0276346583e8",
|
||||
"gzipSha256": "448d11242d23d5bf6dd89a2d091cabe33029330061d8d80ee389e69862fe4eea"
|
||||
},
|
||||
{
|
||||
"path": "green.txt",
|
||||
"originFile": "green.txt",
|
||||
"gzipPath": "green.txt.gz",
|
||||
"rawSha256": "b5bda5ed2a5683870801f3658febf1fe2c2b8b94f9c75f4ff7d1ec4525b24318",
|
||||
"gzipSha256": "70309cfa222c58834d39a801e9052953ddf149483a1922d1608d58a33167cc63"
|
||||
},
|
||||
{
|
||||
"path": "final.json",
|
||||
"originFile": "final.json",
|
||||
"gzipPath": "final.json.gz",
|
||||
"rawSha256": "f8c1fb1b3849bd7b413c68df958b9c24b69dd501eb0821d34af1272e4e0b87ea",
|
||||
"gzipSha256": "02d1f75f6f7b24f0a58748d25f0ca3c85870c7f603d25e2e08a939a268f9d62c"
|
||||
},
|
||||
{
|
||||
"path": "final.txt",
|
||||
"originFile": "final.txt",
|
||||
"gzipPath": "final.txt.gz",
|
||||
"rawSha256": "950930513354af538083ad97f362c9497a4445fe43fa0d87066cc1415e88bf36",
|
||||
"gzipSha256": "630ad6127d7b0217ccc84addb3c4a6ac1c13fc63a770dd3e0074e96f1ee04f51"
|
||||
},
|
||||
{
|
||||
"path": "typecheck.txt",
|
||||
"originFile": "typecheck.txt",
|
||||
"gzipPath": "typecheck.txt.gz",
|
||||
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
|
||||
},
|
||||
{
|
||||
"path": "lint.txt",
|
||||
"originFile": "lint.txt",
|
||||
"gzipPath": "lint.txt.gz",
|
||||
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
|
||||
},
|
||||
{
|
||||
"path": "graph.txt",
|
||||
"originFile": "graph.txt",
|
||||
"gzipPath": "graph.txt.gz",
|
||||
"rawSha256": "12ccf5b71c5114fcc139a90331270cb6c4f22626f561bcf78afb1961fdd4dd49",
|
||||
"gzipSha256": "75c25219d9a4f5e3b00ea423581f021fb2eeb6e7809aa3a3fd83a153fa1882b0"
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
|
||||
Test Suites: 4 passed, 4 total
|
||||
Tests: 77 passed, 77 total
|
||||
Snapshots: 0 total
|
||||
Time: 41.682 s
|
||||
Ran all test suites matching src/jobs-view-integration.test.tsx|src/dialog-text.test.tsx|src/application-workspace-overlay.test.tsx|src/i18n-provider.test.tsx.
|
||||
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\jobs-outcome-final.json
|
||||
Binary file not shown.
@@ -0,0 +1,18 @@
|
||||
Re-extracting code files in . (no LLM needed)...
|
||||
[graphify watch] 689 file(s) not classified (no supported extension or shebang), skipped: .dockerignore, .env.example, .git, .gitattributes, .gitignore, 1440-en-dark-converted.gz (+683 more)
|
||||
AST cache: 2597/3050 files served from cache (85%); 453 to extract
|
||||
AST extraction: 100/453 uncached files (22%) [16 workers]
|
||||
AST extraction: 200/453 uncached files (44%) [16 workers]
|
||||
AST extraction: 300/453 uncached files (66%) [16 workers]
|
||||
AST extraction: 400/453 uncached files (88%) [16 workers]
|
||||
AST extraction: 453/453 uncached files (100%) [16 workers]
|
||||
warning: 8 .sql file(s) contributed nothing to the graph because a dependency is missing: tree_sitter_sql not installed. Install it with: pip install "graphifyy[sql]" (#1745)
|
||||
warning: 144 code file(s) yielded no symbols (0.14 MB) — a data file, or source this extractor models no symbols for: JobTrackerApi.Tests/PdfBrowserStub/Program.cs, JobTrackerApi/Program.cs, JobTrackerApi/Properties/AssemblyInfo.cs, browser-extension/tests/capture-url.test.mjs, docs/audits/2026-09-07/validation/evidence/b05-excel-probe.ps1 (+139 more)
|
||||
[graphify watch] community set changed since labeling (0 saved labels, 1187 communities now; renamed 114 community(ies) by their hub). Run `graphify label` to refresh names with the LLM.
|
||||
Graph has 19310 nodes (above 5000 limit). Building aggregated community view...
|
||||
graph.html written (aggregated: 1187 community nodes, 3062 cross-community edges)
|
||||
Tip: run with --obsidian for full node-level detail.
|
||||
[graphify watch] Rebuilt: 19310 nodes, 47432 edges, 1187 communities
|
||||
[graphify watch] graph.json, graph.html and GRAPH_REPORT.md updated in graphify-out
|
||||
Code graph updated. For doc/paper/image changes run /graphify --update in your AI assistant.
|
||||
Tip: set GEMINI_API_KEY or GOOGLE_API_KEY to use Gemini for semantic extraction.
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -0,0 +1,338 @@
|
||||
FAIL src/jobs-view-integration.test.tsx (28.54 s)
|
||||
● Console
|
||||
|
||||
console.error
|
||||
An update to ForwardRef(FormControl) inside a test was not wrapped in act(...).
|
||||
|
||||
When testing, code that causes React state updates should be wrapped into act(...):
|
||||
|
||||
act(() => {
|
||||
/* fire events that update state */
|
||||
});
|
||||
/* assert on the output */
|
||||
|
||||
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
|
||||
|
||||
102 | const count = reads("/jobapplications").length;
|
||||
103 | const board = screen.getByRole("link", { name: "Board" });
|
||||
> 104 | board.focus(); fireEvent.click(board);
|
||||
| ^
|
||||
105 | await waitFor(() => expect(ids("[data-kanban-card-id]", "data-kanban-card-id")).toEqual(jobs.slice(1).map(j => j.id)));
|
||||
106 | expect(board).toHaveFocus();
|
||||
107 | expect(board).toHaveAttribute("aria-current", "page");
|
||||
|
||||
at node_modules/react-dom/cjs/react-dom-client.development.js:18758:19
|
||||
at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
|
||||
at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom-client.development.js:18757:9)
|
||||
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom-client.development.js:16409:11)
|
||||
at dispatchSetStateInternal (node_modules/react-dom/cjs/react-dom-client.development.js:9170:13)
|
||||
at dispatchSetState (node_modules/react-dom/cjs/react-dom-client.development.js:9127:7)
|
||||
at Object.onBlur (node_modules/@mui/material/FormControl/FormControl.js:208:9)
|
||||
at handleBlur (node_modules/@mui/material/InputBase/InputBase.js:375:22)
|
||||
at handleBlur (node_modules/@mui/material/Select/SelectInput.js:346:7)
|
||||
at executeDispatch (node_modules/react-dom/cjs/react-dom-client.development.js:19116:9)
|
||||
at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
|
||||
at processDispatchQueue (node_modules/react-dom/cjs/react-dom-client.development.js:19166:19)
|
||||
at node_modules/react-dom/cjs/react-dom-client.development.js:19767:9
|
||||
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom-client.development.js:3255:40)
|
||||
at dispatchEventForPluginEventSystem (node_modules/react-dom/cjs/react-dom-client.development.js:19320:7)
|
||||
at dispatchEvent (node_modules/react-dom/cjs/react-dom-client.development.js:23585:11)
|
||||
at dispatchDiscreteEvent (node_modules/react-dom/cjs/react-dom-client.development.js:23553:11)
|
||||
at HTMLDivElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
|
||||
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
|
||||
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
|
||||
at HTMLDivElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
|
||||
at Object.exports.fireFocusEventWithTargetAdjustment (node_modules/jsdom/lib/jsdom/living/helpers/focusing.js:103:10)
|
||||
at HTMLAnchorElementImpl.focus (node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js:58:16)
|
||||
at HTMLAnchorElement.focus (node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js:128:34)
|
||||
at Object.focus (src/jobs-view-integration.test.tsx:104:9)
|
||||
|
||||
console.error
|
||||
An update to ForwardRef(ButtonBase) inside a test was not wrapped in act(...).
|
||||
|
||||
When testing, code that causes React state updates should be wrapped into act(...):
|
||||
|
||||
act(() => {
|
||||
/* fire events that update state */
|
||||
});
|
||||
/* assert on the output */
|
||||
|
||||
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
|
||||
|
||||
102 | const count = reads("/jobapplications").length;
|
||||
103 | const board = screen.getByRole("link", { name: "Board" });
|
||||
> 104 | board.focus(); fireEvent.click(board);
|
||||
| ^
|
||||
105 | await waitFor(() => expect(ids("[data-kanban-card-id]", "data-kanban-card-id")).toEqual(jobs.slice(1).map(j => j.id)));
|
||||
106 | expect(board).toHaveFocus();
|
||||
107 | expect(board).toHaveAttribute("aria-current", "page");
|
||||
|
||||
at node_modules/react-dom/cjs/react-dom-client.development.js:18758:19
|
||||
at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
|
||||
at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom-client.development.js:18757:9)
|
||||
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom-client.development.js:16409:11)
|
||||
at dispatchSetStateInternal (node_modules/react-dom/cjs/react-dom-client.development.js:9170:13)
|
||||
at dispatchSetState (node_modules/react-dom/cjs/react-dom-client.development.js:9127:7)
|
||||
at node_modules/@mui/material/ButtonBase/ButtonBase.js:174:7
|
||||
at node_modules/@mui/utils/useEventCallback/useEventCallback.js:24:19
|
||||
at executeDispatch (node_modules/react-dom/cjs/react-dom-client.development.js:19116:9)
|
||||
at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
|
||||
at processDispatchQueue (node_modules/react-dom/cjs/react-dom-client.development.js:19166:19)
|
||||
at node_modules/react-dom/cjs/react-dom-client.development.js:19767:9
|
||||
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom-client.development.js:3255:40)
|
||||
at dispatchEventForPluginEventSystem (node_modules/react-dom/cjs/react-dom-client.development.js:19320:7)
|
||||
at dispatchEvent (node_modules/react-dom/cjs/react-dom-client.development.js:23585:11)
|
||||
at dispatchDiscreteEvent (node_modules/react-dom/cjs/react-dom-client.development.js:23553:11)
|
||||
at HTMLDivElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
|
||||
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
|
||||
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
|
||||
at HTMLAnchorElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
|
||||
at Object.exports.fireFocusEventWithTargetAdjustment (node_modules/jsdom/lib/jsdom/living/helpers/focusing.js:103:10)
|
||||
at HTMLAnchorElementImpl.focus (node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js:72:14)
|
||||
at HTMLAnchorElement.focus (node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js:128:34)
|
||||
at Object.focus (src/jobs-view-integration.test.tsx:104:9)
|
||||
|
||||
● individual application outcome language › delayed delete from en to nb / resolve keeps current feedback and original target
|
||||
|
||||
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "Angre"
|
||||
|
||||
Here are the accessible roles:
|
||||
|
||||
presentation:
|
||||
|
||||
Name "":
|
||||
<div
|
||||
class="MuiDialog-root MuiModal-root css-1oaxuzu-MuiModal-root-MuiDialog-root"
|
||||
role="presentation"
|
||||
/>
|
||||
|
||||
Name "":
|
||||
<div
|
||||
class="MuiDialog-container MuiDialog-scrollPaper css-19do60a-MuiDialog-container"
|
||||
role="presentation"
|
||||
style="opacity: 0; transition: opacity 195ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
|
||||
tabindex="-1"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
dialog:
|
||||
|
||||
Name "Flytt jobb til papirkurv":
|
||||
<div
|
||||
aria-describedby="_r_qk_"
|
||||
aria-labelledby="_r_ql_"
|
||||
aria-modal="true"
|
||||
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation24 MuiDialog-paper MuiDialog-paperScrollPaper MuiDialog-paperWidthXs MuiDialog-paperFullWidth css-n24a7g-MuiPaper-root-MuiDialog-paper"
|
||||
role="dialog"
|
||||
style="--Paper-shadow: 0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12);"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
heading:
|
||||
|
||||
Name "Flytt jobb til papirkurv":
|
||||
<h2
|
||||
class="MuiTypography-root MuiTypography-h6 MuiDialogTitle-root css-rcehg8-MuiTypography-root-MuiDialogTitle-root"
|
||||
id="_r_ql_"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
region:
|
||||
|
||||
Name "Flytt jobb til papirkurv":
|
||||
<div
|
||||
aria-labelledby="_r_ql_"
|
||||
class="MuiDialogContent-root css-kw13he-MuiDialogContent-root"
|
||||
role="region"
|
||||
tabindex="0"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
alert:
|
||||
|
||||
Name "":
|
||||
<div
|
||||
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiAlert-root MuiAlert-colorWarning MuiAlert-outlinedWarning MuiAlert-outlined css-15us3fl-MuiPaper-root-MuiAlert-root"
|
||||
role="alert"
|
||||
style="--Paper-shadow: none;"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
paragraph:
|
||||
|
||||
Name "":
|
||||
<p
|
||||
class="MuiTypography-root MuiTypography-body1 css-3yi46c-MuiTypography-root"
|
||||
id="_r_qk_"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
button:
|
||||
|
||||
Name "Avbryt":
|
||||
<button
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary css-1dn15bh-MuiButtonBase-root-MuiButton-root"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
/>
|
||||
|
||||
Name "Flytt":
|
||||
<button
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedError MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorError MuiButton-root MuiButton-contained MuiButton-containedError MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorError css-1c26q6j-MuiButtonBase-root-MuiButton-root"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
|
||||
Ignored nodes: comments, script, style
|
||||
<body
|
||||
style="padding-right: 1024px; overflow: hidden;"
|
||||
>
|
||||
<div
|
||||
aria-hidden="true"
|
||||
>
|
||||
<output
|
||||
aria-label="Route"
|
||||
>
|
||||
/jobs
|
||||
</output>
|
||||
<button>
|
||||
History back
|
||||
</button>
|
||||
<button>
|
||||
History forward
|
||||
</button>
|
||||
<button>
|
||||
Job created
|
||||
</button>
|
||||
<div
|
||||
class="MuiBox-root css-0"
|
||||
>
|
||||
<div
|
||||
class="MuiBox-root css-1g1pux1"
|
||||
>
|
||||
<div
|
||||
aria-label="Jobbvisning"
|
||||
class="MuiBox-root css-1utx3w7"
|
||||
role="group"
|
||||
>
|
||||
<a
|
||||
aria-current="page"
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-tm237w-MuiButtonBase-root-MuiButton-root"
|
||||
data-discover="true"
|
||||
href="/jobs?view=table"
|
||||
tabindex="0"
|
||||
>
|
||||
Tabell
|
||||
</a>
|
||||
<a
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary css-74b9is-MuiButtonBase-root-MuiButton-root"
|
||||
data-discover="true"
|
||||
href="/jobs?view=board"
|
||||
tabindex="0"
|
||||
>
|
||||
Tavle
|
||||
</a>
|
||||
</div>
|
||||
<p
|
||||
class="MuiTypography-root MuiTypography-body2 css-1qf9eb3-MuiTypography-root"
|
||||
role="status"
|
||||
>
|
||||
27 jobber samsvarer
|
||||
</p>
|
||||
</div>
|
||||
<div
|
||||
class="MuiBox-root css-1eini8u"
|
||||
>
|
||||
<div
|
||||
class="MuiFormControl-root MuiTextField-root css-1lssrpz-MuiFormControl-root-MuiTextField-root"
|
||||
>
|
||||
<label
|
||||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined css-fluw5i-MuiFormLabel-root-MuiInputLabel-root"
|
||||
data-shrink="true"
|
||||
for="_r_qq_"
|
||||
id="_r_qq_-label"
|
||||
>
|
||||
Søk
|
||||
</label>
|
||||
<div
|
||||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedStart css-71sp51-MuiInputBase-root-MuiOutlinedInput-root"
|
||||
>
|
||||
<div
|
||||
class="MuiInputAdornment-root MuiInputAdornment-positionStart MuiInputAdornment-outlined MuiInputAdornment-sizeSmall css-1nowbqt-MuiInputAdornment-root"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="notranslate"
|
||||
>
|
||||
|
||||
</span>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root MuiSvgIcon-fontSizeSmall css-120dh41-MuiSvgIcon-root"
|
||||
data-testid="SearchIcon"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
<input
|
||||
aria-invalid="false"
|
||||
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedStart css-14mk4rm-MuiInputBase-input-MuiOutlinedInput-input"
|
||||
id="_r_qq_"
|
||||
placeholder="Tittel, selskap, notater, meldinger"
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
<fieldset
|
||||
aria-hidden="true"
|
||||
class="MuiOutlinedInput-notchedOutline css-18p5xg2-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"
|
||||
>
|
||||
<legend
|
||||
class="css-ex8a5f-MuiNotchedOutlined-root"
|
||||
>
|
||||
<span>
|
||||
Søk
|
||||
</span>
|
||||
</legend>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="MuiFormControl-root css-1f2y67v-MuiFormControl-root"
|
||||
>
|
||||
<label
|
||||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined css-fluw5i-MuiFormLabel-root-MuiInputLabel-root"
|
||||
data-shrink="true"
|
||||
id="job-table-status-label"
|
||||
>
|
||||
Status
|
||||
</label>
|
||||
<div
|
||||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formContr...
|
||||
|
||||
207 | expect(write).toHaveBeenCalledWith(action === 'delete' ? '/jobapplications/1' : '/jobapplications/1/restore');
|
||||
208 | expect(write).toHaveBeenCalledTimes(1);
|
||||
> 209 | if (action === 'delete' && outcome === 'resolve') expect(screen.getByRole('button', { name: translations[to].jobTableUndo })).toBeVisible();
|
||||
| ^
|
||||
210 | });
|
||||
211 | });
|
||||
212 |
|
||||
|
||||
at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:76:38
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:52:17
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:95:19
|
||||
at getByRole (src/jobs-view-integration.test.tsx:209:69)
|
||||
|
||||
|
||||
Test Suites: 1 failed, 3 passed, 4 total
|
||||
Tests: 1 failed, 76 passed, 77 total
|
||||
Snapshots: 0 total
|
||||
Time: 43.37 s
|
||||
Ran all test suites matching src/jobs-view-integration.test.tsx|src/dialog-text.test.tsx|src/application-workspace-overlay.test.tsx|src/i18n-provider.test.tsx.
|
||||
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\jobs-outcome-green.json
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user