diff --git a/docs/ui-modernisation/FOLLOWUP_RECOVERY.md b/docs/ui-modernisation/FOLLOWUP_RECOVERY.md new file mode 100644 index 00000000..c6bbac1a --- /dev/null +++ b/docs/ui-modernisation/FOLLOWUP_RECOVERY.md @@ -0,0 +1,9 @@ +# Recover follow-up reads and failed saves + +17 November 2026. Source `48ecc41950344899250d446fc9262ed1db31bef3`, following `08a63c60`, branch `codex/a3-ui-10`. + +Previously a failed initial read had no retry, and a failed Save hid the loaded fields with the user's edits. The existing interview Shell can now forward a read-only retry callback to ViewStateNotice and retain content on error when its caller explicitly opts in. Only Follow-up opts in here: initial read failure still hides editable defaults; Save failure keeps the current date/action and existing Save control available. Other Shell consumers retain their defaults. No duplicate Save/Retry action or new retry loop. + +Four original EN/NB regressions FAILED. Final **46 cases/three complete affected suites PASSED**, zero failures/skips; prior42 overlaps46. Non-incremental TypeScript, two-file lint, source diff and AST19,343 nodes/47,489 edges passed. GET-only retry performs no PUT; explicit Save retry sends the same retained date/action to the original job endpoint, with no list reload or automatic write. Source/native gzip receipts: `evidence/followup-recovery/SOURCE_RECEIPTS.json`; original native whitespace retained. + +API/JSDOM checks only; no browser/device or provider validation. No date/timezone, endpoint/payload, schema, model/provider or production changes. Prior Next build remains FAILED and formal A3/European/security/recovery/release acceptance stays open. Broader stale job/session and simultaneous requests remain separate. Rollback: revert this source commit; no migration. A separately reproduced child answer-save draft/language follow-up is outside this snapshot. diff --git a/docs/ui-modernisation/evidence/followup-recovery/SOURCE_RECEIPTS.json b/docs/ui-modernisation/evidence/followup-recovery/SOURCE_RECEIPTS.json new file mode 100644 index 00000000..d873e0d6 --- /dev/null +++ b/docs/ui-modernisation/evidence/followup-recovery/SOURCE_RECEIPTS.json @@ -0,0 +1,62 @@ +{ + "sourceCommit": "48ecc41950344899250d446fc9262ed1db31bef3", + "sourcesLfSha256": { + "job-tracker-ui/src/components/InterviewPrep.tsx": "2b748bd1c1752da951240e47d0158d98f2fa79d65d067e0c1e3204c9629db884", + "job-tracker-ui/src/interview-prep.test.tsx": "b78c354de6ce41a409985c785d68ced7ada39fdcb2f4f6de7c53b3b24e6cd9e2", + "job-tracker-ui/src/named-controls.test.tsx": "c8b519701685c434a729a50aeb5e0dfafbaf8a166fb223ab400b28554c5c445f", + "job-tracker-ui/src/application-workflow-assist.test.tsx": "11a1d057ad2ba652da12f0c6529b8a9b7b5bdbf9cdd52799fbbbd524bc5c8e33" + }, + "evidenceLfSha256": { + "red.json": "6c5f594d4fbdbe17df42c282bcf8d7e90275632eab6cda9cbd31633703f14e4e", + "red.txt": "dfb36513a7847f12097cb323fc18b06fd364fbd189f4e3be3a0a7c8fd1cac5fe", + "green.json": "e4fb7290f4fa849854091d051a05690f59dd856655530cc41a79c6f16b15a93c", + "green.txt": "536767952474b4ed51e219b58e6e4705c156feb2a19432eba07f5d5f65b813e9", + "typecheck.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "graph.txt": "73b9b648654633ccfda453c4d5af418de0ed189f6f4e2004e3877513cd756548" + }, + "nativeReceipts": [ + { + "path": "red.json", + "gzipPath": "red.json.gz", + "rawSha256": "6c5f594d4fbdbe17df42c282bcf8d7e90275632eab6cda9cbd31633703f14e4e", + "gzipSha256": "1e76fdf8fe5d921575e3ee049865e000c6b417d1231e259a885d5712258d337f" + }, + { + "path": "red.txt", + "gzipPath": "red.txt.gz", + "rawSha256": "e5a488779ad63fda6201dec541024e8daf54f3b28fee39fd9519748c4c8d3241", + "gzipSha256": "fdf544fdc4298aa09ff42a5e2ad3e88dc867741d7a11e749810ef20697154cb3" + }, + { + "path": "green.json", + "gzipPath": "green.json.gz", + "rawSha256": "e4fb7290f4fa849854091d051a05690f59dd856655530cc41a79c6f16b15a93c", + "gzipSha256": "02f8b3c8cb010c0df1b91120c954369a295095b70486b276e46ed35f336b5fcc" + }, + { + "path": "green.txt", + "gzipPath": "green.txt.gz", + "rawSha256": "847c43537c17d738dfc897d5dd47eac14df8fb54f550134a44b465c88a746807", + "gzipSha256": "bbe01727609086490930862a246e4dc72017730c03ab8cb3297f92d34aa0c710" + }, + { + "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": "36f3f0f0c65cdf37d348264fbab8acf73eb7f8d7b4a5852b209995fd4674df0a", + "gzipSha256": "c3bc3b89bbbe6330b4f07eff1290f672807b8d17a7bd1ffc6be4a3d352e28b95" + } + ] +} diff --git a/docs/ui-modernisation/evidence/followup-recovery/graph.txt b/docs/ui-modernisation/evidence/followup-recovery/graph.txt new file mode 100644 index 00000000..1673313c --- /dev/null +++ b/docs/ui-modernisation/evidence/followup-recovery/graph.txt @@ -0,0 +1,18 @@ +Re-extracting code files in . (no LLM needed)... +[graphify watch] 824 file(s) not classified (no supported extension or shebang), skipped: .dockerignore, .env.example, .git, .gitattributes, .gitignore, 1440-en-dark-converted.gz (+818 more) + AST cache: 2665/3118 files served from cache (85%); 453 to extract + AST extraction: 100/453 uncached files (22%) [16 workers] + AST extraction: 200/453 uncached files (44%) [16 workers] + AST extraction: 300/453 uncached files (66%) [16 workers] + AST extraction: 400/453 uncached files (88%) [16 workers] + AST extraction: 453/453 uncached files (100%) [16 workers] + warning: 8 .sql file(s) contributed nothing to the graph because a dependency is missing: tree_sitter_sql not installed. Install it with: pip install "graphifyy[sql]" (#1745) + warning: 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, 1187 communities now; renamed 98 community(ies) by their hub). Run `graphify label` to refresh names with the LLM. +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, 47489 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/followup-recovery/graph.txt.gz b/docs/ui-modernisation/evidence/followup-recovery/graph.txt.gz new file mode 100644 index 00000000..4a469433 Binary files /dev/null and b/docs/ui-modernisation/evidence/followup-recovery/graph.txt.gz differ diff --git a/docs/ui-modernisation/evidence/followup-recovery/green.json b/docs/ui-modernisation/evidence/followup-recovery/green.json new file mode 100644 index 00000000..d2441a2c --- /dev/null +++ b/docs/ui-modernisation/evidence/followup-recovery/green.json @@ -0,0 +1 @@ +{"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":3,"numPassedTests":46,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":3,"numTotalTests":46,"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":1794937065381,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":811,"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":1794937068756,"status":"passed","title":"pending preparation deletion follows en without a preparation reload or answer loss"},{"ancestorTitles":[],"duration":612,"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":1794937069567,"status":"passed","title":"pending preparation deletion follows nb without a preparation reload or answer loss"},{"ancestorTitles":[],"duration":106,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation read error follows en without another preparation request","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794937070179,"status":"passed","title":"visible preparation read error follows en without another preparation request"},{"ancestorTitles":[],"duration":109,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation read error follows nb without another preparation request","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794937070285,"status":"passed","title":"visible preparation read error follows nb without another preparation request"},{"ancestorTitles":[],"duration":325,"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":1794937070394,"status":"passed","title":"visible preparation mutation error follows en without clearing the failure through a reload"},{"ancestorTitles":[],"duration":292,"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":1794937070719,"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":1794937071012,"status":"passed","title":"preserves constructor as a category label"},{"ancestorTitles":["en unknown interview categories"],"duration":108,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves toString as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937071119,"status":"passed","title":"preserves toString as a category label"},{"ancestorTitles":["en unknown interview categories"],"duration":93,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves __proto__ as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937071228,"status":"passed","title":"preserves __proto__ as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":107,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves constructor as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937071321,"status":"passed","title":"preserves constructor as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":92,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves toString as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937071428,"status":"passed","title":"preserves toString as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":62,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves __proto__ as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937071520,"status":"passed","title":"preserves __proto__ as a category label"},{"ancestorTitles":[],"duration":79,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"localizes interview categories while preserving user-authored preparation","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794937071582,"status":"passed","title":"localizes interview categories while preserving user-authored preparation"},{"ancestorTitles":[],"duration":73,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prep renders grouped items with progress and marks AI-sourced ones","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794937071661,"status":"passed","title":"prep renders grouped items with progress and marks AI-sourced ones"},{"ancestorTitles":[],"duration":158,"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":1794937071734,"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":1794937071892,"status":"passed","title":"adding a prep item posts the chosen category and title"},{"ancestorTitles":[],"duration":189,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"starts a structured interview debrief without inventing answers","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937072122,"status":"passed","title":"starts a structured interview debrief without inventing answers"},{"ancestorTitles":[],"duration":121,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"marking an item ready patches it","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794937072311,"status":"passed","title":"marking an item ready patches it"},{"ancestorTitles":[],"duration":139,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an answer is only saved when the user asks","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937072432,"status":"passed","title":"an answer is only saved when the user asks"},{"ancestorTitles":[],"duration":201,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"deleting a prep item calls delete","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794937072571,"status":"passed","title":"deleting a prep item calls delete"},{"ancestorTitles":[],"duration":61,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"empty prep shows a useful empty state","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937072772,"status":"passed","title":"empty prep shows a useful empty state"},{"ancestorTitles":[],"duration":193,"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":1794937072833,"status":"passed","title":"AI preparation uses the linked CV and only saves after explicit acceptance"},{"ancestorTitles":[],"duration":54,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prep surfaces a load error","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794937073026,"status":"passed","title":"prep surfaces a load error"},{"ancestorTitles":[],"duration":124,"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":1794937073080,"status":"passed","title":"failed follow-up save retains editable en drafts and retries only the explicit write"},{"ancestorTitles":[],"duration":140,"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":1794937073204,"status":"passed","title":"failed follow-up save retains editable nb drafts and retries only the explicit write"},{"ancestorTitles":[],"duration":59,"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":1794937073344,"status":"passed","title":"failed initial follow-up read offers en GET-only retry without editable defaults"},{"ancestorTitles":[],"duration":65,"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":1794937073403,"status":"passed","title":"failed initial follow-up read offers nb GET-only retry without editable defaults"},{"ancestorTitles":[],"duration":77,"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":1794937073468,"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":1794937073545,"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":1794937073622,"status":"passed","title":"follow-up en read error stays current without another read"},{"ancestorTitles":[],"duration":77,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up en save error stays current without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794937073656,"status":"passed","title":"follow-up en save error stays current without another read"},{"ancestorTitles":[],"duration":46,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up nb read error stays current without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794937073733,"status":"passed","title":"follow-up nb read error stays current without another read"},{"ancestorTitles":[],"duration":76,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up nb save error stays current without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794937073779,"status":"passed","title":"follow-up nb save error stays current without another read"},{"ancestorTitles":[],"duration":28,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up loads the existing date and open checklist tasks","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794937073856,"status":"passed","title":"follow-up loads the existing date and open checklist tasks"},{"ancestorTitles":[],"duration":60,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"saving a follow-up sends the date and next action","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794937073884,"status":"passed","title":"saving a follow-up sends the date and next action"},{"ancestorTitles":[],"duration":16,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"no follow-up shows an empty state","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794937073944,"status":"passed","title":"no follow-up shows an empty state"}],"endTime":1794937073961,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx","startTime":1794937066217,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":68,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"recruiter status suggestions require an explicit apply action","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794937074694,"status":"passed","title":"recruiter status suggestions require an explicit apply action"},{"ancestorTitles":[],"duration":115,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"strategy snapshot shows saved output and queues regeneration only on request","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794937074762,"status":"passed","title":"strategy snapshot shows saved output and queues regeneration only on request"},{"ancestorTitles":[],"duration":89,"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":1794937074877,"status":"passed","title":"failed strategy reads stay distinct from empty, localize without refetching and retry only the read"},{"ancestorTitles":[],"duration":38,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"only the explicit not-generated response is an intentional empty strategy","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794937074966,"status":"passed","title":"only the explicit not-generated response is an intentional empty strategy"},{"ancestorTitles":[],"duration":45,"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":1794937075004,"status":"passed","title":"a late strategy response cannot replace another job and denial never offers read retry"}],"endTime":1794937075049,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\application-workflow-assist.test.tsx","startTime":1794937073973,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":516,"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":1794937075856,"status":"passed","title":"[PRES-C08 PRES-C09] en CV selects have visible names and retain exact override patches"},{"ancestorTitles":[],"duration":368,"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":1794937076372,"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":1794937076740,"status":"passed","title":"[PRES-C07 PRES-W06] en rich text retains names, selected Markdown and editor focus"},{"ancestorTitles":[],"duration":138,"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":1794937076870,"status":"passed","title":"[PRES-C07 PRES-W06] nb rich text retains names, selected Markdown and editor focus"},{"ancestorTitles":[],"duration":39,"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":1794937077008,"status":"passed","title":"[PRES-C07 PRES-W06] disabled rich text cannot format or edit and repeated fields keep separate labels"}],"endTime":1794937077047,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\named-controls.test.tsx","startTime":1794937075056,"status":"passed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/followup-recovery/green.json.gz b/docs/ui-modernisation/evidence/followup-recovery/green.json.gz new file mode 100644 index 00000000..2f065aab Binary files /dev/null and b/docs/ui-modernisation/evidence/followup-recovery/green.json.gz differ diff --git a/docs/ui-modernisation/evidence/followup-recovery/green.txt b/docs/ui-modernisation/evidence/followup-recovery/green.txt new file mode 100644 index 00000000..d7fd2a80 --- /dev/null +++ b/docs/ui-modernisation/evidence/followup-recovery/green.txt @@ -0,0 +1,7 @@ + +Test Suites: 3 passed, 3 total +Tests: 46 passed, 46 total +Snapshots: 0 total +Time: 11.669 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-recovery-green.json diff --git a/docs/ui-modernisation/evidence/followup-recovery/green.txt.gz b/docs/ui-modernisation/evidence/followup-recovery/green.txt.gz new file mode 100644 index 00000000..03468d7e Binary files /dev/null and b/docs/ui-modernisation/evidence/followup-recovery/green.txt.gz differ diff --git a/docs/ui-modernisation/evidence/followup-recovery/lint.txt b/docs/ui-modernisation/evidence/followup-recovery/lint.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/ui-modernisation/evidence/followup-recovery/lint.txt.gz b/docs/ui-modernisation/evidence/followup-recovery/lint.txt.gz new file mode 100644 index 00000000..ae211a2c Binary files /dev/null and b/docs/ui-modernisation/evidence/followup-recovery/lint.txt.gz differ diff --git a/docs/ui-modernisation/evidence/followup-recovery/red.json b/docs/ui-modernisation/evidence/followup-recovery/red.json new file mode 100644 index 00000000..93df9d41 --- /dev/null +++ b/docs/ui-modernisation/evidence/followup-recovery/red.json @@ -0,0 +1 @@ +{"numFailedTestSuites":1,"numFailedTests":4,"numPassedTestSuites":0,"numPassedTests":0,"numPendingTestSuites":0,"numPendingTests":32,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":1,"numTotalTests":36,"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":1794937028863,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"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":1794937032222,"status":"pending","title":"prep surfaces a load error"},{"ancestorTitles":[],"duration":201,"failing":false,"failureDetails":[{"name":"TestingLibraryElementError"}],"failureMessages":["TestingLibraryElementError: Unable to find a label with the text of: Follow up on\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[36m\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[0mFollow-up\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mCould not save the follow-up.\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 Object.getElementError (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\config.js:37:19)\n at getAllByLabelText (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\queries\\label-text.js:111:38)\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\query-helpers.js:52:17\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\query-helpers.js:95:19\n at getByLabelText (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx:310:17)"],"fullName":"failed follow-up save retains editable en drafts and retries only the explicit write","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794937032222,"status":"failed","title":"failed follow-up save retains editable en drafts and retries only the explicit write"},{"ancestorTitles":[],"duration":74,"failing":false,"failureDetails":[{"name":"TestingLibraryElementError"}],"failureMessages":["TestingLibraryElementError: Unable to find a label with the text of: Følg opp den\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[36m\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[0mOppfølging\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mKunne ikke lagre oppfølgingen.\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 Object.getElementError (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\config.js:37:19)\n at getAllByLabelText (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\queries\\label-text.js:111:38)\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\query-helpers.js:52:17\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\query-helpers.js:95:19\n at getByLabelText (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx:310:17)"],"fullName":"failed follow-up save retains editable nb drafts and retries only the explicit write","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794937032437,"status":"failed","title":"failed follow-up save retains editable nb drafts and retries only the explicit write"},{"ancestorTitles":[],"duration":45,"failing":false,"failureDetails":[{"name":"TestingLibraryElementError"}],"failureMessages":["TestingLibraryElementError: Unable to find an accessible element with the role \"button\" and name \"Retry\"\n\nHere are the accessible roles:\n\n region:\n\n Name \"Follow-up\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n banner:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"Follow-up\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n status:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\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[36m\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[0mFollow-up\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mCould not load follow-up.\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 Object.getElementError (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\config.js:37:19)\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\query-helpers.js:76:38\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\query-helpers.js:52:17\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\query-helpers.js:95:19\n at getByRole (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx:331:26)"],"fullName":"failed initial follow-up read offers en GET-only retry without editable defaults","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794937032512,"status":"failed","title":"failed initial follow-up read offers en GET-only retry without editable defaults"},{"ancestorTitles":[],"duration":43,"failing":false,"failureDetails":[{"name":"TestingLibraryElementError"}],"failureMessages":["TestingLibraryElementError: Unable to find an accessible element with the role \"button\" and name \"Prøv igjen\"\n\nHere are the accessible roles:\n\n region:\n\n Name \"Oppfølging\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n banner:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"Oppfølging\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n status:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\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[36m\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[0mOppfølging\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mKunne ikke laste oppfølgingen.\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 Object.getElementError (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\config.js:37:19)\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\query-helpers.js:76:38\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\query-helpers.js:52:17\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\query-helpers.js:95:19\n at getByRole (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx:331:26)"],"fullName":"failed initial follow-up read offers nb GET-only retry without editable defaults","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794937032557,"status":"failed","title":"failed initial follow-up read offers nb GET-only retry without editable defaults"},{"ancestorTitles":[],"duration":null,"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":0,"retryReasons":[],"startAt":1794937032601,"status":"pending","title":"follow-up language switch from en preserves the unsaved date and next action without a read"},{"ancestorTitles":[],"duration":null,"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":0,"retryReasons":[],"startAt":1794937032601,"status":"pending","title":"follow-up language switch from nb preserves the unsaved date and next action without a read"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up en read error stays current without another read","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937032601,"status":"pending","title":"follow-up en read error stays current without another read"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up en save error stays current without another read","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937032601,"status":"pending","title":"follow-up en save error stays current without another read"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up nb read error stays current without another read","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937032601,"status":"pending","title":"follow-up nb read error stays current without another read"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up nb save error stays current without another read","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937032601,"status":"pending","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":1794937032601,"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":1794937032601,"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":1794937032601,"status":"pending","title":"no follow-up shows an empty state"}],"endTime":1794937032624,"message":" ● failed follow-up save retains editable en drafts and retries only the explicit write\n\n TestingLibraryElementError: Unable to find a label with the text of: Follow up on\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[36m\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[0mFollow-up\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mCould not save the follow-up.\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 308 | fireEvent.click(screen.getByRole('button', { name: copy.save }));\n 309 | expect(await screen.findByText(copy.interviewFollowUpSaveFailed)).toBeVisible();\n > 310 | expect(screen.getByLabelText(copy.interviewFollowUpDate)).toHaveValue('2026-12-01');\n | ^\n 311 | expect(screen.getByLabelText(copy.workspaceNextAction)).toHaveValue('Discuss offer Øresund');\n 312 | const save = screen.getByRole('button', { name: copy.save });\n 313 | expect(save).toBeEnabled(); expect(mockedApi.put).toHaveBeenCalledTimes(1); expect(mockedApi.get).toHaveBeenCalledTimes(1);\n\n at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)\n at getAllByLabelText (node_modules/@testing-library/dom/dist/queries/label-text.js:111:38)\n at node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at getByLabelText (src/interview-prep.test.tsx:310:17)\n\n ● failed follow-up save retains editable nb drafts and retries only the explicit write\n\n TestingLibraryElementError: Unable to find a label with the text of: Følg opp den\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[36m\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[0mOppfølging\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mKunne ikke lagre oppfølgingen.\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 308 | fireEvent.click(screen.getByRole('button', { name: copy.save }));\n 309 | expect(await screen.findByText(copy.interviewFollowUpSaveFailed)).toBeVisible();\n > 310 | expect(screen.getByLabelText(copy.interviewFollowUpDate)).toHaveValue('2026-12-01');\n | ^\n 311 | expect(screen.getByLabelText(copy.workspaceNextAction)).toHaveValue('Discuss offer Øresund');\n 312 | const save = screen.getByRole('button', { name: copy.save });\n 313 | expect(save).toBeEnabled(); expect(mockedApi.put).toHaveBeenCalledTimes(1); expect(mockedApi.get).toHaveBeenCalledTimes(1);\n\n at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)\n at getAllByLabelText (node_modules/@testing-library/dom/dist/queries/label-text.js:111:38)\n at node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at getByLabelText (src/interview-prep.test.tsx:310:17)\n\n ● failed initial follow-up read offers en GET-only retry without editable defaults\n\n TestingLibraryElementError: Unable to find an accessible element with the role \"button\" and name \"Retry\"\n\n Here are the accessible roles:\n\n region:\n\n Name \"Follow-up\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n banner:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"Follow-up\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n status:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\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[36m\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[0mFollow-up\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mCould not load follow-up.\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 329 | expect(screen.queryByLabelText(copy.interviewFollowUpDate)).not.toBeInTheDocument();\n 330 | expect(screen.queryByRole('button', { name: copy.save })).not.toBeInTheDocument();\n > 331 | fireEvent.click(screen.getByRole('button', { name: copy.retry }));\n | ^\n 332 | expect(await screen.findByLabelText(copy.interviewFollowUpDate)).toHaveValue('2026-07-26');\n 333 | expect(screen.getByLabelText(copy.workspaceNextAction)).toHaveValue(followUp.nextAction);\n 334 | expect(mockedApi.get.mock.calls).toEqual(Array(2).fill(['/jobapplications/7/follow-up']));\n\n at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)\n at node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at getByRole (src/interview-prep.test.tsx:331:26)\n\n ● failed initial follow-up read offers nb GET-only retry without editable defaults\n\n TestingLibraryElementError: Unable to find an accessible element with the role \"button\" and name \"Prøv igjen\"\n\n Here are the accessible roles:\n\n region:\n\n Name \"Oppfølging\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n banner:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"Oppfølging\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n status:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\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[36m\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[0mOppfølging\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mKunne ikke laste oppfølgingen.\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 329 | expect(screen.queryByLabelText(copy.interviewFollowUpDate)).not.toBeInTheDocument();\n 330 | expect(screen.queryByRole('button', { name: copy.save })).not.toBeInTheDocument();\n > 331 | fireEvent.click(screen.getByRole('button', { name: copy.retry }));\n | ^\n 332 | expect(await screen.findByLabelText(copy.interviewFollowUpDate)).toHaveValue('2026-07-26');\n 333 | expect(screen.getByLabelText(copy.workspaceNextAction)).toHaveValue(followUp.nextAction);\n 334 | expect(mockedApi.get.mock.calls).toEqual(Array(2).fill(['/jobapplications/7/follow-up']));\n\n at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)\n at node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at getByRole (src/interview-prep.test.tsx:331:26)\n","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx","startTime":1794937029684,"status":"failed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/followup-recovery/red.json.gz b/docs/ui-modernisation/evidence/followup-recovery/red.json.gz new file mode 100644 index 00000000..483624ac Binary files /dev/null and b/docs/ui-modernisation/evidence/followup-recovery/red.json.gz differ diff --git a/docs/ui-modernisation/evidence/followup-recovery/red.txt b/docs/ui-modernisation/evidence/followup-recovery/red.txt new file mode 100644 index 00000000..6514a43f --- /dev/null +++ b/docs/ui-modernisation/evidence/followup-recovery/red.txt @@ -0,0 +1,515 @@ +FAIL src/interview-prep.test.tsx + ● failed follow-up save retains editable en drafts and retries only the explicit write + + TestingLibraryElementError: Unable to find a label with the text of: Follow up on + + Ignored nodes: comments, script, style + +
+
+
+
+

