diff --git a/docs/ui-modernisation/PREP_ANSWER_RECOVERY.md b/docs/ui-modernisation/PREP_ANSWER_RECOVERY.md new file mode 100644 index 00000000..ffa27fb2 --- /dev/null +++ b/docs/ui-modernisation/PREP_ANSWER_RECOVERY.md @@ -0,0 +1,9 @@ +# Preserve interview answers after failed saves + +17 November 2026. Source `5aa204b6`, baseline `7cb66826`, branch `codex/a3-ui-10`. + +PrepRow now reports its error cause and existing fallback key to the parent presenter. That caller contract has one owner; all preparation errors now use that cause/key shape, removing the old captured string alternative. The existing Shell retains rows specifically for answer-save errors, preserving the local unsaved answer for an explicit retry. Initial board load/mutation error presentation remains separately controlled. No endpoint, payload, job/item identity, success/reload, auto-save or model behavior changed. + +Four original EN/NB regressions FAILED for delayed and already-visible failures across language switches. Final **50 cases/three complete affected suites PASSED**, zero failures/skips; prior46 overlaps50. Non-incremental TypeScript, two-file lint, source diff and AST19,343 nodes/47,488 edges passed. Tests retain the answer, current-language fallback, no preparation read or second write on language change, and the exact original job/item/content payload on explicit retry. Source/native gzip receipts: `evidence/prep-answer-recovery/SOURCE_RECEIPTS.json`. Native failure-log bytes/whitespace retained. + +Synthetic API/JSDOM only; no real save, models/providers, browser/device or full A3/European/security/release acceptance. Existing broader job/session lifetimes, add-question failure handling and linked-CV read presentation remain separate. Prior Next build remains FAILED. Rollback: revert this source commit; no migration. diff --git a/docs/ui-modernisation/evidence/prep-answer-recovery/SOURCE_RECEIPTS.json b/docs/ui-modernisation/evidence/prep-answer-recovery/SOURCE_RECEIPTS.json new file mode 100644 index 00000000..a8ff87c9 --- /dev/null +++ b/docs/ui-modernisation/evidence/prep-answer-recovery/SOURCE_RECEIPTS.json @@ -0,0 +1,62 @@ +{ + "sourceCommit": "5aa204b677e412a37cb8defbd0cdd6c5383cf4ce", + "sourcesLfSha256": { + "job-tracker-ui/src/components/InterviewPrep.tsx": "888669f266a8fc7c3cba8d0ce63da98c8cf5219f982cd1b7ba8bbe28e0efdf41", + "job-tracker-ui/src/interview-prep.test.tsx": "3bf0fb8f027b027dae961cfdb945fbe4190728a0f67615091365f6f6a71ff07a", + "job-tracker-ui/src/named-controls.test.tsx": "c8b519701685c434a729a50aeb5e0dfafbaf8a166fb223ab400b28554c5c445f", + "job-tracker-ui/src/application-workflow-assist.test.tsx": "11a1d057ad2ba652da12f0c6529b8a9b7b5bdbf9cdd52799fbbbd524bc5c8e33" + }, + "evidenceLfSha256": { + "red.json": "3818632c0199e87627563905bad0f759b673e0d270a762d255a6066f43fa00e8", + "red.txt": "03e17883aad9a949e3e5cf98bb8cc29158894332e5e1c4c9ae3dc855689385f9", + "green.json": "4428353f37ef1a661ae1c65963cfcaab4ea9e4761b03e59081f43a94c4b65839", + "green.txt": "88ec207673f713f72289d6e2778f87be466ac8c6eb3c0d06714862bd546a2d2a", + "typecheck.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "graph.txt": "f03fe9f518c775ad40b7e99be3d1986dedbfd82febf4e67517d94b06be119bc6" + }, + "nativeReceipts": [ + { + "path": "red.json", + "gzipPath": "red.json.gz", + "rawSha256": "3818632c0199e87627563905bad0f759b673e0d270a762d255a6066f43fa00e8", + "gzipSha256": "8dcc46d863588d7fb7b46a7e3ff2b6bad2ded176e6fc351600c17515701ff982" + }, + { + "path": "red.txt", + "gzipPath": "red.txt.gz", + "rawSha256": "529994d6ae14a73d378ca362de156fd2b6cb80e4cc1a960f6587e797c9d05418", + "gzipSha256": "a3da53c2eff6835758dad07ba22da374527cd287513a7dd75928ae24d5f9d62e" + }, + { + "path": "green.json", + "gzipPath": "green.json.gz", + "rawSha256": "4428353f37ef1a661ae1c65963cfcaab4ea9e4761b03e59081f43a94c4b65839", + "gzipSha256": "030e8c9d5a436376ed1e4f09c99998b32d135cb38713c15097b96711ff10aa81" + }, + { + "path": "green.txt", + "gzipPath": "green.txt.gz", + "rawSha256": "94a0ea406889330a3b007babd65cb103f3c0cc7267f8e1256f12cec6746ae344", + "gzipSha256": "3567142bd6bc9093261ed7ac455bc5ebcaa45ab6fda2b809bd4b5d4ffac0a6ed" + }, + { + "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": "76cef1e05f0824ed43a95c43ec3189dc3de303ea9b0c52bd1c06624f2fbb7e17", + "gzipSha256": "119d5935b1529b8f2e7ae0b5cd94ca7d10565cf8711cdd5aa8b9016b748e0ece" + } + ] +} diff --git a/docs/ui-modernisation/evidence/prep-answer-recovery/graph.txt b/docs/ui-modernisation/evidence/prep-answer-recovery/graph.txt new file mode 100644 index 00000000..e0ea45c0 --- /dev/null +++ b/docs/ui-modernisation/evidence/prep-answer-recovery/graph.txt @@ -0,0 +1,17 @@ +Re-extracting code files in . (no LLM needed)... +[graphify watch] 831 file(s) not classified (no supported extension or shebang), skipped: .dockerignore, .env.example, .git, .gitattributes, .gitignore, 1440-en-dark-converted.gz (+825 more) + AST cache: 2673/3121 files served from cache (85%); 448 to extract + AST extraction: 100/448 uncached files (22%) [16 workers] + AST extraction: 200/448 uncached files (44%) [16 workers] + AST extraction: 300/448 uncached files (66%) [16 workers] + AST extraction: 400/448 uncached files (89%) [16 workers] + AST extraction: 448/448 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) +Graph has 19343 nodes (above 5000 limit). Building aggregated community view... +graph.html written (aggregated: 1187 community nodes, 3081 cross-community edges) +Tip: run with --obsidian for full node-level detail. +[graphify watch] Rebuilt: 19343 nodes, 47488 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. diff --git a/docs/ui-modernisation/evidence/prep-answer-recovery/graph.txt.gz b/docs/ui-modernisation/evidence/prep-answer-recovery/graph.txt.gz new file mode 100644 index 00000000..b66cce63 Binary files /dev/null and b/docs/ui-modernisation/evidence/prep-answer-recovery/graph.txt.gz differ diff --git a/docs/ui-modernisation/evidence/prep-answer-recovery/green.json b/docs/ui-modernisation/evidence/prep-answer-recovery/green.json new file mode 100644 index 00000000..99e4a01f --- /dev/null +++ b/docs/ui-modernisation/evidence/prep-answer-recovery/green.json @@ -0,0 +1 @@ +{"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":3,"numPassedTests":50,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":3,"numTotalTests":50,"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":1794937285985,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":779,"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":1794937289322,"status":"passed","title":"pending preparation deletion follows en without a preparation reload or answer loss"},{"ancestorTitles":[],"duration":598,"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":1794937290102,"status":"passed","title":"pending preparation deletion follows nb without a preparation reload or answer loss"},{"ancestorTitles":[],"duration":102,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation read error follows en without another preparation request","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794937290700,"status":"passed","title":"visible preparation read error follows en without another preparation request"},{"ancestorTitles":[],"duration":107,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation read error follows nb without another preparation request","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794937290802,"status":"passed","title":"visible preparation read error follows nb without another preparation request"},{"ancestorTitles":[],"duration":323,"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":1794937290909,"status":"passed","title":"visible preparation mutation error follows en without clearing the failure through a reload"},{"ancestorTitles":[],"duration":307,"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":1794937291232,"status":"passed","title":"visible preparation mutation error follows nb without clearing the failure through a reload"},{"ancestorTitles":["en unknown interview categories"],"duration":107,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves constructor as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937291539,"status":"passed","title":"preserves constructor as a category label"},{"ancestorTitles":["en unknown interview categories"],"duration":98,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves toString as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937291646,"status":"passed","title":"preserves toString as a category label"},{"ancestorTitles":["en unknown interview categories"],"duration":103,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves __proto__ as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937291744,"status":"passed","title":"preserves __proto__ as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":108,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves constructor as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937291847,"status":"passed","title":"preserves constructor as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":91,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves toString as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937291955,"status":"passed","title":"preserves toString as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":63,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves __proto__ as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937292046,"status":"passed","title":"preserves __proto__ as a category label"},{"ancestorTitles":[],"duration":277,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"answer save failure follows en / pending and retains the draft for explicit retry","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794937292109,"status":"passed","title":"answer save failure follows en / pending and retains the draft for explicit retry"},{"ancestorTitles":[],"duration":400,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"answer save failure follows en / visible and retains the draft for explicit retry","invocations":1,"location":null,"numPassingAsserts":10,"retryReasons":[],"startAt":1794937292387,"status":"passed","title":"answer save failure follows en / visible and retains the draft for explicit retry"},{"ancestorTitles":[],"duration":385,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"answer save failure follows nb / pending and retains the draft for explicit retry","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794937292787,"status":"passed","title":"answer save failure follows nb / pending and retains the draft for explicit retry"},{"ancestorTitles":[],"duration":304,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"answer save failure follows nb / visible and retains the draft for explicit retry","invocations":1,"location":null,"numPassingAsserts":10,"retryReasons":[],"startAt":1794937293172,"status":"passed","title":"answer save failure follows nb / visible and retains the draft for explicit retry"},{"ancestorTitles":[],"duration":98,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"localizes interview categories while preserving user-authored preparation","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794937293476,"status":"passed","title":"localizes interview categories while preserving user-authored preparation"},{"ancestorTitles":[],"duration":126,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prep renders grouped items with progress and marks AI-sourced ones","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794937293574,"status":"passed","title":"prep renders grouped items with progress and marks AI-sourced ones"},{"ancestorTitles":[],"duration":179,"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":1794937293700,"status":"passed","title":"delete tooltip describes its wrapper while the disabled button keeps its item name"},{"ancestorTitles":[],"duration":230,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"adding a prep item posts the chosen category and title","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794937293879,"status":"passed","title":"adding a prep item posts the chosen category and title"},{"ancestorTitles":[],"duration":109,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"starts a structured interview debrief without inventing answers","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937294109,"status":"passed","title":"starts a structured interview debrief without inventing answers"},{"ancestorTitles":[],"duration":76,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"marking an item ready patches it","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794937294218,"status":"passed","title":"marking an item ready patches it"},{"ancestorTitles":[],"duration":91,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an answer is only saved when the user asks","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937294294,"status":"passed","title":"an answer is only saved when the user asks"},{"ancestorTitles":[],"duration":231,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"deleting a prep item calls delete","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794937294386,"status":"passed","title":"deleting a prep item calls delete"},{"ancestorTitles":[],"duration":93,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"empty prep shows a useful empty state","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937294617,"status":"passed","title":"empty prep shows a useful empty state"},{"ancestorTitles":[],"duration":215,"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":1794937294710,"status":"passed","title":"AI preparation uses the linked CV and only saves after explicit acceptance"},{"ancestorTitles":[],"duration":61,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prep surfaces a load error","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794937294925,"status":"passed","title":"prep surfaces a load error"},{"ancestorTitles":[],"duration":139,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed follow-up save retains editable en drafts and retries only the explicit write","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794937294986,"status":"passed","title":"failed follow-up save retains editable en drafts and retries only the explicit write"},{"ancestorTitles":[],"duration":125,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed follow-up save retains editable nb drafts and retries only the explicit write","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794937295125,"status":"passed","title":"failed follow-up save retains editable nb drafts and retries only the explicit write"},{"ancestorTitles":[],"duration":61,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed initial follow-up read offers en GET-only retry without editable defaults","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794937295250,"status":"passed","title":"failed initial follow-up read offers en GET-only retry without editable defaults"},{"ancestorTitles":[],"duration":61,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed initial follow-up read offers nb GET-only retry without editable defaults","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794937295311,"status":"passed","title":"failed initial follow-up read offers nb GET-only retry without editable defaults"},{"ancestorTitles":[],"duration":93,"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":1794937295372,"status":"passed","title":"follow-up language switch from en preserves the unsaved date and next action without a read"},{"ancestorTitles":[],"duration":77,"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":1794937295465,"status":"passed","title":"follow-up language switch from nb preserves the unsaved date and next action without a read"},{"ancestorTitles":[],"duration":34,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up en read error stays current without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794937295542,"status":"passed","title":"follow-up en read error stays current without another read"},{"ancestorTitles":[],"duration":76,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up en save error stays current without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794937295576,"status":"passed","title":"follow-up en save error stays current without another read"},{"ancestorTitles":[],"duration":31,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up nb read error stays current without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794937295652,"status":"passed","title":"follow-up nb read error stays current without another read"},{"ancestorTitles":[],"duration":114,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up nb save error stays current without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794937295683,"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":1794937295797,"status":"passed","title":"follow-up loads the existing date and open checklist tasks"},{"ancestorTitles":[],"duration":62,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"saving a follow-up sends the date and next action","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794937295852,"status":"passed","title":"saving a follow-up sends the date and next action"},{"ancestorTitles":[],"duration":31,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"no follow-up shows an empty state","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794937295914,"status":"passed","title":"no follow-up shows an empty state"}],"endTime":1794937295947,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx","startTime":1794937286812,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":64,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"recruiter status suggestions require an explicit apply action","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794937296708,"status":"passed","title":"recruiter status suggestions require an explicit apply action"},{"ancestorTitles":[],"duration":114,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"strategy snapshot shows saved output and queues regeneration only on request","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794937296772,"status":"passed","title":"strategy snapshot shows saved output and queues regeneration only on request"},{"ancestorTitles":[],"duration":103,"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":1794937296886,"status":"passed","title":"failed strategy reads stay distinct from empty, localize without refetching and retry only the read"},{"ancestorTitles":[],"duration":37,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"only the explicit not-generated response is an intentional empty strategy","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794937296990,"status":"passed","title":"only the explicit not-generated response is an intentional empty strategy"},{"ancestorTitles":[],"duration":32,"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":1794937297027,"status":"passed","title":"a late strategy response cannot replace another job and denial never offers read retry"}],"endTime":1794937297060,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\application-workflow-assist.test.tsx","startTime":1794937295957,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":432,"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":1794937297873,"status":"passed","title":"[PRES-C08 PRES-C09] en CV selects have visible names and retain exact override patches"},{"ancestorTitles":[],"duration":386,"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":1794937298305,"status":"passed","title":"[PRES-C08 PRES-C09] nb CV selects have visible names and retain exact override patches"},{"ancestorTitles":[],"duration":130,"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":1794937298691,"status":"passed","title":"[PRES-C07 PRES-W06] en rich text retains names, selected Markdown and editor focus"},{"ancestorTitles":[],"duration":123,"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":1794937298821,"status":"passed","title":"[PRES-C07 PRES-W06] nb rich text retains names, selected Markdown and editor focus"},{"ancestorTitles":[],"duration":42,"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":1794937298944,"status":"passed","title":"[PRES-C07 PRES-W06] disabled rich text cannot format or edit and repeated fields keep separate labels"}],"endTime":1794937298987,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\named-controls.test.tsx","startTime":1794937297068,"status":"passed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/prep-answer-recovery/green.json.gz b/docs/ui-modernisation/evidence/prep-answer-recovery/green.json.gz new file mode 100644 index 00000000..46c5535f Binary files /dev/null and b/docs/ui-modernisation/evidence/prep-answer-recovery/green.json.gz differ diff --git a/docs/ui-modernisation/evidence/prep-answer-recovery/green.txt b/docs/ui-modernisation/evidence/prep-answer-recovery/green.txt new file mode 100644 index 00000000..1e591991 --- /dev/null +++ b/docs/ui-modernisation/evidence/prep-answer-recovery/green.txt @@ -0,0 +1,7 @@ + +Test Suites: 3 passed, 3 total +Tests: 50 passed, 50 total +Snapshots: 0 total +Time: 13.007 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\prep-answer-recovery-green.json diff --git a/docs/ui-modernisation/evidence/prep-answer-recovery/green.txt.gz b/docs/ui-modernisation/evidence/prep-answer-recovery/green.txt.gz new file mode 100644 index 00000000..62905887 Binary files /dev/null and b/docs/ui-modernisation/evidence/prep-answer-recovery/green.txt.gz differ diff --git a/docs/ui-modernisation/evidence/prep-answer-recovery/lint.txt b/docs/ui-modernisation/evidence/prep-answer-recovery/lint.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/ui-modernisation/evidence/prep-answer-recovery/lint.txt.gz b/docs/ui-modernisation/evidence/prep-answer-recovery/lint.txt.gz new file mode 100644 index 00000000..ae211a2c Binary files /dev/null and b/docs/ui-modernisation/evidence/prep-answer-recovery/lint.txt.gz differ diff --git a/docs/ui-modernisation/evidence/prep-answer-recovery/red.json b/docs/ui-modernisation/evidence/prep-answer-recovery/red.json new file mode 100644 index 00000000..e12ce6c3 --- /dev/null +++ b/docs/ui-modernisation/evidence/prep-answer-recovery/red.json @@ -0,0 +1 @@ +{"numFailedTestSuites":1,"numFailedTests":4,"numPassedTestSuites":0,"numPassedTests":0,"numPendingTestSuites":0,"numPendingTests":36,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":1,"numTotalTests":40,"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":1794937219435,"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":1794937222834,"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":1794937222834,"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":1794937222834,"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":1794937222834,"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":1794937222834,"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":1794937222834,"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":1794937222834,"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":1794937222834,"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":1794937222834,"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":1794937222834,"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":1794937222834,"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":1794937222834,"status":"pending","title":"preserves __proto__ as a category label"},{"ancestorTitles":[],"duration":4447,"failing":false,"failureDetails":[{"name":"TestingLibraryElementError"}],"failureMessages":["Error: Unable to find an element with the text: Kunne ikke lagre dette svaret.. 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[36m\u001b[39m\n \u001b[0mIntervjuforberedelse\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mDin research, dine svar og spørsmål. AI-forslag lagres bare når du godtar dem.\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mIntervjuforberedelse\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mCould not save this answer.\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[0mAI-intervjutrening\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mBruker tilknyttet CV, stillingsannonse og søknadsanalyse. Forslag overskriver aldri notatene dine.\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mBruker\u001b[0m\n \u001b[0m \u001b[0m\n \u001b[36m\u001b[39m\n \u001b[0mBackend CV\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mIntervjuforberedelse\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mDin research, dine svar og spørsmål. AI-forslag lagres bare når du godtar dem.\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mIntervjuforberedelse\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mCould not save this answer.\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[0mAI-intervjutrening\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mBruker tilknyttet CV, stillingsannonse og søknadsanalyse. Forslag overskriver aldri notatene dine.\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mBruker\u001b[0m\n \u001b[0m \u001b[0m\n \u001b[36m\u001b[39m\n \u001b[0mBackend CV\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInterview preparation\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mYour research, answers and questions. AI suggestions are only saved when you accept them.\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInterview preparation\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mKunne ikke lagre dette svaret.\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[0mAI interview coach\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mUses the linked CV, job advert and application analysis. Suggestions never overwrite your notes.\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mUsing\u001b[0m\n \u001b[0m \u001b[0m\n \u001b[36m\u001b[39m\n \u001b[0mBackend CV\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInterview preparation\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mYour research, answers and questions. AI suggestions are only saved when you accept them.\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInterview preparation\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mKunne ikke lagre dette svaret.\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[0mAI interview coach\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mUses the linked CV, job advert and application analysis. Suggestions never overwrite your notes.\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mUsing\u001b[0m\n \u001b[0m \u001b[0m\n \u001b[36m\u001b[39m\n \u001b[0mBackend CV\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mIntervjuforberedelse\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mDin research, dine svar og spørsmål. AI-forslag lagres bare når du godtar dem.\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mIntervjuforberedelse\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mCould not save this answer.\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[0mAI-intervjutrening\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mBruker tilknyttet CV, stillingsannonse og søknadsanalyse. Forslag overskriver aldri notatene dine.\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mBruker\u001b[0m\n \u001b[0m \u001b[0m\n \u001b[36m\u001b[39m\n \u001b[0mBackend CV\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 window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n 158 | }\n > 159 | expect(await screen.findByText(translations[to].interviewPrepAnswerSaveFailed)).toBeVisible();\n | ^\n 160 | expect(screen.getByRole('textbox', { name: answerName(to) })).toHaveValue('My STAR answer Øresund');\n 161 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1);\n 162 | expect(mockedApi.patch).toHaveBeenCalledTimes(1);\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:159:23)\n\n ● answer save failure follows en / visible and retains the draft for explicit retry\n\n Unable to find an element with the text: Kunne ikke lagre dette svaret.. 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[36m\u001b[39m\n \u001b[0mIntervjuforberedelse\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mDin research, dine svar og spørsmål. AI-forslag lagres bare når du godtar dem.\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mIntervjuforberedelse\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mCould not save this answer.\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[0mAI-intervjutrening\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mBruker tilknyttet CV, stillingsannonse og søknadsanalyse. Forslag overskriver aldri notatene dine.\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mBruker\u001b[0m\n \u001b[0m \u001b[0m\n \u001b[36m\u001b[39m\n \u001b[0mBackend CV\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 window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n 158 | }\n > 159 | expect(await screen.findByText(translations[to].interviewPrepAnswerSaveFailed)).toBeVisible();\n | ^\n 160 | expect(screen.getByRole('textbox', { name: answerName(to) })).toHaveValue('My STAR answer Øresund');\n 161 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1);\n 162 | expect(mockedApi.patch).toHaveBeenCalledTimes(1);\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:159:23)\n\n ● answer save failure follows nb / pending and retains the draft for explicit retry\n\n Unable to find an element with the text: Could not save this answer.. 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[36m\u001b[39m\n \u001b[0mInterview preparation\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mYour research, answers and questions. AI suggestions are only saved when you accept them.\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInterview preparation\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mKunne ikke lagre dette svaret.\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[0mAI interview coach\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mUses the linked CV, job advert and application analysis. Suggestions never overwrite your notes.\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mUsing\u001b[0m\n \u001b[0m \u001b[0m\n \u001b[36m\u001b[39m\n \u001b[0mBackend CV\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 window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n 158 | }\n > 159 | expect(await screen.findByText(translations[to].interviewPrepAnswerSaveFailed)).toBeVisible();\n | ^\n 160 | expect(screen.getByRole('textbox', { name: answerName(to) })).toHaveValue('My STAR answer Øresund');\n 161 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1);\n 162 | expect(mockedApi.patch).toHaveBeenCalledTimes(1);\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:159:23)\n\n ● answer save failure follows nb / visible and retains the draft for explicit retry\n\n Unable to find an element with the text: Could not save this answer.. 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[36m\u001b[39m\n \u001b[0mInterview preparation\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mYour research, answers and questions. AI suggestions are only saved when you accept them.\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInterview preparation\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mKunne ikke lagre dette svaret.\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[0mAI interview coach\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mUses the linked CV, job advert and application analysis. Suggestions never overwrite your notes.\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[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mUsing\u001b[0m\n \u001b[0m \u001b[0m\n \u001b[36m\u001b[39m\n \u001b[0mBackend CV\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 window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n 158 | }\n > 159 | expect(await screen.findByText(translations[to].interviewPrepAnswerSaveFailed)).toBeVisible();\n | ^\n 160 | expect(screen.getByRole('textbox', { name: answerName(to) })).toHaveValue('My STAR answer Øresund');\n 161 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1);\n 162 | expect(mockedApi.patch).toHaveBeenCalledTimes(1);\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:159:23)\n","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx","startTime":1794937220272,"status":"failed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/prep-answer-recovery/red.json.gz b/docs/ui-modernisation/evidence/prep-answer-recovery/red.json.gz new file mode 100644 index 00000000..6ec8ec67 Binary files /dev/null and b/docs/ui-modernisation/evidence/prep-answer-recovery/red.json.gz differ diff --git a/docs/ui-modernisation/evidence/prep-answer-recovery/red.txt b/docs/ui-modernisation/evidence/prep-answer-recovery/red.txt new file mode 100644 index 00000000..407ad96d --- /dev/null +++ b/docs/ui-modernisation/evidence/prep-answer-recovery/red.txt @@ -0,0 +1,655 @@ +FAIL src/interview-prep.test.tsx (19.794 s) + ● answer save failure follows en / pending and retains the draft for explicit retry + + Unable to find an element with the text: Kunne ikke lagre dette svaret.. 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 + +
+
+
+
+
+

