diff --git a/docs/ui-modernisation/FOLLOWUP_LANGUAGE_CONTINUITY.md b/docs/ui-modernisation/FOLLOWUP_LANGUAGE_CONTINUITY.md new file mode 100644 index 00000000..890e9c79 --- /dev/null +++ b/docs/ui-modernisation/FOLLOWUP_LANGUAGE_CONTINUITY.md @@ -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. diff --git a/docs/ui-modernisation/evidence/followup-language/SOURCE_RECEIPTS.json b/docs/ui-modernisation/evidence/followup-language/SOURCE_RECEIPTS.json new file mode 100644 index 00000000..c1a2d5a8 --- /dev/null +++ b/docs/ui-modernisation/evidence/followup-language/SOURCE_RECEIPTS.json @@ -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" + } + ] +} diff --git a/docs/ui-modernisation/evidence/followup-language/graph.txt b/docs/ui-modernisation/evidence/followup-language/graph.txt new file mode 100644 index 00000000..808791e8 --- /dev/null +++ b/docs/ui-modernisation/evidence/followup-language/graph.txt @@ -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. diff --git a/docs/ui-modernisation/evidence/followup-language/graph.txt.gz b/docs/ui-modernisation/evidence/followup-language/graph.txt.gz new file mode 100644 index 00000000..99857f54 Binary files /dev/null and b/docs/ui-modernisation/evidence/followup-language/graph.txt.gz differ diff --git a/docs/ui-modernisation/evidence/followup-language/green.json b/docs/ui-modernisation/evidence/followup-language/green.json new file mode 100644 index 00000000..c3758edd --- /dev/null +++ b/docs/ui-modernisation/evidence/followup-language/green.json @@ -0,0 +1 @@ +{"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":3,"numPassedTests":42,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":3,"numTotalTests":42,"openHandles":[],"snapshot":{"added":0,"didUpdate":false,"failure":false,"filesAdded":0,"filesRemoved":0,"filesRemovedList":[],"filesUnmatched":0,"filesUpdated":0,"matched":0,"total":0,"unchecked":0,"uncheckedKeysByFile":[],"unmatched":0,"updated":0},"startTime":1794926853127,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":1155,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending preparation deletion follows en without a preparation reload or answer loss","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794926856913,"status":"passed","title":"pending preparation deletion follows en without a preparation reload or answer loss"},{"ancestorTitles":[],"duration":771,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending preparation deletion follows nb without a preparation reload or answer loss","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794926858069,"status":"passed","title":"pending preparation deletion follows nb without a preparation reload or answer loss"},{"ancestorTitles":[],"duration":161,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation read error follows en without another preparation request","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794926858841,"status":"passed","title":"visible preparation read error follows en without another preparation request"},{"ancestorTitles":[],"duration":155,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation read error follows nb without another preparation request","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794926859002,"status":"passed","title":"visible preparation read error follows nb without another preparation request"},{"ancestorTitles":[],"duration":473,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation mutation error follows en without clearing the failure through a reload","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794926859157,"status":"passed","title":"visible preparation mutation error follows en without clearing the failure through a reload"},{"ancestorTitles":[],"duration":451,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation mutation error follows nb without clearing the failure through a reload","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794926859630,"status":"passed","title":"visible preparation mutation error follows nb without clearing the failure through a reload"},{"ancestorTitles":["en unknown interview categories"],"duration":150,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves constructor as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926860081,"status":"passed","title":"preserves constructor as a category label"},{"ancestorTitles":["en unknown interview categories"],"duration":128,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves toString as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926860231,"status":"passed","title":"preserves toString as a category label"},{"ancestorTitles":["en unknown interview categories"],"duration":123,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves __proto__ as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926860359,"status":"passed","title":"preserves __proto__ as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":137,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves constructor as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926860482,"status":"passed","title":"preserves constructor as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":145,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves toString as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926860619,"status":"passed","title":"preserves toString as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":147,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves __proto__ as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926860765,"status":"passed","title":"preserves __proto__ as a category label"},{"ancestorTitles":[],"duration":110,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"localizes interview categories while preserving user-authored preparation","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794926860913,"status":"passed","title":"localizes interview categories while preserving user-authored preparation"},{"ancestorTitles":[],"duration":172,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prep renders grouped items with progress and marks AI-sourced ones","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794926861023,"status":"passed","title":"prep renders grouped items with progress and marks AI-sourced ones"},{"ancestorTitles":[],"duration":286,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"delete tooltip describes its wrapper while the disabled button keeps its item name","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794926861195,"status":"passed","title":"delete tooltip describes its wrapper while the disabled button keeps its item name"},{"ancestorTitles":[],"duration":369,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"adding a prep item posts the chosen category and title","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926861481,"status":"passed","title":"adding a prep item posts the chosen category and title"},{"ancestorTitles":[],"duration":262,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"starts a structured interview debrief without inventing answers","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926861850,"status":"passed","title":"starts a structured interview debrief without inventing answers"},{"ancestorTitles":[],"duration":215,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"marking an item ready patches it","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926862112,"status":"passed","title":"marking an item ready patches it"},{"ancestorTitles":[],"duration":262,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an answer is only saved when the user asks","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926862327,"status":"passed","title":"an answer is only saved when the user asks"},{"ancestorTitles":[],"duration":339,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"deleting a prep item calls delete","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926862590,"status":"passed","title":"deleting a prep item calls delete"},{"ancestorTitles":[],"duration":138,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"empty prep shows a useful empty state","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926862929,"status":"passed","title":"empty prep shows a useful empty state"},{"ancestorTitles":[],"duration":353,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"AI preparation uses the linked CV and only saves after explicit acceptance","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794926863067,"status":"passed","title":"AI preparation uses the linked CV and only saves after explicit acceptance"},{"ancestorTitles":[],"duration":97,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prep surfaces a load error","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926863420,"status":"passed","title":"prep surfaces a load error"},{"ancestorTitles":[],"duration":123,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up language switch from en preserves the unsaved date and next action without a read","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794926863517,"status":"passed","title":"follow-up language switch from en preserves the unsaved date and next action without a read"},{"ancestorTitles":[],"duration":103,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up language switch from nb preserves the unsaved date and next action without a read","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794926863640,"status":"passed","title":"follow-up language switch from nb preserves the unsaved date and next action without a read"},{"ancestorTitles":[],"duration":36,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up en read error stays current without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794926863743,"status":"passed","title":"follow-up en read error stays current without another read"},{"ancestorTitles":[],"duration":121,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up en save error stays current without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794926863779,"status":"passed","title":"follow-up en save error stays current without another read"},{"ancestorTitles":[],"duration":48,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up nb read error stays current without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794926863900,"status":"passed","title":"follow-up nb read error stays current without another read"},{"ancestorTitles":[],"duration":123,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up nb save error stays current without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794926863948,"status":"passed","title":"follow-up nb save error stays current without another read"},{"ancestorTitles":[],"duration":55,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up loads the existing date and open checklist tasks","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794926864071,"status":"passed","title":"follow-up loads the existing date and open checklist tasks"},{"ancestorTitles":[],"duration":67,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"saving a follow-up sends the date and next action","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926864126,"status":"passed","title":"saving a follow-up sends the date and next action"},{"ancestorTitles":[],"duration":25,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"no follow-up shows an empty state","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926864193,"status":"passed","title":"no follow-up shows an empty state"}],"endTime":1794926864220,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx","startTime":1794926853946,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":73,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"recruiter status suggestions require an explicit apply action","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794926865074,"status":"passed","title":"recruiter status suggestions require an explicit apply action"},{"ancestorTitles":[],"duration":202,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"strategy snapshot shows saved output and queues regeneration only on request","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794926865148,"status":"passed","title":"strategy snapshot shows saved output and queues regeneration only on request"},{"ancestorTitles":[],"duration":141,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed strategy reads stay distinct from empty, localize without refetching and retry only the read","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794926865350,"status":"passed","title":"failed strategy reads stay distinct from empty, localize without refetching and retry only the read"},{"ancestorTitles":[],"duration":46,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"only the explicit not-generated response is an intentional empty strategy","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794926865491,"status":"passed","title":"only the explicit not-generated response is an intentional empty strategy"},{"ancestorTitles":[],"duration":47,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a late strategy response cannot replace another job and denial never offers read retry","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794926865537,"status":"passed","title":"a late strategy response cannot replace another job and denial never offers read retry"}],"endTime":1794926865585,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\application-workflow-assist.test.tsx","startTime":1794926864234,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":620,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"[PRES-C08 PRES-C09] en CV selects have visible names and retain exact override patches","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794926866634,"status":"passed","title":"[PRES-C08 PRES-C09] en CV selects have visible names and retain exact override patches"},{"ancestorTitles":[],"duration":571,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"[PRES-C08 PRES-C09] nb CV selects have visible names and retain exact override patches","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794926867254,"status":"passed","title":"[PRES-C08 PRES-C09] nb CV selects have visible names and retain exact override patches"},{"ancestorTitles":[],"duration":166,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"[PRES-C07 PRES-W06] en rich text retains names, selected Markdown and editor focus","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794926867825,"status":"passed","title":"[PRES-C07 PRES-W06] en rich text retains names, selected Markdown and editor focus"},{"ancestorTitles":[],"duration":139,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"[PRES-C07 PRES-W06] nb rich text retains names, selected Markdown and editor focus","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794926867991,"status":"passed","title":"[PRES-C07 PRES-W06] nb rich text retains names, selected Markdown and editor focus"},{"ancestorTitles":[],"duration":49,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"[PRES-C07 PRES-W06] disabled rich text cannot format or edit and repeated fields keep separate labels","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794926868130,"status":"passed","title":"[PRES-C07 PRES-W06] disabled rich text cannot format or edit and repeated fields keep separate labels"}],"endTime":1794926868180,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\named-controls.test.tsx","startTime":1794926865598,"status":"passed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/followup-language/green.json.gz b/docs/ui-modernisation/evidence/followup-language/green.json.gz new file mode 100644 index 00000000..fdd5635a Binary files /dev/null and b/docs/ui-modernisation/evidence/followup-language/green.json.gz differ diff --git a/docs/ui-modernisation/evidence/followup-language/green.txt b/docs/ui-modernisation/evidence/followup-language/green.txt new file mode 100644 index 00000000..96127982 --- /dev/null +++ b/docs/ui-modernisation/evidence/followup-language/green.txt @@ -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 diff --git a/docs/ui-modernisation/evidence/followup-language/green.txt.gz b/docs/ui-modernisation/evidence/followup-language/green.txt.gz new file mode 100644 index 00000000..024eebb1 Binary files /dev/null and b/docs/ui-modernisation/evidence/followup-language/green.txt.gz differ diff --git a/docs/ui-modernisation/evidence/followup-language/lint.txt b/docs/ui-modernisation/evidence/followup-language/lint.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/ui-modernisation/evidence/followup-language/lint.txt.gz b/docs/ui-modernisation/evidence/followup-language/lint.txt.gz new file mode 100644 index 00000000..ae211a2c Binary files /dev/null and b/docs/ui-modernisation/evidence/followup-language/lint.txt.gz differ diff --git a/docs/ui-modernisation/evidence/followup-language/red.json b/docs/ui-modernisation/evidence/followup-language/red.json new file mode 100644 index 00000000..65be9285 --- /dev/null +++ b/docs/ui-modernisation/evidence/followup-language/red.json @@ -0,0 +1 @@ +{"numFailedTestSuites":1,"numFailedTests":6,"numPassedTestSuites":0,"numPassedTests":0,"numPendingTestSuites":0,"numPendingTests":26,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":1,"numTotalTests":32,"openHandles":[],"snapshot":{"added":0,"didUpdate":false,"failure":false,"filesAdded":0,"filesRemoved":0,"filesRemovedList":[],"filesUnmatched":0,"filesUpdated":0,"matched":0,"total":0,"unchecked":0,"uncheckedKeysByFile":[],"unmatched":0,"updated":0},"startTime":1794926738284,"success":false,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending preparation deletion follows en without a preparation reload or answer loss","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741613,"status":"pending","title":"pending preparation deletion follows en without a preparation reload or answer loss"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending preparation deletion follows nb without a preparation reload or answer loss","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741613,"status":"pending","title":"pending preparation deletion follows nb without a preparation reload or answer loss"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation read error follows en without another preparation request","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741613,"status":"pending","title":"visible preparation read error follows en without another preparation request"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation read error follows nb without another preparation request","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741613,"status":"pending","title":"visible preparation read error follows nb without another preparation request"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation mutation error follows en without clearing the failure through a reload","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741613,"status":"pending","title":"visible preparation mutation error follows en without clearing the failure through a reload"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation mutation error follows nb without clearing the failure through a reload","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741613,"status":"pending","title":"visible preparation mutation error follows nb without clearing the failure through a reload"},{"ancestorTitles":["en unknown interview categories"],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves constructor as a category label","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741613,"status":"pending","title":"preserves constructor as a category label"},{"ancestorTitles":["en unknown interview categories"],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves toString as a category label","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741613,"status":"pending","title":"preserves toString as a category label"},{"ancestorTitles":["en unknown interview categories"],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves __proto__ as a category label","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741613,"status":"pending","title":"preserves __proto__ as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves constructor as a category label","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741613,"status":"pending","title":"preserves constructor as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves toString as a category label","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741613,"status":"pending","title":"preserves toString as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves __proto__ as a category label","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741614,"status":"pending","title":"preserves __proto__ as a category label"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"localizes interview categories while preserving user-authored preparation","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741614,"status":"pending","title":"localizes interview categories while preserving user-authored preparation"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prep renders grouped items with progress and marks AI-sourced ones","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741614,"status":"pending","title":"prep renders grouped items with progress and marks AI-sourced ones"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"delete tooltip describes its wrapper while the disabled button keeps its item name","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741614,"status":"pending","title":"delete tooltip describes its wrapper while the disabled button keeps its item name"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"adding a prep item posts the chosen category and title","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741614,"status":"pending","title":"adding a prep item posts the chosen category and title"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"starts a structured interview debrief without inventing answers","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741614,"status":"pending","title":"starts a structured interview debrief without inventing answers"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"marking an item ready patches it","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741614,"status":"pending","title":"marking an item ready patches it"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an answer is only saved when the user asks","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741614,"status":"pending","title":"an answer is only saved when the user asks"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"deleting a prep item calls delete","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741614,"status":"pending","title":"deleting a prep item calls delete"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"empty prep shows a useful empty state","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741614,"status":"pending","title":"empty prep shows a useful empty state"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"AI preparation uses the linked CV and only saves after explicit acceptance","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741614,"status":"pending","title":"AI preparation uses the linked CV and only saves after explicit acceptance"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prep surfaces a load error","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741614,"status":"pending","title":"prep surfaces a load error"},{"ancestorTitles":[],"duration":136,"failing":false,"failureDetails":[{"matcherResult":{"pass":false,"message":"expect(element).toHaveValue(2026-12-01)\n\nExpected the element to have value:\n 2026-12-01\nReceived:\n 2026-07-26"}}],"failureMessages":["Error: expect(element).toHaveValue(2026-12-01)\n\nExpected the element to have value:\n 2026-12-01\nReceived:\n 2026-07-26\n at toHaveValue (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx:309:73)"],"fullName":"follow-up language switch from en preserves the unsaved date and next action without a read","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741614,"status":"failed","title":"follow-up language switch from en preserves the unsaved date and next action without a read"},{"ancestorTitles":[],"duration":73,"failing":false,"failureDetails":[{"matcherResult":{"pass":false,"message":"expect(element).toHaveValue(2026-12-01)\n\nExpected the element to have value:\n 2026-12-01\nReceived:\n 2026-07-26"}}],"failureMessages":["Error: expect(element).toHaveValue(2026-12-01)\n\nExpected the element to have value:\n 2026-12-01\nReceived:\n 2026-07-26\n at toHaveValue (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx:309:73)"],"fullName":"follow-up language switch from nb preserves the unsaved date and next action without a read","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926741764,"status":"failed","title":"follow-up language switch from nb preserves the unsaved date and next action without a read"},{"ancestorTitles":[],"duration":103,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).toHaveBeenCalledTimes(expected)\n\nExpected number of calls: 1\nReceived number of calls: 2","pass":false}}],"failureMessages":["Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)\n\nExpected number of calls: 1\nReceived number of calls: 2\n at toHaveBeenCalledTimes (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx:335:27)"],"fullName":"follow-up en read error stays current without another read","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926741837,"status":"failed","title":"follow-up en read error stays current without another read"},{"ancestorTitles":[],"duration":4117,"failing":false,"failureDetails":[{"name":"TestingLibraryElementError"}],"failureMessages":["Error: 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.\n\nIgnored nodes: comments, script, style\n\u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mOppfølging\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mBruker samme dato som påminnelser. Oppfølgingsoppgaver forblir i søknadssjekklisten.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInnhold lastet.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 åpen oppfølgingsoppgave i sjekklisten.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFølg opp den\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFølg opp den\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mNeste anbefalte handling\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mNeste anbefalte handling\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mLagre\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n\u001b[36m\u001b[39m\n at waitForWrapper (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\wait-for.js:163:27)\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\query-helpers.js:86:33\n at findByText (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx:334:25)"],"fullName":"follow-up en save error stays current without another read","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926741940,"status":"failed","title":"follow-up en save error stays current without another read"},{"ancestorTitles":[],"duration":63,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).toHaveBeenCalledTimes(expected)\n\nExpected number of calls: 1\nReceived number of calls: 2","pass":false}}],"failureMessages":["Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)\n\nExpected number of calls: 1\nReceived number of calls: 2\n at toHaveBeenCalledTimes (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx:335:27)"],"fullName":"follow-up nb read error stays current without another read","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926746057,"status":"failed","title":"follow-up nb read error stays current without another read"},{"ancestorTitles":[],"duration":4087,"failing":false,"failureDetails":[{"name":"TestingLibraryElementError"}],"failureMessages":["Error: 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.\n\nIgnored nodes: comments, script, style\n\u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFollow-up\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mUses the same date as reminders. Follow-up tasks remain in the application checklist.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mContent loaded.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 open follow-up task on the checklist.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFollow up on\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFollow up on\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mNext recommended action\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mNext recommended action\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mSave\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n\u001b[36m\u001b[39m\n at waitForWrapper (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\wait-for.js:163:27)\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\query-helpers.js:86:33\n at findByText (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx:334:25)"],"fullName":"follow-up nb save error stays current without another read","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926746121,"status":"failed","title":"follow-up nb save error stays current without another read"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up loads the existing date and open checklist tasks","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926750208,"status":"pending","title":"follow-up loads the existing date and open checklist tasks"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"saving a follow-up sends the date and next action","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926750208,"status":"pending","title":"saving a follow-up sends the date and next action"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"no follow-up shows an empty state","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794926750208,"status":"pending","title":"no follow-up shows an empty state"}],"endTime":1794926750237,"message":" ● follow-up language switch from en preserves the unsaved date and next action without a read\n\n expect(element).toHaveValue(2026-12-01)\n\n Expected the element to have value:\n 2026-12-01\n Received:\n 2026-07-26\n\n 307 | fireEvent.change(screen.getByLabelText(translations[from].workspaceNextAction), { target: { value: 'Discuss the offer Øresund' } });\n 308 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n > 309 | expect(screen.getByLabelText(translations[to].interviewFollowUpDate)).toHaveValue('2026-12-01');\n | ^\n 310 | expect(screen.getByLabelText(translations[to].workspaceNextAction)).toHaveValue('Discuss the offer Øresund');\n 311 | expect(mockedApi.get).toHaveBeenCalledTimes(1);\n 312 | expect(mockedApi.put).not.toHaveBeenCalled();\n\n at toHaveValue (src/interview-prep.test.tsx:309:73)\n\n ● follow-up language switch from nb preserves the unsaved date and next action without a read\n\n expect(element).toHaveValue(2026-12-01)\n\n Expected the element to have value:\n 2026-12-01\n Received:\n 2026-07-26\n\n 307 | fireEvent.change(screen.getByLabelText(translations[from].workspaceNextAction), { target: { value: 'Discuss the offer Øresund' } });\n 308 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n > 309 | expect(screen.getByLabelText(translations[to].interviewFollowUpDate)).toHaveValue('2026-12-01');\n | ^\n 310 | expect(screen.getByLabelText(translations[to].workspaceNextAction)).toHaveValue('Discuss the offer Øresund');\n 311 | expect(mockedApi.get).toHaveBeenCalledTimes(1);\n 312 | expect(mockedApi.put).not.toHaveBeenCalled();\n\n at toHaveValue (src/interview-prep.test.tsx:309:73)\n\n ● follow-up en read error stays current without another read\n\n expect(jest.fn()).toHaveBeenCalledTimes(expected)\n\n Expected number of calls: 1\n Received number of calls: 2\n\n 333 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n 334 | expect(await screen.findByText(translations[to][key])).toBeVisible();\n > 335 | expect(mockedApi.get).toHaveBeenCalledTimes(1);\n | ^\n 336 | expect(mockedApi.put).toHaveBeenCalledTimes(operation === 'save' ? 1 : 0);\n 337 | } finally { mockedApi.put.mockReset(); }\n 338 | });\n\n at toHaveBeenCalledTimes (src/interview-prep.test.tsx:335:27)\n\n ● follow-up en save error stays current without another read\n\n 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.\n\n Ignored nodes: comments, script, style\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mOppfølging\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mBruker samme dato som påminnelser. Oppfølgingsoppgaver forblir i søknadssjekklisten.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInnhold lastet.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 åpen oppfølgingsoppgave i sjekklisten.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFølg opp den\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFølg opp den\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mNeste anbefalte handling\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mNeste anbefalte handling\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mLagre\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n\n 332 | expect(await screen.findByText(translations[from][key])).toBeVisible();\n 333 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n > 334 | expect(await screen.findByText(translations[to][key])).toBeVisible();\n | ^\n 335 | expect(mockedApi.get).toHaveBeenCalledTimes(1);\n 336 | expect(mockedApi.put).toHaveBeenCalledTimes(operation === 'save' ? 1 : 0);\n 337 | } finally { mockedApi.put.mockReset(); }\n\n at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27)\n at node_modules/@testing-library/dom/dist/query-helpers.js:86:33\n at findByText (src/interview-prep.test.tsx:334:25)\n\n ● follow-up nb read error stays current without another read\n\n expect(jest.fn()).toHaveBeenCalledTimes(expected)\n\n Expected number of calls: 1\n Received number of calls: 2\n\n 333 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n 334 | expect(await screen.findByText(translations[to][key])).toBeVisible();\n > 335 | expect(mockedApi.get).toHaveBeenCalledTimes(1);\n | ^\n 336 | expect(mockedApi.put).toHaveBeenCalledTimes(operation === 'save' ? 1 : 0);\n 337 | } finally { mockedApi.put.mockReset(); }\n 338 | });\n\n at toHaveBeenCalledTimes (src/interview-prep.test.tsx:335:27)\n\n ● follow-up nb save error stays current without another read\n\n 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.\n\n Ignored nodes: comments, script, style\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFollow-up\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mUses the same date as reminders. Follow-up tasks remain in the application checklist.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mContent loaded.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 open follow-up task on the checklist.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFollow up on\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFollow up on\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mNext recommended action\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mNext recommended action\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mSave\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n\n 332 | expect(await screen.findByText(translations[from][key])).toBeVisible();\n 333 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n > 334 | expect(await screen.findByText(translations[to][key])).toBeVisible();\n | ^\n 335 | expect(mockedApi.get).toHaveBeenCalledTimes(1);\n 336 | expect(mockedApi.put).toHaveBeenCalledTimes(operation === 'save' ? 1 : 0);\n 337 | } finally { mockedApi.put.mockReset(); }\n\n at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27)\n at node_modules/@testing-library/dom/dist/query-helpers.js:86:33\n at findByText (src/interview-prep.test.tsx:334:25)\n","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx","startTime":1794926739084,"status":"failed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/followup-language/red.json.gz b/docs/ui-modernisation/evidence/followup-language/red.json.gz new file mode 100644 index 00000000..26def075 Binary files /dev/null and b/docs/ui-modernisation/evidence/followup-language/red.json.gz differ diff --git a/docs/ui-modernisation/evidence/followup-language/red.txt b/docs/ui-modernisation/evidence/followup-language/red.txt new file mode 100644 index 00000000..185b4a43 --- /dev/null +++ b/docs/ui-modernisation/evidence/followup-language/red.txt @@ -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 + +
+
+
+
+