+ Follow-up +

+

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

+
+
+
+ + +
+
+
+ + + 308 | fireEvent.click(screen.getByRole('button', { name: copy.save })); + 309 | expect(await screen.findByText(copy.interviewFollowUpSaveFailed)).toBeVisible(); + > 310 | expect(screen.getByLabelText(copy.interviewFollowUpDate)).toHaveValue('2026-12-01'); + | ^ + 311 | expect(screen.getByLabelText(copy.workspaceNextAction)).toHaveValue('Discuss offer Øresund'); + 312 | const save = screen.getByRole('button', { name: copy.save }); + 313 | expect(save).toBeEnabled(); expect(mockedApi.put).toHaveBeenCalledTimes(1); expect(mockedApi.get).toHaveBeenCalledTimes(1); + + at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19) + at getAllByLabelText (node_modules/@testing-library/dom/dist/queries/label-text.js:111:38) + at node_modules/@testing-library/dom/dist/query-helpers.js:52:17 + at node_modules/@testing-library/dom/dist/query-helpers.js:95:19 + at getByLabelText (src/interview-prep.test.tsx:310:17) + + ● failed follow-up save retains editable nb drafts and retries only the explicit write + + TestingLibraryElementError: Unable to find a label with the text of: Følg opp den + + Ignored nodes: comments, script, style + +
+
+
+
+

