docs(interviews): qualify follow-up language continuity

This commit is contained in:
cesnimda
2026-11-17 15:49:32 +01:00
parent d48091df89
commit d4e76cc7d3
16 changed files with 517 additions and 0 deletions
@@ -0,0 +1,11 @@
# Follow-up language and draft continuity
17 November 2026. Source `d48091df`, baseline `3a88d1d2`, branch `codex/a3-ui-10`.
The follow-up loader depended on translated fallback copy, so switching UI language requested the saved follow-up again and replaced the user's unsaved date and next action. Keep loading dependent on job identity. Retain read/save causes and explicit fallback keys and resolve them when presented, preserving server-message extraction and failure context without a locale-triggered retry.
Six original EN/NB regressions FAILED: unsaved date/action preservation, visible read failure and visible save failure. Final **42 cases/three complete affected suites PASSED**, zero failures/skips; previous36 overlaps42. Non-incremental TypeScript, two-file lint, source diff and AST refresh PASSED19,335 nodes/47,485 edges. Source/native gzip bindings: `evidence/followup-language/SOURCE_RECEIPTS.json`; native red-log whitespace preserved.
Tests preserve draft date `2026-12-01`, literal next action, zero extra follow-up GET, no automatic PUT and the one original explicit save payload/endpoint. Existing date precision/timezone behavior, provider/calendar integration, failed-save hidden-form retry UX, same-job refresh/write ordering and broader job/session lifetime behavior are not changed or qualified. Linked-CV AI reads and child answer-save error copy remain separate.
API is mocked/JSDOM only. No model/provider/native/browser/device or final A3/European/security/recovery/release qualification. Prior Next build remains FAILED. Rollback: revert this source commit; no migration.
@@ -0,0 +1,62 @@
{
"sourceCommit": "d48091df897e480e0fe1f2d427ec358c11794d0c",
"sourcesLfSha256": {
"job-tracker-ui/src/components/InterviewPrep.tsx": "c0de9f7c718a930f298004180016ecd193cb50d1011472a946043f5b644db717",
"job-tracker-ui/src/interview-prep.test.tsx": "e6b5e360fb253e213adfe9675830284bae65b65bd79eab47f40e9fe800ff7c5b",
"job-tracker-ui/src/named-controls.test.tsx": "c8b519701685c434a729a50aeb5e0dfafbaf8a166fb223ab400b28554c5c445f",
"job-tracker-ui/src/application-workflow-assist.test.tsx": "11a1d057ad2ba652da12f0c6529b8a9b7b5bdbf9cdd52799fbbbd524bc5c8e33"
},
"evidenceLfSha256": {
"red.json": "dffa33b3e614015bdfccf6c0d109eb34e3dd7f137af395aa92e79a4a36438265",
"red.txt": "1e583fce1fa1d768248154792ea5efca81ea2362e60aed54dc2767991bb03f2a",
"green.json": "55a093d8aa056c21c37ca7ed3aa0d404c0c68172dc045f5390ead815f29dcfd1",
"green.txt": "e51d10ba9ff336da0516c1e24887594bc66ae5fed98d5f92085cc65ac713eb63",
"typecheck.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"graph.txt": "50c164f2ae664d1953d8ccb3f9df90933f63bb31c4b0279953dd3756477f20a6"
},
"nativeReceipts": [
{
"path": "red.json",
"gzipPath": "red.json.gz",
"rawSha256": "dffa33b3e614015bdfccf6c0d109eb34e3dd7f137af395aa92e79a4a36438265",
"gzipSha256": "1c145f9242d26d014827ce42dd3531cdb59c73f88448fbbcabe32404f86afe68"
},
{
"path": "red.txt",
"gzipPath": "red.txt.gz",
"rawSha256": "09023657647b168f36b08e5b8c7ac9b58b550b83c2bcaca2a05154dd6dfe7821",
"gzipSha256": "f4babfc9daa765973e4da255696a551b20ef8d4e242a9b1a7b77b6a2714f8843"
},
{
"path": "green.json",
"gzipPath": "green.json.gz",
"rawSha256": "55a093d8aa056c21c37ca7ed3aa0d404c0c68172dc045f5390ead815f29dcfd1",
"gzipSha256": "efdc430b20a7eb5bba6e60732a6094c119c5a70cf9b32384cef3e86845157b83"
},
{
"path": "green.txt",
"gzipPath": "green.txt.gz",
"rawSha256": "649657ae9d45d678589b5d9471487a67088b4141e15ea417f4c5b87c93a49cc9",
"gzipSha256": "1ca4f61ffe8c7531e30bfb751e56d84c068daa95a1bd1490cff42ee1468de168"
},
{
"path": "typecheck.txt",
"gzipPath": "typecheck.txt.gz",
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
},
{
"path": "lint.txt",
"gzipPath": "lint.txt.gz",
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
},
{
"path": "graph.txt",
"gzipPath": "graph.txt.gz",
"rawSha256": "7db6f54bb1f86963b08068fbc0a6cb1adb8354b6279cc4813bd4baad8f0950d3",
"gzipSha256": "3f72e418c55421c8f65def25fe25a1853a184fcc6ec883340d51890a00b94bc6"
}
]
}
@@ -0,0 +1,18 @@
Re-extracting code files in . (no LLM needed)...
[graphify watch] 787 file(s) not classified (no supported extension or shebang), skipped: .dockerignore, .env.example, .git, .gitattributes, .gitignore, 1440-en-dark-converted.gz (+781 more)
AST cache: 2646/3097 files served from cache (85%); 451 to extract
AST extraction: 100/451 uncached files (22%) [16 workers]
AST extraction: 200/451 uncached files (44%) [16 workers]
AST extraction: 300/451 uncached files (66%) [16 workers]
AST extraction: 400/451 uncached files (88%) [16 workers]
AST extraction: 451/451 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: 145 code file(s) yielded no symbols (0.15 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 (+140 more)
[graphify watch] community set changed since labeling (0 saved labels, 1195 communities now; renamed 129 community(ies) by their hub). Run `graphify label` to refresh names with the LLM.
Graph has 19335 nodes (above 5000 limit). Building aggregated community view...
graph.html written (aggregated: 1195 community nodes, 2947 cross-community edges)
Tip: run with --obsidian for full node-level detail.
[graphify watch] Rebuilt: 19335 nodes, 47485 edges, 1195 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.
File diff suppressed because one or more lines are too long
@@ -0,0 +1,7 @@
Test Suites: 3 passed, 3 total
Tests: 42 passed, 42 total
Snapshots: 0 total
Time: 15.058 s
Ran all test suites matching src/interview-prep.test.tsx|src/named-controls.test.tsx|src/application-workflow-assist.test.tsx.
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\followup-language-green.json
File diff suppressed because one or more lines are too long
@@ -0,0 +1,417 @@
FAIL src/interview-prep.test.tsx (11.153 s)
● follow-up language switch from en preserves the unsaved date and next action without a read
expect(element).toHaveValue(2026-12-01)
Expected the element to have value:
2026-12-01
Received:
2026-07-26
307 | fireEvent.change(screen.getByLabelText(translations[from].workspaceNextAction), { target: { value: 'Discuss the offer Øresund' } });
308 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));
> 309 | expect(screen.getByLabelText(translations[to].interviewFollowUpDate)).toHaveValue('2026-12-01');
| ^
310 | expect(screen.getByLabelText(translations[to].workspaceNextAction)).toHaveValue('Discuss the offer Øresund');
311 | expect(mockedApi.get).toHaveBeenCalledTimes(1);
312 | expect(mockedApi.put).not.toHaveBeenCalled();
at toHaveValue (src/interview-prep.test.tsx:309:73)
● follow-up language switch from nb preserves the unsaved date and next action without a read
expect(element).toHaveValue(2026-12-01)
Expected the element to have value:
2026-12-01
Received:
2026-07-26
307 | fireEvent.change(screen.getByLabelText(translations[from].workspaceNextAction), { target: { value: 'Discuss the offer Øresund' } });
308 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));
> 309 | expect(screen.getByLabelText(translations[to].interviewFollowUpDate)).toHaveValue('2026-12-01');
| ^
310 | expect(screen.getByLabelText(translations[to].workspaceNextAction)).toHaveValue('Discuss the offer Øresund');
311 | expect(mockedApi.get).toHaveBeenCalledTimes(1);
312 | expect(mockedApi.put).not.toHaveBeenCalled();
at toHaveValue (src/interview-prep.test.tsx:309:73)
● follow-up en read error stays current without another read
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
333 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));
334 | expect(await screen.findByText(translations[to][key])).toBeVisible();
> 335 | expect(mockedApi.get).toHaveBeenCalledTimes(1);
| ^
336 | expect(mockedApi.put).toHaveBeenCalledTimes(operation === 'save' ? 1 : 0);
337 | } finally { mockedApi.put.mockReset(); }
338 | });
at toHaveBeenCalledTimes (src/interview-prep.test.tsx:335:27)
● follow-up en save error stays current without another read
Unable to find an element with the text: Kunne ikke lagre oppfølgingen.. 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
<body>
<div>
<section
aria-labelledby="_r_q_"
class="MuiBox-root css-rw0fp9"
>
<header
class="MuiBox-root css-163u82n"
>
<div
class="MuiBox-root css-14m33b5"
>
<h3
class="MuiTypography-root MuiTypography-sectionTitle css-uf4832-MuiTypography-root"
id="_r_q_"
>
Oppfølging
</h3>
<p
class="MuiTypography-root MuiTypography-pageDescription css-1sqgc3a-MuiTypography-root"
>
Bruker samme dato som påminnelser. Oppfølgingsoppgaver forblir i søknadssjekklisten.
</p>
</div>
</header>
<div
class="MuiBox-root css-31l7gp"
>
<span
aria-atomic="true"
aria-live="polite"
class="MuiBox-root css-ty8jgw"
role="status"
>
Innhold lastet.
</span>
<div
class="MuiStack-root css-1sazv7p-MuiStack-root"
>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiAlert-root MuiAlert-colorInfo MuiAlert-standardInfo MuiAlert-standard css-27wu85-MuiPaper-root-MuiAlert-root"
role="alert"
style="--Paper-shadow: none;"
>
<div
class="MuiAlert-icon css-1wrdnka-MuiAlert-icon"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeInherit css-1ckov0h-MuiSvgIcon-root"
data-testid="InfoOutlinedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"
/>
</svg>
</div>
<div
class="MuiAlert-message css-zioonp-MuiAlert-message"
>
1 åpen oppfølgingsoppgave i sjekklisten.
</div>
</div>
<div
class="MuiStack-root css-1waaizo-MuiStack-root"
>
<div
class="MuiFormControl-root MuiTextField-root css-1xp5r68-MuiFormControl-root-MuiTextField-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"
for="_r_v_"
id="_r_v_-label"
>
Følg opp den
</label>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall css-1tft0rd-MuiInputBase-root-MuiOutlinedInput-root"
>
<input
aria-invalid="false"
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall css-111x7or-MuiInputBase-input-MuiOutlinedInput-input"
id="_r_v_"
type="date"
value="2026-07-26"
/>
<fieldset
aria-hidden="true"
class="MuiOutlinedInput-notchedOutline css-18p5xg2-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"
>
<legend
class="css-ex8a5f-MuiNotchedOutlined-root"
>
<span>
Følg opp den
</span>
</legend>
</fieldset>
</div>
</div>
<div
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-cmpglg-MuiFormControl-root-MuiTextField-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"
for="_r_10_"
id="_r_10_-label"
>
Neste anbefalte handling
</label>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-sizeSmall css-1iqcefa-MuiInputBase-root-MuiOutlinedInput-root"
>
<input
aria-invalid="false"
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall css-111x7or-MuiInputBase-input-MuiOutlinedInput-input"
id="_r_10_"
type="text"
value="Chase recruiter"
/>
<fieldset
aria-hidden="true"
class="MuiOutlinedInput-notchedOutline css-18p5xg2-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"
>
<legend
class="css-ex8a5f-MuiNotchedOutlined-root"
>
<span>
Neste anbefalte handling
</span>
</legend>
</fieldset>
</div>
</div>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary css-83fk99-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
>
Lagre
</button>
</div>
</div>
</div>
</section>
</div>
</body>
332 | expect(await screen.findByText(translations[from][key])).toBeVisible();
333 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));
> 334 | expect(await screen.findByText(translations[to][key])).toBeVisible();
| ^
335 | expect(mockedApi.get).toHaveBeenCalledTimes(1);
336 | expect(mockedApi.put).toHaveBeenCalledTimes(operation === 'save' ? 1 : 0);
337 | } finally { mockedApi.put.mockReset(); }
at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27)
at node_modules/@testing-library/dom/dist/query-helpers.js:86:33
at findByText (src/interview-prep.test.tsx:334:25)
● follow-up nb read error stays current without another read
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
333 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));
334 | expect(await screen.findByText(translations[to][key])).toBeVisible();
> 335 | expect(mockedApi.get).toHaveBeenCalledTimes(1);
| ^
336 | expect(mockedApi.put).toHaveBeenCalledTimes(operation === 'save' ? 1 : 0);
337 | } finally { mockedApi.put.mockReset(); }
338 | });
at toHaveBeenCalledTimes (src/interview-prep.test.tsx:335:27)
● follow-up nb save error stays current without another read
Unable to find an element with the text: Could not save the follow-up.. 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
<body>
<div>
<section
aria-labelledby="_r_18_"
class="MuiBox-root css-rw0fp9"
>
<header
class="MuiBox-root css-163u82n"
>
<div
class="MuiBox-root css-14m33b5"
>
<h3
class="MuiTypography-root MuiTypography-sectionTitle css-uf4832-MuiTypography-root"
id="_r_18_"
>
Follow-up
</h3>
<p
class="MuiTypography-root MuiTypography-pageDescription css-1sqgc3a-MuiTypography-root"
>
Uses the same date as reminders. Follow-up tasks remain in the application checklist.
</p>
</div>
</header>
<div
class="MuiBox-root css-31l7gp"
>
<span
aria-atomic="true"
aria-live="polite"
class="MuiBox-root css-ty8jgw"
role="status"
>
Content loaded.
</span>
<div
class="MuiStack-root css-1sazv7p-MuiStack-root"
>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiAlert-root MuiAlert-colorInfo MuiAlert-standardInfo MuiAlert-standard css-27wu85-MuiPaper-root-MuiAlert-root"
role="alert"
style="--Paper-shadow: none;"
>
<div
class="MuiAlert-icon css-1wrdnka-MuiAlert-icon"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeInherit css-1ckov0h-MuiSvgIcon-root"
data-testid="InfoOutlinedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"
/>
</svg>
</div>
<div
class="MuiAlert-message css-zioonp-MuiAlert-message"
>
1 open follow-up task on the checklist.
</div>
</div>
<div
class="MuiStack-root css-1waaizo-MuiStack-root"
>
<div
class="MuiFormControl-root MuiTextField-root css-1xp5r68-MuiFormControl-root-MuiTextField-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"
for="_r_1d_"
id="_r_1d_-label"
>
Follow up on
</label>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall css-1tft0rd-MuiInputBase-root-MuiOutlinedInput-root"
>
<input
aria-invalid="false"
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall css-111x7or-MuiInputBase-input-MuiOutlinedInput-input"
id="_r_1d_"
type="date"
value="2026-07-26"
/>
<fieldset
aria-hidden="true"
class="MuiOutlinedInput-notchedOutline css-18p5xg2-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"
>
<legend
class="css-ex8a5f-MuiNotchedOutlined-root"
>
<span>
Follow up on
</span>
</legend>
</fieldset>
</div>
</div>
<div
class="MuiFormControl-root MuiFormControl-fullWidth MuiTextField-root css-cmpglg-MuiFormControl-root-MuiTextField-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"
for="_r_1e_"
id="_r_1e_-label"
>
Next recommended action
</label>
<div
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-fullWidth MuiInputBase-formControl MuiInputBase-sizeSmall css-1iqcefa-MuiInputBase-root-MuiOutlinedInput-root"
>
<input
aria-invalid="false"
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall css-111x7or-MuiInputBase-input-MuiOutlinedInput-input"
id="_r_1e_"
type="text"
value="Chase recruiter"
/>
<fieldset
aria-hidden="true"
class="MuiOutlinedInput-notchedOutline css-18p5xg2-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"
>
<legend
class="css-ex8a5f-MuiNotchedOutlined-root"
>
<span>
Next recommended action
</span>
</legend>
</fieldset>
</div>
</div>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorPrimary css-83fk99-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
>
Save
</button>
</div>
</div>
</div>
</section>
</div>
</body>
332 | expect(await screen.findByText(translations[from][key])).toBeVisible();
333 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));
> 334 | expect(await screen.findByText(translations[to][key])).toBeVisible();
| ^
335 | expect(mockedApi.get).toHaveBeenCalledTimes(1);
336 | expect(mockedApi.put).toHaveBeenCalledTimes(operation === 'save' ? 1 : 0);
337 | } finally { mockedApi.put.mockReset(); }
at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27)
at node_modules/@testing-library/dom/dist/query-helpers.js:86:33
at findByText (src/interview-prep.test.tsx:334:25)
Test Suites: 1 failed, 1 total
Tests: 6 failed, 26 skipped, 32 total
Snapshots: 0 total
Time: 11.962 s
Ran all test suites matching src/interview-prep.test.tsx with tests matching "follow-up language switch from|follow-up en .*error|follow-up nb .*error".
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\followup-language-red.json