+ Intervjuforberedelse +

+

+ Din research, dine svar og spørsmål. AI-forslag lagres bare når du godtar dem. +

+
+
+
+ + +
+
+
+
+
+

+ AI-intervjutrening +

+

+ Bruker tilknyttet CV, stillingsannonse og søknadsanalyse. Forslag overskriver aldri notatene dine. +

+
+
+
+ +
+ +
+
+
+
+
+

+ Intervjuforberedelse +

+

+ Din research, dine svar og spørsmål. AI-forslag lagres bare når du godtar dem. +

+
+
+
+ + +
+
+
+
+
+

+ AI-intervjutrening +

+

+ Bruker tilknyttet CV, stillingsannonse og søknadsanalyse. Forslag overskriver aldri notatene dine. +

+
+
+
+ +
+ +
+
+
+
+
+

+ Interview preparation +

+

+ Your research, answers and questions. AI suggestions are only saved when you accept them. +

+
+
+
+ + +
+
+
+
+
+

+ AI interview coach +

+

+ Uses the linked CV, job advert and application analysis. Suggestions never overwrite your notes. +

+
+
+
+ +
+ +
+
+
+
+
+

+ Interview preparation +

+

+ Your research, answers and questions. AI suggestions are only saved when you accept them. +

+
+
+
+ + +
+
+
+
+
+

+ AI interview coach +

+

+ Uses the linked CV, job advert and application analysis. Suggestions never overwrite your notes. +

+
+
+
+ +
+ +
+