+ Oppfølging +

+

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

+
+
+
+ + +
+
+
+ + + 308 | fireEvent.click(screen.getByRole('button', { name: copy.save })); + 309 | expect(await screen.findByText(copy.interviewFollowUpSaveFailed)).toBeVisible(); + > 310 | expect(screen.getByLabelText(copy.interviewFollowUpDate)).toHaveValue('2026-12-01'); + | ^ + 311 | expect(screen.getByLabelText(copy.workspaceNextAction)).toHaveValue('Discuss offer Øresund'); + 312 | const save = screen.getByRole('button', { name: copy.save }); + 313 | expect(save).toBeEnabled(); expect(mockedApi.put).toHaveBeenCalledTimes(1); expect(mockedApi.get).toHaveBeenCalledTimes(1); + + at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19) + at getAllByLabelText (node_modules/@testing-library/dom/dist/queries/label-text.js:111:38) + at node_modules/@testing-library/dom/dist/query-helpers.js:52:17 + at node_modules/@testing-library/dom/dist/query-helpers.js:95:19 + at getByLabelText (src/interview-prep.test.tsx:310:17) + + ● failed initial follow-up read offers en GET-only retry without editable defaults + + TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "Retry" + + Here are the accessible roles: + + region: + + Name "Follow-up": +
+ + -------------------------------------------------- + banner: + + Name "": +
+ + -------------------------------------------------- + heading: + + Name "Follow-up": +

+ + -------------------------------------------------- + paragraph: + + Name "": +

+ + Name "": +

+ + Name "": +

+ + -------------------------------------------------- + status: + + Name "": + + + -------------------------------------------------- + alert: + + Name "": +