+ Oppfølging +

+

+ Bruker samme dato som påminnelser. Oppfølgingsoppgaver forblir i søknadssjekklisten. +

+
+
+
+ + Innhold lastet. + +
+ +
+
+ +
+ + +
+
+
+ +
+ + +
+
+ +
+
+
+
+
+ + + 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 + +
+
+
+
+

+ Follow-up +

+

+ Uses the same date as reminders. Follow-up tasks remain in the application checklist. +

+
+
+
+ + Content loaded. + +
+ +
+
+ +
+ + +
+
+
+ +
+ + +
+
+ +
+
+
+
+
+ + + 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 diff --git a/docs/ui-modernisation/evidence/followup-language/red.txt.gz b/docs/ui-modernisation/evidence/followup-language/red.txt.gz new file mode 100644 index 00000000..4c7c66e6 Binary files /dev/null and b/docs/ui-modernisation/evidence/followup-language/red.txt.gz differ diff --git a/docs/ui-modernisation/evidence/followup-language/typecheck.txt b/docs/ui-modernisation/evidence/followup-language/typecheck.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/ui-modernisation/evidence/followup-language/typecheck.txt.gz b/docs/ui-modernisation/evidence/followup-language/typecheck.txt.gz new file mode 100644 index 00000000..ae211a2c Binary files /dev/null and b/docs/ui-modernisation/evidence/followup-language/typecheck.txt.gz differ