From 7afbaf4713fcb2c65868df266ed8d46bf837193b Mon Sep 17 00:00:00 2001 From: cesnimda Date: Tue, 17 Nov 2026 18:32:55 +0100 Subject: [PATCH] docs(letters): retain restore dialog preservation evidence --- .../ui-modernisation/LETTER_RESTORE_DIALOG.md | 9 + .../SOURCE_RECEIPTS.json | 101 ++ .../evidence/letter-restore-dialog/final.json | 1 + .../letter-restore-dialog/final.json.gz | Bin 0 -> 4073 bytes .../evidence/letter-restore-dialog/final.txt | 7 + .../letter-restore-dialog/final.txt.gz | Bin 0 -> 235 bytes .../evidence/letter-restore-dialog/graph.txt | 18 + .../letter-restore-dialog/graph.txt.gz | Bin 0 -> 985 bytes .../evidence/letter-restore-dialog/green.json | 1 + .../letter-restore-dialog/green.json.gz | Bin 0 -> 4639 bytes .../evidence/letter-restore-dialog/green.txt | 54 + .../letter-restore-dialog/green.txt.gz | Bin 0 -> 708 bytes .../evidence/letter-restore-dialog/lint.txt | 0 .../letter-restore-dialog/lint.txt.gz | Bin 0 -> 20 bytes .../letter-restore-dialog/red-corrected.json | 1 + .../red-corrected.json.gz | Bin 0 -> 6687 bytes .../letter-restore-dialog/red-corrected.txt | 485 +++++++ .../red-corrected.txt.gz | Bin 0 -> 2726 bytes .../evidence/letter-restore-dialog/red.json | 1 + .../letter-restore-dialog/red.json.gz | Bin 0 -> 13856 bytes .../evidence/letter-restore-dialog/red.txt | 1247 +++++++++++++++++ .../evidence/letter-restore-dialog/red.txt.gz | Bin 0 -> 4196 bytes .../letter-restore-dialog/typecheck.txt | 0 .../letter-restore-dialog/typecheck.txt.gz | Bin 0 -> 20 bytes 24 files changed, 1925 insertions(+) create mode 100644 docs/ui-modernisation/LETTER_RESTORE_DIALOG.md create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/SOURCE_RECEIPTS.json create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/final.json create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/final.json.gz create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/final.txt create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/final.txt.gz create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/graph.txt create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/graph.txt.gz create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/green.json create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/green.json.gz create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/green.txt create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/green.txt.gz create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/lint.txt create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/lint.txt.gz create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/red-corrected.json create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/red-corrected.json.gz create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/red-corrected.txt create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/red-corrected.txt.gz create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/red.json create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/red.json.gz create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/red.txt create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/red.txt.gz create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/typecheck.txt create mode 100644 docs/ui-modernisation/evidence/letter-restore-dialog/typecheck.txt.gz diff --git a/docs/ui-modernisation/LETTER_RESTORE_DIALOG.md b/docs/ui-modernisation/LETTER_RESTORE_DIALOG.md new file mode 100644 index 00000000..88437c70 --- /dev/null +++ b/docs/ui-modernisation/LETTER_RESTORE_DIALOG.md @@ -0,0 +1,9 @@ +# Cover-letter history restore confirmation + +17 November 2026. Source `e8658b5d` on `codex/a3-ui-10`, baseline `f2fc49cc`. + +Restore-discard confirmation uses existing live translation descriptors. No restore/cancel decision, busy guard, job/version/revision, text/design draft, endpoint, renderer, schema or storage behavior changed. + +Two corrected EN/NB tests reproduced stale pending copy. Initial red used the tooltip key instead of the accessible version-number key; initial green reached a wrong expected endpoint in the new tests. Those setup failures are retained separately. Tests now assert the actual existing `/jobapplications/7/cover-letter/versions/1/restore` request with `expectedVersion:7`; application code was not changed for either assertion correction. Final **73 cases/two complete affected suites PASSED**, zero failures/skips. Non-incremental TypeScript, two-file lint, source diff and combined AST refresh19,339 nodes/47,487 edges passed. Source/native gzip receipts: `evidence/letter-restore-dialog/SOURCE_RECEIPTS.json`. + +Cancellation retains both unsaved letter text and document subject; language switch adds no read/write, and explicit approval sends one original restore request. Synthetic JSDOM/API tests only, no real restoration, browser/device or physical PDF work. Existing accepted PDF evidence was not reopened. Prior Next build remains FAILED; final A3/European localisation/security/recovery/release acceptance remains open. Native failure-log bytes/whitespace are preserved. Rollback: revert this source commit; no migration. diff --git a/docs/ui-modernisation/evidence/letter-restore-dialog/SOURCE_RECEIPTS.json b/docs/ui-modernisation/evidence/letter-restore-dialog/SOURCE_RECEIPTS.json new file mode 100644 index 00000000..a0c9a240 --- /dev/null +++ b/docs/ui-modernisation/evidence/letter-restore-dialog/SOURCE_RECEIPTS.json @@ -0,0 +1,101 @@ +{ + "sourceCommit": "e8658b5d6d1e1096d3511b93cff110fe1960b8c8", + "sourcesLfSha256": { + "job-tracker-ui/src/components/ApplicationAssets.tsx": "7459f1128df56aad821d870640ed7b1837ffb517052d3d76311dd888237d09a9", + "job-tracker-ui/src/application-assets.test.tsx": "ced0a6a1dbb63ddd6bc29531010289b20f0f4998c89b879b10e8a0c9d9c30691", + "job-tracker-ui/src/cover-letter-document.test.tsx": "6305a6c729fec3854a7d213ca89b9ca8ec78d6714200370d880ffa9d98249a5d", + "job-tracker-ui/src/applicationWorkspace.ts": "3b00a4fe16159bdb9603eeb37bfdf5e5eb9a87d7815227fa3aa2f0da6e4f232c" + }, + "evidenceLfSha256": { + "red.json": "b32e0f38219a50306ad02323fcf19beeaf81831b8053bfe889bec83bb34f5d0e", + "red.txt": "3175af89de63d4b35cfec533ae800b2fcc446f8c567faed67460968e7c319d3b", + "red-corrected.json": "baeb6fafcaff5d4cfd52c0ed5b6947027b066ed7ccbc0fea9f155c8c35e1dc42", + "red-corrected.txt": "994543ab1cddc9a24ebcbe11378db7a29f9426aeae29a3bd8db7801b65e2df9f", + "green.json": "29b04f679d73ed851520864fed396e66751095509c8e62a8e226546dff2f2994", + "green.txt": "8f1884ba083af26fbd18fc4c2a87d65a328f4806ce189f1b86dd387ec1fd0039", + "final.json": "f1a6cae5ce1fd3cf1d537f4f8f0c52e2e3ff82aaf531c7689c607e6835b6146a", + "final.txt": "5f89cadcf8caab4d6c2e670ff0c23e171eb228dc025ca4a2b6ec80be0f689ae1", + "typecheck.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "graph.txt": "3fc171ae45ae812a4c0a28bac14c398abb36b8929efe1c6273c9c332b5d7084e" + }, + "nativeReceipts": [ + { + "path": "red.json", + "originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\letter-restore-dialog-red.json", + "gzipPath": "red.json.gz", + "rawSha256": "b32e0f38219a50306ad02323fcf19beeaf81831b8053bfe889bec83bb34f5d0e", + "gzipSha256": "cc779d9124c203d518d3e82c80cb295dd4f5935b833a21d2e9f68e8d235a5156" + }, + { + "path": "red.txt", + "originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\letter-restore-dialog-red.txt", + "gzipPath": "red.txt.gz", + "rawSha256": "2c1f4e7bb9001849a1aa8371cd6ae352e125ba372ac70493e50b28557251387a", + "gzipSha256": "07b30e1b679e7ef3b40a3454dddaf195f2acc1038bca57d745b013d9ca6af159" + }, + { + "path": "red-corrected.json", + "originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\letter-restore-dialog-red-corrected.json", + "gzipPath": "red-corrected.json.gz", + "rawSha256": "baeb6fafcaff5d4cfd52c0ed5b6947027b066ed7ccbc0fea9f155c8c35e1dc42", + "gzipSha256": "d96625a21b966b72647bb16e19c047f031cbce0b6f5a7f3ac54a81123f08de9d" + }, + { + "path": "red-corrected.txt", + "originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\letter-restore-dialog-red-corrected.txt", + "gzipPath": "red-corrected.txt.gz", + "rawSha256": "e6ca65b9eb8be4b4782cb67f90228896cdf179ff3f13e6af4bef095a0f843a30", + "gzipSha256": "1b0bf000d18f1bb0e36fafc077abff282cab6c62a76bbf573d1135de021c5779" + }, + { + "path": "green.json", + "originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\letter-restore-dialog-green.json", + "gzipPath": "green.json.gz", + "rawSha256": "29b04f679d73ed851520864fed396e66751095509c8e62a8e226546dff2f2994", + "gzipSha256": "2db90f40feb13bbdd564738d711064048d6aa35333c9d713820b9d0aca67d344" + }, + { + "path": "green.txt", + "originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\letter-restore-dialog-green.txt", + "gzipPath": "green.txt.gz", + "rawSha256": "5b47b616a0346fbd6e83d7a7e8852d0bd172707f2cbe695aad513de6c8abe9ca", + "gzipSha256": "dd78e91ae17d20bc4351266c75308b6c2e8658fa0aa463ac2d4329d0200f28dc" + }, + { + "path": "final.json", + "originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\letter-restore-dialog-final.json", + "gzipPath": "final.json.gz", + "rawSha256": "f1a6cae5ce1fd3cf1d537f4f8f0c52e2e3ff82aaf531c7689c607e6835b6146a", + "gzipSha256": "f3082091db9d7f832d87a5b556c90022a3d468d5c829b9dde59374423763c6d0" + }, + { + "path": "final.txt", + "originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\letter-restore-dialog-final.txt", + "gzipPath": "final.txt.gz", + "rawSha256": "6d8f359087bd29defc58da9701ec22c9fc65d3289ae92d57423947ac7a7e4825", + "gzipSha256": "9b71d42d6279e45d89a9f58d01abe442fb43eaf6764b78ee2204bed0d3fc5c2a" + }, + { + "path": "typecheck.txt", + "originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\letter-restore-dialog-typecheck.txt", + "gzipPath": "typecheck.txt.gz", + "rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e" + }, + { + "path": "lint.txt", + "originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\letter-restore-dialog-lint.txt", + "gzipPath": "lint.txt.gz", + "rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e" + }, + { + "path": "graph.txt", + "originFile": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\letter-inbox-dialog-graph.txt", + "gzipPath": "graph.txt.gz", + "rawSha256": "120ddfb795a7470ca02cd7184b86fc77aa9d7f5c01a72ab70626cbc5c9bcb234", + "gzipSha256": "b582bdf1caf9667dab44ea7ae14b3799fe319d49cb1f08a8c8f9bc5622867742" + } + ] +} diff --git a/docs/ui-modernisation/evidence/letter-restore-dialog/final.json b/docs/ui-modernisation/evidence/letter-restore-dialog/final.json new file mode 100644 index 00000000..20e2c19a --- /dev/null +++ b/docs/ui-modernisation/evidence/letter-restore-dialog/final.json @@ -0,0 +1 @@ +{"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":2,"numPassedTests":73,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":2,"numTotalTests":73,"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":1794936487292,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":185,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"frozen attachment size follows UI language without changing stored package data","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936491350,"status":"passed","title":"frozen attachment size follows UI language without changing stored package data"},{"ancestorTitles":[],"duration":464,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"[P7-11 tailoring] generated metadata and known history enums follow locale while evidence, unknown metadata and dirty prose stay verbatim","invocations":1,"location":null,"numPassingAsserts":13,"retryReasons":[],"startAt":1794936491535,"status":"passed","title":"[P7-11 tailoring] generated metadata and known history enums follow locale while evidence, unknown metadata and dirty prose stay verbatim"},{"ancestorTitles":[],"duration":157,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"document package history is read-only and separates captured notes from answers","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794936491999,"status":"passed","title":"document package history is read-only and separates captured notes from answers"},{"ancestorTitles":[],"duration":82,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"cv section shows the attached variant and the ones available to attach","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936492156,"status":"passed","title":"cv section shows the attached variant and the ones available to attach"},{"ancestorTitles":[],"duration":193,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attaching a different variant only re-points the application","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794936492238,"status":"passed","title":"attaching a different variant only re-points the application"},{"ancestorTitles":[],"duration":46,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"cv section points at the builder when there are no variants","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794936492431,"status":"passed","title":"cv section points at the builder when there are no variants"},{"ancestorTitles":[],"duration":79,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"tailoring renders suggestions grouped by kind","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936492477,"status":"passed","title":"tailoring renders suggestions grouped by kind"},{"ancestorTitles":[],"duration":60,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"tailoring asks for a career profile when there is none","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794936492556,"status":"passed","title":"tailoring asks for a career profile when there is none"},{"ancestorTitles":[],"duration":94,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"submitted package capture appends an immutable history entry","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936492616,"status":"passed","title":"submitted package capture appends an immutable history entry"},{"ancestorTitles":[],"duration":173,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"cover letter loads the current text and its history","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936492711,"status":"passed","title":"cover letter loads the current text and its history"},{"ancestorTitles":[],"duration":290,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"editing marks the draft dirty and saving sends the new text","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936492884,"status":"passed","title":"editing marks the draft dirty and saving sends the new text"},{"ancestorTitles":[],"duration":155,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"discarding returns to the saved text","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794936493174,"status":"passed","title":"discarding returns to the saved text"},{"ancestorTitles":[],"duration":215,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"restoring an old version calls the restore endpoint","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794936493329,"status":"passed","title":"restoring an old version calls the restore endpoint"},{"ancestorTitles":[],"duration":234,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an empty cover letter offers the template and an empty history","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794936493544,"status":"passed","title":"an empty cover letter offers the template and an empty history"},{"ancestorTitles":[],"duration":226,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"the empty cover-letter template and rich-text controls follow Bokmål UI language","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936493778,"status":"passed","title":"the empty cover-letter template and rich-text controls follow Bokmål UI language"},{"ancestorTitles":[],"duration":236,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"AI letter results are discarded when the source changes during generation","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794936494004,"status":"passed","title":"AI letter results are discarded when the source changes during generation"},{"ancestorTitles":[],"duration":150,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter Improve writing uses the existing reviewed action","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936494241,"status":"passed","title":"letter Improve writing uses the existing reviewed action"},{"ancestorTitles":[],"duration":329,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter Suggest content uses the existing reviewed action","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936494392,"status":"passed","title":"letter Suggest content uses the existing reviewed action"},{"ancestorTitles":[],"duration":302,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter Grammar check uses the existing reviewed action","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936494721,"status":"passed","title":"letter Grammar check uses the existing reviewed action"},{"ancestorTitles":[],"duration":253,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter Shorter uses the existing reviewed action","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936495024,"status":"passed","title":"letter Shorter uses the existing reviewed action"},{"ancestorTitles":[],"duration":225,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"cancelling letter generation ignores its late response","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794936495277,"status":"passed","title":"cancelling letter generation ignores its late response"},{"ancestorTitles":[],"duration":570,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"AI cover letter suggestions use the linked CV and require explicit apply","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794936495502,"status":"passed","title":"AI cover letter suggestions use the linked CV and require explicit apply"},{"ancestorTitles":[],"duration":319,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter AI revalidates its recorded source before applying and refuses a cross-tab source conflict","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936496072,"status":"passed","title":"letter AI revalidates its recorded source before applying and refuses a cross-tab source conflict"},{"ancestorTitles":[],"duration":655,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter AI language follows the saved document and updates the same local language draft","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794936496391,"status":"passed","title":"letter AI language follows the saved document and updates the same local language draft"},{"ancestorTitles":[],"duration":357,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter AI ignores a late source validation after local edit","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936497046,"status":"passed","title":"letter AI ignores a late source validation after local edit"},{"ancestorTitles":[],"duration":381,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter AI ignores a late source validation after local cancel","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936497403,"status":"passed","title":"letter AI ignores a late source validation after local cancel"},{"ancestorTitles":[],"duration":485,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter AI ignores a late source validation after local job change","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936497784,"status":"passed","title":"letter AI ignores a late source validation after local job change"},{"ancestorTitles":[],"duration":471,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a held letter Save prevents an in-flight AI validation from replacing the submitted snapshot","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936498269,"status":"passed","title":"a held letter Save prevents an in-flight AI validation from replacing the submitted snapshot"},{"ancestorTitles":[],"duration":387,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"[PRES-W06] rejecting an AI cover letter preserves the saved draft without a write","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794936498740,"status":"passed","title":"[PRES-W06] rejecting an AI cover letter preserves the saved draft without a write"},{"ancestorTitles":[],"duration":53,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a failed load surfaces an error","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794936499127,"status":"passed","title":"a failed load surfaces an error"},{"ancestorTitles":[],"duration":169,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"application answer and recruiter drafts save from the dedicated workspace","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936499180,"status":"passed","title":"application answer and recruiter drafts save from the dedicated workspace"},{"ancestorTitles":[],"duration":169,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"application package drafts can be cleared without deleting ordinary notes","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794936499349,"status":"passed","title":"application package drafts can be cleared without deleting ordinary notes"},{"ancestorTitles":[],"duration":618,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed cover-letter saving retains editable dirty text and original Save recovery across a live locale change","invocations":1,"location":null,"numPassingAsserts":16,"retryReasons":[],"startAt":1794936499518,"status":"passed","title":"failed cover-letter saving retains editable dirty text and original Save recovery across a live locale change"},{"ancestorTitles":[],"duration":288,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed application-answer saving keeps both dirty drafts editable and retries only the original save payload","invocations":1,"location":null,"numPassingAsserts":14,"retryReasons":[],"startAt":1794936500136,"status":"passed","title":"failed application-answer saving keeps both dirty drafts editable and retries only the original save payload"},{"ancestorTitles":[],"duration":229,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed CV attachment leaves the current association and selector available for the original explicit action","invocations":1,"location":null,"numPassingAsserts":10,"retryReasons":[],"startAt":1794936500424,"status":"passed","title":"failed CV attachment leaves the current association and selector available for the original explicit action"},{"ancestorTitles":[],"duration":917,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"dirty version restore cancels without a write and confirmed held restore appends history exactly once","invocations":1,"location":null,"numPassingAsserts":16,"retryReasons":[],"startAt":1794936500653,"status":"passed","title":"dirty version restore cancels without a write and confirmed held restore appends history exactly once"},{"ancestorTitles":[],"duration":494,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"held letter Save submits one snapshot and prevents an AI Apply from replacing its pending draft","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794936501570,"status":"passed","title":"held letter Save submits one snapshot and prevents an AI Apply from replacing its pending draft"},{"ancestorTitles":[],"duration":591,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"held AI generation locks its controls and preserves captured action attribution after a later action selection","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794936502064,"status":"passed","title":"held AI generation locks its controls and preserves captured action attribution after a later action selection"},{"ancestorTitles":[],"duration":686,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"capture, detail and download failures keep owned frozen history and recover only through their original explicit actions","invocations":1,"location":null,"numPassingAsserts":23,"retryReasons":[],"startAt":1794936502655,"status":"passed","title":"capture, detail and download failures keep owned frozen history and recover only through their original explicit actions"},{"ancestorTitles":[],"duration":523,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"all five asset read owners expose GET-only recovery without false empty history or locale refetch","invocations":1,"location":null,"numPassingAsserts":34,"retryReasons":[],"startAt":1794936503341,"status":"passed","title":"all five asset read owners expose GET-only recovery without false empty history or locale refetch"},{"ancestorTitles":[],"duration":290,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"keyed job changes stop a late CV copy from attaching and never reuse another job's saved-copy recovery","invocations":1,"location":null,"numPassingAsserts":19,"retryReasons":[],"startAt":1794936503864,"status":"passed","title":"keyed job changes stop a late CV copy from attaching and never reuse another job's saved-copy recovery"},{"ancestorTitles":[],"duration":312,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"keyed job changes keep job B's answer drafts and callbacks independent of job A's late save","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794936504154,"status":"passed","title":"keyed job changes keep job B's answer drafts and callbacks independent of job A's late save"},{"ancestorTitles":[],"duration":190,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a parent refresh cannot attach a newer revision to dirty application drafts","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936504466,"status":"passed","title":"a parent refresh cannot attach a newer revision to dirty application drafts"},{"ancestorTitles":[],"duration":336,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"cover-letter rejection (409) retains draft and source revision without a fresh read","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936504656,"status":"passed","title":"cover-letter rejection (409) retains draft and source revision without a fresh read"},{"ancestorTitles":[],"duration":361,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"cover-letter rejection (0) retains draft and source revision without a fresh read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936504992,"status":"passed","title":"cover-letter rejection (0) retains draft and source revision without a fresh read"},{"ancestorTitles":[],"duration":184,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter text preview shows unsaved formatting, hides the inactive narrow pane and never saves on switching","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794936505353,"status":"passed","title":"letter text preview shows unsaved formatting, hides the inactive narrow pane and never saves on switching"},{"ancestorTitles":[],"duration":297,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter text preview renders unsafe Markdown as inert text","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936505537,"status":"passed","title":"letter text preview renders unsafe Markdown as inert text"},{"ancestorTitles":[],"duration":813,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter preview retains the draft after cancelled restore and failed save","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794936505834,"status":"passed","title":"letter preview retains the draft after cancelled restore and failed save"},{"ancestorTitles":[],"duration":1135,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending letter history restore follows en without losing text, design or revision","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794936506647,"status":"passed","title":"pending letter history restore follows en without losing text, design or revision"},{"ancestorTitles":[],"duration":1133,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending letter history restore follows nb without losing text, design or revision","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794936507782,"status":"passed","title":"pending letter history restore follows nb without losing text, design or revision"},{"ancestorTitles":[],"duration":452,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"keyed letter job changes discard the old preview and ignore its late save","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936508915,"status":"passed","title":"keyed letter job changes discard the old preview and ignore its late save"},{"ancestorTitles":[],"duration":101,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter workspace at 768px keeps one editor and its preview available without writing","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936509367,"status":"passed","title":"letter workspace at 768px keeps one editor and its preview available without writing"},{"ancestorTitles":[],"duration":109,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter workspace at 1000px keeps one editor and its preview available without writing","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936509468,"status":"passed","title":"letter workspace at 1000px keeps one editor and its preview available without writing"},{"ancestorTitles":[],"duration":161,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter workspace at 1440px keeps one editor and its preview available without writing","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936509577,"status":"passed","title":"letter workspace at 1440px keeps one editor and its preview available without writing"},{"ancestorTitles":[],"duration":371,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter preview controls follow Bokmål without translating or saving the local draft","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936509738,"status":"passed","title":"letter preview controls follow Bokmål without translating or saving the local draft"},{"ancestorTitles":[],"duration":488,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"document settings are dirty local drafts until explicit Save, and Discard restores saved details","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936510109,"status":"passed","title":"document settings are dirty local drafts until explicit Save, and Discard restores saved details"},{"ancestorTitles":[],"duration":466,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter PDF awaits durable settings and blocks duplicate exports; failed save never exports","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936510597,"status":"passed","title":"letter PDF awaits durable settings and blocks duplicate exports; failed save never exports"},{"ancestorTitles":[],"duration":2278,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter document preview ignores stale responses, keeps last good HTML on failure and retries without saving","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794936511063,"status":"passed","title":"letter document preview ignores stale responses, keeps last good HTML on failure and retries without saving"}],"endTime":1794936513343,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\application-assets.test.tsx","startTime":1794936488154,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":506,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"contact copy is a reviewed canonical snapshot; cancel is inert and apply preserves recipient and design","invocations":1,"location":null,"numPassingAsserts":17,"retryReasons":[],"startAt":1794936514018,"status":"passed","title":"contact copy is a reviewed canonical snapshot; cancel is inert and apply preserves recipient and design"},{"ancestorTitles":[],"duration":412,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"contact location copies only after selection and unselected contact values preserve destination fields","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936514524,"status":"passed","title":"contact location copies only after selection and unselected contact values preserve destination fields"},{"ancestorTitles":[],"duration":306,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"blank source contacts and choosing no fields never clear destination contacts","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936514936,"status":"passed","title":"blank source contacts and choosing no fields never clear destination contacts"},{"ancestorTitles":[],"duration":466,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter language is an explicit document draft and saves independently of interface and CV language","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936515242,"status":"passed","title":"letter language is an explicit document draft and saves independently of interface and CV language"},{"ancestorTitles":[],"duration":241,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"design copy resolves null overrides through actual theme defaults and effective CV density","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794936515708,"status":"passed","title":"design copy resolves null overrides through actual theme defaults and effective CV density"},{"ancestorTitles":[],"duration":204,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter template chooser uses nine actual matching themes and preserves destination letter details","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794936515949,"status":"passed","title":"letter template chooser uses nine actual matching themes and preserves destination letter details"},{"ancestorTitles":[],"duration":141,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter template load failures retry and cancel never changes the local letter","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936516153,"status":"passed","title":"letter template load failures retry and cancel never changes the local letter"},{"ancestorTitles":[],"duration":810,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"applying a letter template updates the existing letter preview using the current body without saving","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936516294,"status":"passed","title":"applying a letter template updates the existing letter preview using the current body without saving"},{"ancestorTitles":[],"duration":40,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"disabled letter drafting cannot open the template chooser","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936517104,"status":"passed","title":"disabled letter drafting cannot open the template chooser"},{"ancestorTitles":[],"duration":211,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"matching a customized CV copies heading density and paper but preserves letter language","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794936517144,"status":"passed","title":"matching a customized CV copies heading density and paper but preserves letter language"},{"ancestorTitles":[],"duration":209,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"closing a copy dialog ignores a late selected CV read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936517355,"status":"passed","title":"closing a copy dialog ignores a late selected CV read"},{"ancestorTitles":[],"duration":273,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed copy reads are retryable and cannot apply or save a partial snapshot","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794936517564,"status":"passed","title":"failed copy reads are retryable and cannot apply or save a partial snapshot"},{"ancestorTitles":[],"duration":733,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"restoring a historical letter restores saved details with text after explicit dirty confirmation","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794936517838,"status":"passed","title":"restoring a historical letter restores saved details with text after explicit dirty confirmation"},{"ancestorTitles":[],"duration":466,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"successful export waits for the committed local snapshot and uses its returned revision once","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794936518571,"status":"passed","title":"successful export waits for the committed local snapshot and uses its returned revision once"},{"ancestorTitles":[],"duration":470,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a late letter PDF from a previous keyed job never downloads or replaces the current draft","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936519037,"status":"passed","title":"a late letter PDF from a previous keyed job never downloads or replaces the current draft"}],"endTime":1794936519508,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\cover-letter-document.test.tsx","startTime":1794936513354,"status":"passed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/letter-restore-dialog/final.json.gz b/docs/ui-modernisation/evidence/letter-restore-dialog/final.json.gz new file mode 100644 index 0000000000000000000000000000000000000000..05635f749a2c88dc95a0dc709e96597da5e52e8d GIT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z$p^WWkEPljzVg zn4eDO$*D;~?*J_vh0xgVa_NkG={zD@bN8n4p+{fZJbwxMjA(x_w$a29RT)2)wu9gl}>A>)V7MfHWr#-2MW zV&%HHOq63%l%!&JA04Y<0xW>$yVEVo;uEt9XHjgyQdh^KchkGl(Zf^5F$XQ7cY~d# zV^!uCR9OJNz`oX|>}4gqI;>ebO{}Jn9pJF|TNJL^MS90T>*k8`VEjLk)|VDX4^hh$ z!y$H(r2{=6c)@YBmJVt*8!kS12Y1DwT>mjRxS|vIfhq@>aoL=0^r4lpeV{ z)eVnImwjWpoAvw&)R~=-W@#1;|NRD!z-&$~ayBoZyzN85MoptA_l>nU24Myxl+SHu z#)Rrm!m-RpeB@9l)K(0Wfqo7BGavR^qPt)!`izAT!t+tJheV(84*U0W^nuoM(;!ElP50lxe-Pwdv3Ast37Hc1&hv z^%9nelI=*n6^2Z@uqk}!Sin?DweZ^d&LrbN{w>Q$!PLJ5ix=`n(+uUA`cY0Jewkwl l$nLa6?)@#S{492IeMFYQea3`bk1DA;`~d(4keo*W0033#ZVvze literal 0 HcmV?d00001 diff --git a/docs/ui-modernisation/evidence/letter-restore-dialog/graph.txt b/docs/ui-modernisation/evidence/letter-restore-dialog/graph.txt new file mode 100644 index 00000000..5316171a --- /dev/null +++ b/docs/ui-modernisation/evidence/letter-restore-dialog/graph.txt @@ -0,0 +1,18 @@ +Re-extracting code files in . (no LLM needed)... +[graphify watch] 796 file(s) not classified (no supported extension or shebang), skipped: .dockerignore, .env.example, .git, .gitattributes, .gitignore, 1440-en-dark-converted.gz (+790 more) + AST cache: 2652/3104 files served from cache (85%); 452 to extract + AST extraction: 100/452 uncached files (22%) [16 workers] + AST extraction: 200/452 uncached files (44%) [16 workers] + AST extraction: 300/452 uncached files (66%) [16 workers] + AST extraction: 400/452 uncached files (88%) [16 workers] + AST extraction: 452/452 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, 1208 communities now; renamed 142 community(ies) by their hub). Run `graphify label` to refresh names with the LLM. +Graph has 19339 nodes (above 5000 limit). Building aggregated community view... +graph.html written (aggregated: 1208 community nodes, 3260 cross-community edges) +Tip: run with --obsidian for full node-level detail. +[graphify watch] Rebuilt: 19339 nodes, 47487 edges, 1208 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/letter-restore-dialog/graph.txt.gz b/docs/ui-modernisation/evidence/letter-restore-dialog/graph.txt.gz new file mode 100644 index 0000000000000000000000000000000000000000..3e342070856b2271f85f5bc7ae0bb62b5377ed35 GIT binary patch literal 985 zcmV;~119_*iwFP!000023XN6UZsRr(eGia-7;LeCjapaBmw2C?B6Zy+P2kN-5d>aJ z8cWf>lAr0OmfcQoZ*?#0zLd@HOnlQ1!O8mSaE>{xC9?M zQo;504M@Zs^RDmv=VuRvW_8I|Ti7t0m5(sG7`B*>>4H=iGQo`DD~@@KH%(nDZD~ap zp)_1cP#R2$DU(IF2j+>_HRcoWbCo@z=7m%md*Gv7`}mDjwQ#F~+ubj-R`ay6Xm;yE ze3T@ihtkWLe)2LU*XVBbi@%`rFxjg%sMnO~ zN~>xY0-f>TWA_szgBYxWeXR~GhterIfhY_E7uCoXnC}@oas06h577`dN|QSCcnTc9 z0Zx*4fctNNhr@S(lQ+QQ@q55jy;ESS#R>F=X-O`dz!-eI_~xV5O4j@j9eOJkW3-HCp&?$FIIp zGEE)-4j;XY)Uz`m!t~8nw9FJ-J(>jyJA`Qb?>(7!Ih%Wm53%WCR z{%5ILBMibY1i>qAiT<+TB6o?iqR?0{XZB~IYmS?Cy0!`UrL6>Pv@^6Mwj*NlTIF_k zUl026FoaAiW4z}x%nOoves<66320K+=I(haH9Y4`I;+8|5u#=B1g=p~gIUJKsWHF6 zlqA^6OQk(XM#*@zyXyNVIKi^h_thxbgBMzv%we{e-u<#%T;1I+?)@rS!F{l38c6H! z%jJwWySkbGK3`7n=F8u%{%}1!yS<%VUmbVI9BwMju;P-p)uf&x5}v&nlEnBQA#3HF HWCs8M6_xbq literal 0 HcmV?d00001 diff --git a/docs/ui-modernisation/evidence/letter-restore-dialog/green.json b/docs/ui-modernisation/evidence/letter-restore-dialog/green.json new file mode 100644 index 00000000..67ca8c79 --- /dev/null +++ b/docs/ui-modernisation/evidence/letter-restore-dialog/green.json @@ -0,0 +1 @@ +{"numFailedTestSuites":1,"numFailedTests":2,"numPassedTestSuites":1,"numPassedTests":71,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":2,"numTotalTests":73,"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":1794936318262,"success":false,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":149,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"frozen attachment size follows UI language without changing stored package data","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936321937,"status":"passed","title":"frozen attachment size follows UI language without changing stored package data"},{"ancestorTitles":[],"duration":360,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"[P7-11 tailoring] generated metadata and known history enums follow locale while evidence, unknown metadata and dirty prose stay verbatim","invocations":1,"location":null,"numPassingAsserts":13,"retryReasons":[],"startAt":1794936322087,"status":"passed","title":"[P7-11 tailoring] generated metadata and known history enums follow locale while evidence, unknown metadata and dirty prose stay verbatim"},{"ancestorTitles":[],"duration":96,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"document package history is read-only and separates captured notes from answers","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794936322447,"status":"passed","title":"document package history is read-only and separates captured notes from answers"},{"ancestorTitles":[],"duration":59,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"cv section shows the attached variant and the ones available to attach","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936322543,"status":"passed","title":"cv section shows the attached variant and the ones available to attach"},{"ancestorTitles":[],"duration":127,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attaching a different variant only re-points the application","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794936322603,"status":"passed","title":"attaching a different variant only re-points the application"},{"ancestorTitles":[],"duration":30,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"cv section points at the builder when there are no variants","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794936322731,"status":"passed","title":"cv section points at the builder when there are no variants"},{"ancestorTitles":[],"duration":46,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"tailoring renders suggestions grouped by kind","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936322761,"status":"passed","title":"tailoring renders suggestions grouped by kind"},{"ancestorTitles":[],"duration":46,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"tailoring asks for a career profile when there is none","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794936322807,"status":"passed","title":"tailoring asks for a career profile when there is none"},{"ancestorTitles":[],"duration":62,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"submitted package capture appends an immutable history entry","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936322853,"status":"passed","title":"submitted package capture appends an immutable history entry"},{"ancestorTitles":[],"duration":112,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"cover letter loads the current text and its history","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936322916,"status":"passed","title":"cover letter loads the current text and its history"},{"ancestorTitles":[],"duration":243,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"editing marks the draft dirty and saving sends the new text","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936323028,"status":"passed","title":"editing marks the draft dirty and saving sends the new text"},{"ancestorTitles":[],"duration":224,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"discarding returns to the saved text","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794936323271,"status":"passed","title":"discarding returns to the saved text"},{"ancestorTitles":[],"duration":156,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"restoring an old version calls the restore endpoint","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794936323495,"status":"passed","title":"restoring an old version calls the restore endpoint"},{"ancestorTitles":[],"duration":117,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an empty cover letter offers the template and an empty history","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794936323651,"status":"passed","title":"an empty cover letter offers the template and an empty history"},{"ancestorTitles":[],"duration":122,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"the empty cover-letter template and rich-text controls follow Bokmål UI language","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936323768,"status":"passed","title":"the empty cover-letter template and rich-text controls follow Bokmål UI language"},{"ancestorTitles":[],"duration":217,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"AI letter results are discarded when the source changes during generation","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794936323890,"status":"passed","title":"AI letter results are discarded when the source changes during generation"},{"ancestorTitles":[],"duration":228,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter Improve writing uses the existing reviewed action","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936324107,"status":"passed","title":"letter Improve writing uses the existing reviewed action"},{"ancestorTitles":[],"duration":234,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter Suggest content uses the existing reviewed action","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936324335,"status":"passed","title":"letter Suggest content uses the existing reviewed action"},{"ancestorTitles":[],"duration":198,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter Grammar check uses the existing reviewed action","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936324569,"status":"passed","title":"letter Grammar check uses the existing reviewed action"},{"ancestorTitles":[],"duration":137,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter Shorter uses the existing reviewed action","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936324767,"status":"passed","title":"letter Shorter uses the existing reviewed action"},{"ancestorTitles":[],"duration":198,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"cancelling letter generation ignores its late response","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794936324904,"status":"passed","title":"cancelling letter generation ignores its late response"},{"ancestorTitles":[],"duration":499,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"AI cover letter suggestions use the linked CV and require explicit apply","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794936325102,"status":"passed","title":"AI cover letter suggestions use the linked CV and require explicit apply"},{"ancestorTitles":[],"duration":283,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter AI revalidates its recorded source before applying and refuses a cross-tab source conflict","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936325601,"status":"passed","title":"letter AI revalidates its recorded source before applying and refuses a cross-tab source conflict"},{"ancestorTitles":[],"duration":437,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter AI language follows the saved document and updates the same local language draft","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794936325884,"status":"passed","title":"letter AI language follows the saved document and updates the same local language draft"},{"ancestorTitles":[],"duration":414,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter AI ignores a late source validation after local edit","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936326321,"status":"passed","title":"letter AI ignores a late source validation after local edit"},{"ancestorTitles":[],"duration":234,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter AI ignores a late source validation after local cancel","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936326736,"status":"passed","title":"letter AI ignores a late source validation after local cancel"},{"ancestorTitles":[],"duration":406,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter AI ignores a late source validation after local job change","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936326970,"status":"passed","title":"letter AI ignores a late source validation after local job change"},{"ancestorTitles":[],"duration":472,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a held letter Save prevents an in-flight AI validation from replacing the submitted snapshot","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936327376,"status":"passed","title":"a held letter Save prevents an in-flight AI validation from replacing the submitted snapshot"},{"ancestorTitles":[],"duration":228,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"[PRES-W06] rejecting an AI cover letter preserves the saved draft without a write","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794936327848,"status":"passed","title":"[PRES-W06] rejecting an AI cover letter preserves the saved draft without a write"},{"ancestorTitles":[],"duration":49,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a failed load surfaces an error","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794936328076,"status":"passed","title":"a failed load surfaces an error"},{"ancestorTitles":[],"duration":140,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"application answer and recruiter drafts save from the dedicated workspace","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936328126,"status":"passed","title":"application answer and recruiter drafts save from the dedicated workspace"},{"ancestorTitles":[],"duration":168,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"application package drafts can be cleared without deleting ordinary notes","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794936328266,"status":"passed","title":"application package drafts can be cleared without deleting ordinary notes"},{"ancestorTitles":[],"duration":513,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed cover-letter saving retains editable dirty text and original Save recovery across a live locale change","invocations":1,"location":null,"numPassingAsserts":16,"retryReasons":[],"startAt":1794936328434,"status":"passed","title":"failed cover-letter saving retains editable dirty text and original Save recovery across a live locale change"},{"ancestorTitles":[],"duration":197,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed application-answer saving keeps both dirty drafts editable and retries only the original save payload","invocations":1,"location":null,"numPassingAsserts":14,"retryReasons":[],"startAt":1794936328947,"status":"passed","title":"failed application-answer saving keeps both dirty drafts editable and retries only the original save payload"},{"ancestorTitles":[],"duration":229,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed CV attachment leaves the current association and selector available for the original explicit action","invocations":1,"location":null,"numPassingAsserts":10,"retryReasons":[],"startAt":1794936329144,"status":"passed","title":"failed CV attachment leaves the current association and selector available for the original explicit action"},{"ancestorTitles":[],"duration":949,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"dirty version restore cancels without a write and confirmed held restore appends history exactly once","invocations":1,"location":null,"numPassingAsserts":16,"retryReasons":[],"startAt":1794936329373,"status":"passed","title":"dirty version restore cancels without a write and confirmed held restore appends history exactly once"},{"ancestorTitles":[],"duration":496,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"held letter Save submits one snapshot and prevents an AI Apply from replacing its pending draft","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794936330322,"status":"passed","title":"held letter Save submits one snapshot and prevents an AI Apply from replacing its pending draft"},{"ancestorTitles":[],"duration":663,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"held AI generation locks its controls and preserves captured action attribution after a later action selection","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794936330818,"status":"passed","title":"held AI generation locks its controls and preserves captured action attribution after a later action selection"},{"ancestorTitles":[],"duration":658,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"capture, detail and download failures keep owned frozen history and recover only through their original explicit actions","invocations":1,"location":null,"numPassingAsserts":23,"retryReasons":[],"startAt":1794936331481,"status":"passed","title":"capture, detail and download failures keep owned frozen history and recover only through their original explicit actions"},{"ancestorTitles":[],"duration":557,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"all five asset read owners expose GET-only recovery without false empty history or locale refetch","invocations":1,"location":null,"numPassingAsserts":34,"retryReasons":[],"startAt":1794936332139,"status":"passed","title":"all five asset read owners expose GET-only recovery without false empty history or locale refetch"},{"ancestorTitles":[],"duration":322,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"keyed job changes stop a late CV copy from attaching and never reuse another job's saved-copy recovery","invocations":1,"location":null,"numPassingAsserts":19,"retryReasons":[],"startAt":1794936332696,"status":"passed","title":"keyed job changes stop a late CV copy from attaching and never reuse another job's saved-copy recovery"},{"ancestorTitles":[],"duration":324,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"keyed job changes keep job B's answer drafts and callbacks independent of job A's late save","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794936333018,"status":"passed","title":"keyed job changes keep job B's answer drafts and callbacks independent of job A's late save"},{"ancestorTitles":[],"duration":231,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a parent refresh cannot attach a newer revision to dirty application drafts","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936333342,"status":"passed","title":"a parent refresh cannot attach a newer revision to dirty application drafts"},{"ancestorTitles":[],"duration":320,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"cover-letter rejection (409) retains draft and source revision without a fresh read","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936333573,"status":"passed","title":"cover-letter rejection (409) retains draft and source revision without a fresh read"},{"ancestorTitles":[],"duration":238,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"cover-letter rejection (0) retains draft and source revision without a fresh read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936333893,"status":"passed","title":"cover-letter rejection (0) retains draft and source revision without a fresh read"},{"ancestorTitles":[],"duration":182,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter text preview shows unsaved formatting, hides the inactive narrow pane and never saves on switching","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794936334131,"status":"passed","title":"letter text preview shows unsaved formatting, hides the inactive narrow pane and never saves on switching"},{"ancestorTitles":[],"duration":259,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter text preview renders unsafe Markdown as inert text","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936334313,"status":"passed","title":"letter text preview renders unsafe Markdown as inert text"},{"ancestorTitles":[],"duration":718,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter preview retains the draft after cancelled restore and failed save","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794936334572,"status":"passed","title":"letter preview retains the draft after cancelled restore and failed save"},{"ancestorTitles":[],"duration":1076,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).toHaveBeenCalledWith(...expected)\n\n- Expected\n+ Received\n\n- \"/jobapplications/7/cover-letter/restore/1\",\n+ \"/jobapplications/7/cover-letter/versions/1/restore\",\n {\"expectedVersion\": 7},\n\nNumber of calls: 1","pass":false}}],"failureMessages":["Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)\n\n- Expected\n+ Received\n\n- \"/jobapplications/7/cover-letter/restore/1\",\n+ \"/jobapplications/7/cover-letter/versions/1/restore\",\n {\"expectedVersion\": 7},\n\nNumber of calls: 1\n at toHaveBeenCalledWith (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\application-assets.test.tsx:986:26)\n at runNextTicks (node:internal/process/task_queues:65:5)\n at listOnTimeout (node:internal/timers:597:9)\n at processTimers (node:internal/timers:571:7)"],"fullName":"pending letter history restore follows en without losing text, design or revision","invocations":1,"location":null,"numPassingAsserts":10,"retryReasons":[],"startAt":1794936335290,"status":"failed","title":"pending letter history restore follows en without losing text, design or revision"},{"ancestorTitles":[],"duration":1173,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).toHaveBeenCalledWith(...expected)\n\n- Expected\n+ Received\n\n- \"/jobapplications/7/cover-letter/restore/1\",\n+ \"/jobapplications/7/cover-letter/versions/1/restore\",\n {\"expectedVersion\": 7},\n\nNumber of calls: 1","pass":false}}],"failureMessages":["Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)\n\n- Expected\n+ Received\n\n- \"/jobapplications/7/cover-letter/restore/1\",\n+ \"/jobapplications/7/cover-letter/versions/1/restore\",\n {\"expectedVersion\": 7},\n\nNumber of calls: 1\n at toHaveBeenCalledWith (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\application-assets.test.tsx:986:26)\n at runNextTicks (node:internal/process/task_queues:65:5)\n at listOnTimeout (node:internal/timers:597:9)\n at processTimers (node:internal/timers:571:7)"],"fullName":"pending letter history restore follows nb without losing text, design or revision","invocations":1,"location":null,"numPassingAsserts":10,"retryReasons":[],"startAt":1794936336384,"status":"failed","title":"pending letter history restore follows nb without losing text, design or revision"},{"ancestorTitles":[],"duration":520,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"keyed letter job changes discard the old preview and ignore its late save","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794936337557,"status":"passed","title":"keyed letter job changes discard the old preview and ignore its late save"},{"ancestorTitles":[],"duration":114,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter workspace at 768px keeps one editor and its preview available without writing","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936338077,"status":"passed","title":"letter workspace at 768px keeps one editor and its preview available without writing"},{"ancestorTitles":[],"duration":105,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter workspace at 1000px keeps one editor and its preview available without writing","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936338191,"status":"passed","title":"letter workspace at 1000px keeps one editor and its preview available without writing"},{"ancestorTitles":[],"duration":96,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter workspace at 1440px keeps one editor and its preview available without writing","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936338296,"status":"passed","title":"letter workspace at 1440px keeps one editor and its preview available without writing"},{"ancestorTitles":[],"duration":442,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter preview controls follow Bokmål without translating or saving the local draft","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936338393,"status":"passed","title":"letter preview controls follow Bokmål without translating or saving the local draft"},{"ancestorTitles":[],"duration":611,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"document settings are dirty local drafts until explicit Save, and Discard restores saved details","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936338835,"status":"passed","title":"document settings are dirty local drafts until explicit Save, and Discard restores saved details"},{"ancestorTitles":[],"duration":576,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter PDF awaits durable settings and blocks duplicate exports; failed save never exports","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936339446,"status":"passed","title":"letter PDF awaits durable settings and blocks duplicate exports; failed save never exports"},{"ancestorTitles":[],"duration":2237,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter document preview ignores stale responses, keeps last good HTML on failure and retries without saving","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794936340022,"status":"passed","title":"letter document preview ignores stale responses, keeps last good HTML on failure and retries without saving"}],"endTime":1794936342290,"message":" ● pending letter history restore follows en without losing text, design or revision\n\n expect(jest.fn()).toHaveBeenCalledWith(...expected)\n\n - Expected\n + Received\n\n - \"/jobapplications/7/cover-letter/restore/1\",\n + \"/jobapplications/7/cover-letter/versions/1/restore\",\n {\"expectedVersion\": 7},\n\n Number of calls: 1\n\n 984 | fireEvent.click(within(await screen.findByRole('dialog')).getByRole('button', { name: copy('assetsRestoreConfirm') }));\n 985 | await waitFor(() => expect(mockedApi.post).toHaveBeenCalledTimes(1));\n > 986 | expect(mockedApi.post).toHaveBeenCalledWith('/jobapplications/7/cover-letter/versions/1/restore', { expectedVersion: 7 });\n | ^\n 987 | });\n 988 |\n 989 | test(\"keyed letter job changes discard the old preview and ignore its late save\", async () => {\n\n at toHaveBeenCalledWith (src/application-assets.test.tsx:986:26)\n\n ● pending letter history restore follows nb without losing text, design or revision\n\n expect(jest.fn()).toHaveBeenCalledWith(...expected)\n\n - Expected\n + Received\n\n - \"/jobapplications/7/cover-letter/restore/1\",\n + \"/jobapplications/7/cover-letter/versions/1/restore\",\n {\"expectedVersion\": 7},\n\n Number of calls: 1\n\n 984 | fireEvent.click(within(await screen.findByRole('dialog')).getByRole('button', { name: copy('assetsRestoreConfirm') }));\n 985 | await waitFor(() => expect(mockedApi.post).toHaveBeenCalledTimes(1));\n > 986 | expect(mockedApi.post).toHaveBeenCalledWith('/jobapplications/7/cover-letter/versions/1/restore', { expectedVersion: 7 });\n | ^\n 987 | });\n 988 |\n 989 | test(\"keyed letter job changes discard the old preview and ignore its late save\", async () => {\n\n at toHaveBeenCalledWith (src/application-assets.test.tsx:986:26)\n","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\application-assets.test.tsx","startTime":1794936319068,"status":"failed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":509,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"contact copy is a reviewed canonical snapshot; cancel is inert and apply preserves recipient and design","invocations":1,"location":null,"numPassingAsserts":17,"retryReasons":[],"startAt":1794936343035,"status":"passed","title":"contact copy is a reviewed canonical snapshot; cancel is inert and apply preserves recipient and design"},{"ancestorTitles":[],"duration":407,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"contact location copies only after selection and unselected contact values preserve destination fields","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936343544,"status":"passed","title":"contact location copies only after selection and unselected contact values preserve destination fields"},{"ancestorTitles":[],"duration":238,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"blank source contacts and choosing no fields never clear destination contacts","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936343951,"status":"passed","title":"blank source contacts and choosing no fields never clear destination contacts"},{"ancestorTitles":[],"duration":389,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter language is an explicit document draft and saves independently of interface and CV language","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936344189,"status":"passed","title":"letter language is an explicit document draft and saves independently of interface and CV language"},{"ancestorTitles":[],"duration":233,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"design copy resolves null overrides through actual theme defaults and effective CV density","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794936344578,"status":"passed","title":"design copy resolves null overrides through actual theme defaults and effective CV density"},{"ancestorTitles":[],"duration":202,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter template chooser uses nine actual matching themes and preserves destination letter details","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794936344811,"status":"passed","title":"letter template chooser uses nine actual matching themes and preserves destination letter details"},{"ancestorTitles":[],"duration":177,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter template load failures retry and cancel never changes the local letter","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936345013,"status":"passed","title":"letter template load failures retry and cancel never changes the local letter"},{"ancestorTitles":[],"duration":805,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"applying a letter template updates the existing letter preview using the current body without saving","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794936345190,"status":"passed","title":"applying a letter template updates the existing letter preview using the current body without saving"},{"ancestorTitles":[],"duration":39,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"disabled letter drafting cannot open the template chooser","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936345995,"status":"passed","title":"disabled letter drafting cannot open the template chooser"},{"ancestorTitles":[],"duration":230,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"matching a customized CV copies heading density and paper but preserves letter language","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794936346034,"status":"passed","title":"matching a customized CV copies heading density and paper but preserves letter language"},{"ancestorTitles":[],"duration":221,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"closing a copy dialog ignores a late selected CV read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936346264,"status":"passed","title":"closing a copy dialog ignores a late selected CV read"},{"ancestorTitles":[],"duration":259,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed copy reads are retryable and cannot apply or save a partial snapshot","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794936346485,"status":"passed","title":"failed copy reads are retryable and cannot apply or save a partial snapshot"},{"ancestorTitles":[],"duration":704,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"restoring a historical letter restores saved details with text after explicit dirty confirmation","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794936346744,"status":"passed","title":"restoring a historical letter restores saved details with text after explicit dirty confirmation"},{"ancestorTitles":[],"duration":485,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"successful export waits for the committed local snapshot and uses its returned revision once","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794936347449,"status":"passed","title":"successful export waits for the committed local snapshot and uses its returned revision once"},{"ancestorTitles":[],"duration":440,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a late letter PDF from a previous keyed job never downloads or replaces the current draft","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794936347934,"status":"passed","title":"a late letter PDF from a previous keyed job never downloads or replaces the current draft"}],"endTime":1794936348375,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\cover-letter-document.test.tsx","startTime":1794936342302,"status":"passed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/letter-restore-dialog/green.json.gz b/docs/ui-modernisation/evidence/letter-restore-dialog/green.json.gz new file mode 100644 index 0000000000000000000000000000000000000000..01a82ed3260ce9fd8cdada4ff89bc9991e2e4e1a GIT binary patch literal 4639 zcmV+)65#D0iwFP!000023hh1Za^tpk|N9ge{joi@Y*C~{%9-Ao-Oc7E?M<55Z0`LL zr5%WbEXEX|3y}6In|+4<>=X1!`X+sno&$gs<#=gW2DO=XcP7~tMUdwU2j^Sw2fSK; zMe~AXZ<#88sPdAj!Bud+e;qE3^`-BrQV-p_yAGFPdyVld=hy9S?*}x?Sf(GC z<=Ky$jFxP0wWNh&=Yu7nUdh&HpoDtSEYKg{u(h~-;KE;WRhqZyt3UEJEz?!|M)NXr zq5Wlv;Ol=?94@9e_ImT_U)WZ?+)8LB3Ya8K(2fWaD!(Ef} zfn=rJzF}19Wm=hf_nxVy#?TnC6cHITt1vX#)fb@^23IozK@4N zKyZbS@UWlBHRDX8bdfbY2;m{HugDD-cbu$pglS6{5K~zM2@<*h)K(y^gx%&D1K7_= z#m$<%$7H!Iw`3!QVt_i`l3OMhfYkah1_q%U2gjqNlY@U8GCa=v+0+l~Gm%zWSZmp< zvC0*ZjAlc@i>-!Mu?U zc%0_JIQBzy^F~y^6t?1W$t2274XKtD$%Y$|^U`9o*%Y~@=V6M7FAwkOoEbx^AavdfDr!UqQ*h>OWrsP93}b5a6eAn$dlr3PAT9u2dETL z)ivCxDMqfPs5Y?g7F%+Y^Q>RZ5KlY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COeOKj8ToK__Qej2i3Y>G5C8X- zkf*0-}2$-oVHvKC3F6LAHfU#*lpa z&*)4>zJ5LeoJyLOrg}BUmcwRnS4z3yIeId6W5*XZ?~gZ{8Vfx@RJV5QItPHp`6jQY z!5D3MU>w|S>{Aqux_z}{A?Y#^B=*a^9(|TxXG@6DCGnI#%&$?07ti7d0#Z-e7 zVgX)}9s7{8B2#_V$VK6#yQS|)C?2tfaZyly(;85PAleG#l`tj-7Zxt-aO%$PJ+SL_ z{qknkJ!04|CJt4-iQoFSW*Aj&WN!;0=&?8z7%o+Kv0=Cnw^~SG9f$|({UJdNJrp1P$*X(|u zVOt^85uoRUcO6ZJC<)w(e|y8uA$=If{jh4kPf(M~_Q7bw$Lecq@$V7{<}tnMx5>z{ z5ZDVQkFy~0mBHPOtt9txXwOS*#^>J4{Zy*X<g4GcHZjV{_Z)zM4wacmQsj#Qfm=t&o?_1};n#mp3 zzF#qFCIXl<&1h7*0dy8s+0w1|Y@I&mH%HS^_XwcAaB|5rdCJzNHpoehVPZmXznj=t zJ6M2P-%V7}bUf{L5D$X*h|M<5U?^?q;SX40j##7K%nYiVA$5Ggr0wAgY?&BGX62_BudBJhh7wtULunq)0lEH}Z*90FTVLO8XxZY9q4F-&4 VwEze*s^4i*_`E003pa6iNU9 literal 0 HcmV?d00001 diff --git a/docs/ui-modernisation/evidence/letter-restore-dialog/green.txt b/docs/ui-modernisation/evidence/letter-restore-dialog/green.txt new file mode 100644 index 00000000..109b3a2a --- /dev/null +++ b/docs/ui-modernisation/evidence/letter-restore-dialog/green.txt @@ -0,0 +1,54 @@ +FAIL src/application-assets.test.tsx (23.222 s) + ● pending letter history restore follows en without losing text, design or revision + + expect(jest.fn()).toHaveBeenCalledWith(...expected) + + - Expected + + Received + + - "/jobapplications/7/cover-letter/restore/1", + + "/jobapplications/7/cover-letter/versions/1/restore", + {"expectedVersion": 7}, + + Number of calls: 1 + + 984 | fireEvent.click(within(await screen.findByRole('dialog')).getByRole('button', { name: copy('assetsRestoreConfirm') })); + 985 | await waitFor(() => expect(mockedApi.post).toHaveBeenCalledTimes(1)); + > 986 | expect(mockedApi.post).toHaveBeenCalledWith('/jobapplications/7/cover-letter/versions/1/restore', { expectedVersion: 7 }); + | ^ + 987 | }); + 988 | + 989 | test("keyed letter job changes discard the old preview and ignore its late save", async () => { + + at toHaveBeenCalledWith (src/application-assets.test.tsx:986:26) + + ● pending letter history restore follows nb without losing text, design or revision + + expect(jest.fn()).toHaveBeenCalledWith(...expected) + + - Expected + + Received + + - "/jobapplications/7/cover-letter/restore/1", + + "/jobapplications/7/cover-letter/versions/1/restore", + {"expectedVersion": 7}, + + Number of calls: 1 + + 984 | fireEvent.click(within(await screen.findByRole('dialog')).getByRole('button', { name: copy('assetsRestoreConfirm') })); + 985 | await waitFor(() => expect(mockedApi.post).toHaveBeenCalledTimes(1)); + > 986 | expect(mockedApi.post).toHaveBeenCalledWith('/jobapplications/7/cover-letter/versions/1/restore', { expectedVersion: 7 }); + | ^ + 987 | }); + 988 | + 989 | test("keyed letter job changes discard the old preview and ignore its late save", async () => { + + at toHaveBeenCalledWith (src/application-assets.test.tsx:986:26) + + +Test Suites: 1 failed, 1 passed, 2 total +Tests: 2 failed, 71 passed, 73 total +Snapshots: 0 total +Time: 30.116 s +Ran all test suites matching src/application-assets.test.tsx|src/cover-letter-document.test.tsx. +Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\letter-restore-dialog-green.json diff --git a/docs/ui-modernisation/evidence/letter-restore-dialog/green.txt.gz b/docs/ui-modernisation/evidence/letter-restore-dialog/green.txt.gz new file mode 100644 index 0000000000000000000000000000000000000000..6e993f035cf5d3aa39d0b84e665ebb707f1f27fe GIT binary patch literal 708 zcmV;#0z3U5iwFP!000023hh+QZrVT)z9aDtBQDq~Hi5Jup=zWgN|Z`fRgtK@pi0Yn zfQ9w0a=cukp;&SV^T0Ez zOdwW55jdGMGx1oNd; ze{@jPy!re(6#4#A0Op_b+ok8n2L3v}?rG>T?%^>n$FSKiPWaRdCTPrYjY*{p4jJTB zmZ0L#G(N09?92*GjwjTQ*EHWEs*@As`C2>wJ71Wzcr z&%F1$M_b7}L&#?IBIFk#zXXz#GX-WZX&sV(sbI}ge?-F6%v#GTF&xO#0M3~=}bbKr_lAQdF1{;hZ-nT<}=WmjSV literal 0 HcmV?d00001 diff --git a/docs/ui-modernisation/evidence/letter-restore-dialog/lint.txt b/docs/ui-modernisation/evidence/letter-restore-dialog/lint.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/ui-modernisation/evidence/letter-restore-dialog/lint.txt.gz b/docs/ui-modernisation/evidence/letter-restore-dialog/lint.txt.gz new file mode 100644 index 0000000000000000000000000000000000000000..ae211a2cb77f6830fe3b183a87963fc514435a29 GIT binary patch literal 20 Scmb2|=3oE;CN5?$4I%&z1pvYT literal 0 HcmV?d00001 diff --git a/docs/ui-modernisation/evidence/letter-restore-dialog/red-corrected.json b/docs/ui-modernisation/evidence/letter-restore-dialog/red-corrected.json new file mode 100644 index 00000000..f04793c2 --- /dev/null +++ b/docs/ui-modernisation/evidence/letter-restore-dialog/red-corrected.json @@ -0,0 +1 @@ +{"numFailedTestSuites":1,"numFailedTests":2,"numPassedTestSuites":0,"numPassedTests":0,"numPendingTestSuites":0,"numPendingTests":56,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":1,"numTotalTests":58,"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":1794936292778,"success":false,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"frozen attachment size follows UI language without changing stored package data","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"frozen attachment size follows UI language without changing stored package data"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"[P7-11 tailoring] generated metadata and known history enums follow locale while evidence, unknown metadata and dirty prose stay verbatim","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"[P7-11 tailoring] generated metadata and known history enums follow locale while evidence, unknown metadata and dirty prose stay verbatim"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"document package history is read-only and separates captured notes from answers","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"document package history is read-only and separates captured notes from answers"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"cv section shows the attached variant and the ones available to attach","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"cv section shows the attached variant and the ones available to attach"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attaching a different variant only re-points the application","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"attaching a different variant only re-points the application"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"cv section points at the builder when there are no variants","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"cv section points at the builder when there are no variants"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"tailoring renders suggestions grouped by kind","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"tailoring renders suggestions grouped by kind"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"tailoring asks for a career profile when there is none","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"tailoring asks for a career profile when there is none"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"submitted package capture appends an immutable history entry","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"submitted package capture appends an immutable history entry"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"cover letter loads the current text and its history","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"cover letter loads the current text and its history"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"editing marks the draft dirty and saving sends the new text","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"editing marks the draft dirty and saving sends the new text"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"discarding returns to the saved text","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"discarding returns to the saved text"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"restoring an old version calls the restore endpoint","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"restoring an old version calls the restore endpoint"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an empty cover letter offers the template and an empty history","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"an empty cover letter offers the template and an empty history"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"the empty cover-letter template and rich-text controls follow Bokmål UI language","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"the empty cover-letter template and rich-text controls follow Bokmål UI language"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"AI letter results are discarded when the source changes during generation","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"AI letter results are discarded when the source changes during generation"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter Improve writing uses the existing reviewed action","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"letter Improve writing uses the existing reviewed action"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter Suggest content uses the existing reviewed action","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"letter Suggest content uses the existing reviewed action"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter Grammar check uses the existing reviewed action","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"letter Grammar check uses the existing reviewed action"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter Shorter uses the existing reviewed action","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"letter Shorter uses the existing reviewed action"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"cancelling letter generation ignores its late response","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"cancelling letter generation ignores its late response"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"AI cover letter suggestions use the linked CV and require explicit apply","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"AI cover letter suggestions use the linked CV and require explicit apply"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter AI revalidates its recorded source before applying and refuses a cross-tab source conflict","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"letter AI revalidates its recorded source before applying and refuses a cross-tab source conflict"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter AI language follows the saved document and updates the same local language draft","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"letter AI language follows the saved document and updates the same local language draft"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter AI ignores a late source validation after local edit","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"letter AI ignores a late source validation after local edit"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter AI ignores a late source validation after local cancel","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"letter AI ignores a late source validation after local cancel"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter AI ignores a late source validation after local job change","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"letter AI ignores a late source validation after local job change"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a held letter Save prevents an in-flight AI validation from replacing the submitted snapshot","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"a held letter Save prevents an in-flight AI validation from replacing the submitted snapshot"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"[PRES-W06] rejecting an AI cover letter preserves the saved draft without a write","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"[PRES-W06] rejecting an AI cover letter preserves the saved draft without a write"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a failed load surfaces an error","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"a failed load surfaces an error"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"application answer and recruiter drafts save from the dedicated workspace","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"application answer and recruiter drafts save from the dedicated workspace"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"application package drafts can be cleared without deleting ordinary notes","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"application package drafts can be cleared without deleting ordinary notes"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed cover-letter saving retains editable dirty text and original Save recovery across a live locale change","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"failed cover-letter saving retains editable dirty text and original Save recovery across a live locale change"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed application-answer saving keeps both dirty drafts editable and retries only the original save payload","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"failed application-answer saving keeps both dirty drafts editable and retries only the original save payload"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed CV attachment leaves the current association and selector available for the original explicit action","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"failed CV attachment leaves the current association and selector available for the original explicit action"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"dirty version restore cancels without a write and confirmed held restore appends history exactly once","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"dirty version restore cancels without a write and confirmed held restore appends history exactly once"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"held letter Save submits one snapshot and prevents an AI Apply from replacing its pending draft","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"held letter Save submits one snapshot and prevents an AI Apply from replacing its pending draft"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"held AI generation locks its controls and preserves captured action attribution after a later action selection","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"held AI generation locks its controls and preserves captured action attribution after a later action selection"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"capture, detail and download failures keep owned frozen history and recover only through their original explicit actions","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"capture, detail and download failures keep owned frozen history and recover only through their original explicit actions"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"all five asset read owners expose GET-only recovery without false empty history or locale refetch","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"all five asset read owners expose GET-only recovery without false empty history or locale refetch"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"keyed job changes stop a late CV copy from attaching and never reuse another job's saved-copy recovery","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"keyed job changes stop a late CV copy from attaching and never reuse another job's saved-copy recovery"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"keyed job changes keep job B's answer drafts and callbacks independent of job A's late save","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"keyed job changes keep job B's answer drafts and callbacks independent of job A's late save"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a parent refresh cannot attach a newer revision to dirty application drafts","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"a parent refresh cannot attach a newer revision to dirty application drafts"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"cover-letter rejection (409) retains draft and source revision without a fresh read","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"cover-letter rejection (409) retains draft and source revision without a fresh read"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"cover-letter rejection (0) retains draft and source revision without a fresh read","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"cover-letter rejection (0) retains draft and source revision without a fresh read"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter text preview shows unsaved formatting, hides the inactive narrow pane and never saves on switching","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"letter text preview shows unsaved formatting, hides the inactive narrow pane and never saves on switching"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter text preview renders unsafe Markdown as inert text","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"letter text preview renders unsafe Markdown as inert text"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter preview retains the draft after cancelled restore and failed save","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"pending","title":"letter preview retains the draft after cancelled restore and failed save"},{"ancestorTitles":[],"duration":1009,"failing":false,"failureDetails":[{"name":"TestingLibraryElementError"}],"failureMessages":["TestingLibraryElementError: Unable to find an accessible element with the role \"dialog\" and name \"Gjenopprette lagret versjon?\"\n\nHere are the accessible roles:\n\n presentation:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n dialog:\n\n Name \"Restore saved version?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"Restore saved version?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n region:\n\n Name \"Restore saved version?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n button:\n\n Name \"Cancel\":\n \u001b[36m\u001b[39m\n\n Name \"Discard and restore\":\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[36m\u001b[39m\n \u001b[0mSøknadsbrev\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mHver lagring oppretter en versjon, slik at manuelt redigert tekst aldri overskrives uten gjennomgang.\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[0mInnhold lastet.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mSkriv\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mForhåndsvisning\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[0mDokumentdetaljer\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mKopier kontakt fra CV\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mBruk CV-design\u001b[0m\n ...\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\\application-assets.test.tsx:974:17)"],"fullName":"pending letter history restore follows en without losing text, design or revision","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936296489,"status":"failed","title":"pending letter history restore follows en without losing text, design or revision"},{"ancestorTitles":[],"duration":753,"failing":false,"failureDetails":[{"name":"TestingLibraryElementError"}],"failureMessages":["TestingLibraryElementError: Unable to find an accessible element with the role \"dialog\" and name \"Restore saved version?\"\n\nHere are the accessible roles:\n\n presentation:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n dialog:\n\n Name \"Gjenopprette lagret versjon?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"Gjenopprette lagret versjon?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n region:\n\n Name \"Gjenopprette lagret versjon?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n button:\n\n Name \"Avbryt\":\n \u001b[36m\u001b[39m\n\n Name \"Forkast og gjenopprett\":\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[36m\u001b[39m\n \u001b[0mCover Letter\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mEvery save creates a version, so manually edited text is never overwritten without review.\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[0mContent loaded.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mWrite\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mPreview\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[0mDocument details\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mCopy contact from CV\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mMatch CV design\u001b[0m\n ...\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\\application-assets.test.tsx:974:17)"],"fullName":"pending letter history restore follows nb without losing text, design or revision","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936297518,"status":"failed","title":"pending letter history restore follows nb without losing text, design or revision"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"keyed letter job changes discard the old preview and ignore its late save","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936298272,"status":"pending","title":"keyed letter job changes discard the old preview and ignore its late save"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter workspace at 768px keeps one editor and its preview available without writing","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936298272,"status":"pending","title":"letter workspace at 768px keeps one editor and its preview available without writing"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter workspace at 1000px keeps one editor and its preview available without writing","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936298272,"status":"pending","title":"letter workspace at 1000px keeps one editor and its preview available without writing"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter workspace at 1440px keeps one editor and its preview available without writing","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936298272,"status":"pending","title":"letter workspace at 1440px keeps one editor and its preview available without writing"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter preview controls follow Bokmål without translating or saving the local draft","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936298272,"status":"pending","title":"letter preview controls follow Bokmål without translating or saving the local draft"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"document settings are dirty local drafts until explicit Save, and Discard restores saved details","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936298272,"status":"pending","title":"document settings are dirty local drafts until explicit Save, and Discard restores saved details"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter PDF awaits durable settings and blocks duplicate exports; failed save never exports","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936298272,"status":"pending","title":"letter PDF awaits durable settings and blocks duplicate exports; failed save never exports"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"letter document preview ignores stale responses, keeps last good HTML on failure and retries without saving","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794936298272,"status":"pending","title":"letter document preview ignores stale responses, keeps last good HTML on failure and retries without saving"}],"endTime":1794936298298,"message":" ● pending letter history restore follows en without losing text, design or revision\n\n TestingLibraryElementError: Unable to find an accessible element with the role \"dialog\" and name \"Gjenopprette lagret versjon?\"\n\n Here are the accessible roles:\n\n presentation:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n dialog:\n\n Name \"Restore saved version?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"Restore saved version?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n region:\n\n Name \"Restore saved version?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n button:\n\n Name \"Cancel\":\n \u001b[36m\u001b[39m\n\n Name \"Discard and restore\":\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[36m\u001b[39m\n \u001b[0mSøknadsbrev\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mHver lagring oppretter en versjon, slik at manuelt redigert tekst aldri overskrives uten gjennomgang.\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[0mInnhold lastet.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mSkriv\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mForhåndsvisning\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[0mDokumentdetaljer\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mKopier kontakt fra CV\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mBruk CV-design\u001b[0m\n ...\n\n 972 | const reads = mockedApi.get.mock.calls.length;\n 973 | changeLanguage(to);\n > 974 | expect(screen.getByRole('dialog', { name: copy('assetsRestoreDiscardTitle') })).toBe(dialog);\n | ^\n 975 | expect(dialog).toHaveAccessibleDescription(copy('assetsRestoreDiscardMessage'));\n 976 | expect(within(dialog).getByRole('button', { name: copy('assetsRestoreConfirm') })).toBeEnabled();\n 977 | expect(mockedApi.post).not.toHaveBeenCalled(); expect(mockedApi.put).not.toHaveBeenCalled();\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/application-assets.test.tsx:974:17)\n\n ● pending letter history restore follows nb without losing text, design or revision\n\n TestingLibraryElementError: Unable to find an accessible element with the role \"dialog\" and name \"Restore saved version?\"\n\n Here are the accessible roles:\n\n presentation:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n dialog:\n\n Name \"Gjenopprette lagret versjon?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"Gjenopprette lagret versjon?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n region:\n\n Name \"Gjenopprette lagret versjon?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n button:\n\n Name \"Avbryt\":\n \u001b[36m\u001b[39m\n\n Name \"Forkast og gjenopprett\":\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[36m\u001b[39m\n \u001b[0mCover Letter\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mEvery save creates a version, so manually edited text is never overwritten without review.\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[0mContent loaded.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mWrite\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mPreview\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[0mDocument details\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mCopy contact from CV\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mMatch CV design\u001b[0m\n ...\n\n 972 | const reads = mockedApi.get.mock.calls.length;\n 973 | changeLanguage(to);\n > 974 | expect(screen.getByRole('dialog', { name: copy('assetsRestoreDiscardTitle') })).toBe(dialog);\n | ^\n 975 | expect(dialog).toHaveAccessibleDescription(copy('assetsRestoreDiscardMessage'));\n 976 | expect(within(dialog).getByRole('button', { name: copy('assetsRestoreConfirm') })).toBeEnabled();\n 977 | expect(mockedApi.post).not.toHaveBeenCalled(); expect(mockedApi.put).not.toHaveBeenCalled();\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/application-assets.test.tsx:974:17)\n","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\application-assets.test.tsx","startTime":1794936293612,"status":"failed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/letter-restore-dialog/red-corrected.json.gz b/docs/ui-modernisation/evidence/letter-restore-dialog/red-corrected.json.gz new file mode 100644 index 0000000000000000000000000000000000000000..ba757a7616e5f525d6d88ea63bfeb6b50d9e219c GIT binary patch literal 6687 zcmV+)8sOz0iwFP!000023hiCpcH20TzTc<7(M{rWOh=OcVrOS&6DR4;bZ0gvNq6r# zt=Sxigd|!d!3IFvN>4w-T<#O}JM4YG$v(+e0i;C9mP}Iokv&Xz9E&2sszOzv3cy$R zwG%}CTk3ku`OKvH6uFAY&UtTt`8r(c>q{S~l*_kvSFSHEvA}VI@g4UrzJP1TC;H;Y zC{V7?-Uz|P?MFUyhc7k$nJenurg(lC8-Bju;UNpYrGew&EkFN#zas-0$_ZDU^ItpE zahRhUbX@0$(4mTT&PUXfY`-%C)+3Sn43dy9=MU(QADPdu?zr&1E0uYhzWPJpQ)N%m zH=3833+XQvlCOV@0=Q^TgB&^NA{3)6`N#rrzvLF9Qx zXwb2%LVV2>{1QJCUwaP(&~ehx2p<0%MN&H>!N0PAP^G9n@mZjVbiXn(;-1H^CHdhU z@n|rP;8}9*stJ!2u_tf^-b;`^=8%xuQ~Vx;K|A{$H@M=qrqig27k^5qjQHl5qyFR zXzcG~%mOA*!H5qHAwdL8i%bK49gvBOM9l~TamtuOf}-|-w+SdLVOOrhfcSk91?HKh zW*k?j83_fK40xwAa>c|DxbmCr!rc)=ot^J+JJR}^s9(aDD~Vv#v3TIkG`*6A6r~}F zO+yu-$_5-ig6{iphrDJ&Hrs_|GgD_r*jGT5jja+Gw!mko35)#+5O+m|OMx+@9lziK z&`PhMO*#ZsQ#`)4S^1a5L!DwbuS7RY!6HW^CQyG8QnkJaW`*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>Y+yBAb^z7#5b zRJ!xJx7x>&&2-B5h*|K9WfXoYao>M_4}Cwjxy(XPWfz00vLIAxMWKp0w0A);!M(D$ z$j?+(*R!!eRArTmwks613n<&IibfTO*p>?it*C%htwp4^L8NAqW<^8H?i7?NyQoxg z*jGMKV}Tks{oM7Xs;e>esOn7RKLI^|tJ_z;DZk`Y1&GPq#*@wpF%h{JcU%y8T&tPp zu0&N~HL8bRkt&yQ<|sK-`!;&_Dr|$Y#+ek5QXx*0f*`d-t6_od>C?u{R zC@!G$Dc|uO4_zk66lb%hSV4;s0Kcdz_{vej1wkmR_-!bNFX!Bg516#Kg$uCwqG-ah#;v zN1Un~%wLn@*{H^5o-eSlnDA5VzR}=V=V|(dr|B0ix-H~V?HvSM#mv0|pG6-GZ-M@b!*?uQ%6As2GBM#~J9w@ru(Hgx!L$9|H(G zzezrRDE4$mu-H|(%aS}?3(0OF*)1fyg=Cip$zBtp)sM-3c{LO>)nc++Om^v*?6+J@ zv8o;)Yv4~jzPGUK7M9(@vRhd8qlIPn{1%tp;<6t+E_dWLJRtocBSC z$*uqv^OKhBgU4i}lC+@grp&WNWmjmSA7bIQVC)u*-GZ@q4~(5FKG_X4c7d?Ag=4pH z>~i7Q@!^2+L76QayM<%7;LsKvngtws!NZw8NtxOR#^!#D#%>L+HMr^w?mboZ1dNPi zgJZXl>=u&ULb7)qlHJ+w1mP{{e}Jn|Vq~0RUBnCJq1q literal 0 HcmV?d00001 diff --git a/docs/ui-modernisation/evidence/letter-restore-dialog/red-corrected.txt b/docs/ui-modernisation/evidence/letter-restore-dialog/red-corrected.txt new file mode 100644 index 00000000..6e1f8751 --- /dev/null +++ b/docs/ui-modernisation/evidence/letter-restore-dialog/red-corrected.txt @@ -0,0 +1,485 @@ +FAIL src/application-assets.test.tsx + ● pending letter history restore follows en without losing text, design or revision + + TestingLibraryElementError: Unable to find an accessible element with the role "dialog" and name "Gjenopprette lagret versjon?" + + Here are the accessible roles: + + presentation: + + Name "": + \u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mDocument details\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mCopy contact from CV\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mMatch CV design\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m 969 | const opener = screen.getByRole('button', { name: copy('assetsRestoreVersion', { version: 1 }) });\n | ^\n 970 | act(() => opener.focus()); fireEvent.click(opener);\n 971 | const dialog = await screen.findByRole('dialog', { name: copy('assetsRestoreDiscardTitle') });\n 972 | const reads = mockedApi.get.mock.calls.length;\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/application-assets.test.tsx:969:25)\n\n ● pending letter history restore follows nb without losing text, design or revision\n\n TestingLibraryElementError: Unable to find an accessible element with the role \"button\" and name \"Gjenopprett denne versjonen\"\n\n Here are the accessible roles:\n\n region:\n\n Name \"Søknadsbrev\":\n \u001b[36m\u001b[39m\n\n Name \"AI-skriveassistent\":\n \u001b[36m\u001b[39m\n\n Name \"Versjonshistorikk\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n banner:\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 heading:\n\n Name \"Søknadsbrev\":\n \u001b[36m\u001b[39m\n\n Name \"Dokumentdetaljer\":\n \u001b[36m\u001b[39m\n\n Name \"AI-skriveassistent\":\n \u001b[36m\u001b[39m\n\n Name \"Versjonshistorikk\":\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 Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n group:\n\n Name \"Søknadsbrev\":\n \u001b[36m\u001b[39m\n\n Name \"AI-skriveassistent\":\n \u001b[36m\u001b[39m\n\n Name \"Versjonshistorikk\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n status:\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 tablist:\n\n Name \"Søknadsbrev\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n tab:\n\n Name \"Skriv\":\n \u001b[36m\u001b[39m\n\n Name \"Forhåndsvisning\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n tabpanel:\n\n Name \"Skriv\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n button:\n\n Name \"Kopier kontakt fra CV\":\n \u001b[36m\u001b[39m\n\n Name \"Bruk CV-design\":\n \u001b[36m\u001b[39m\n\n Name \"Velg brevmal\":\n \u001b[36m\u001b[39m\n\n Name \"Fet\":\n \u001b[36m\u001b[39m\n\n Name \"Kursiv\":\n \u001b[36m\u001b[39m\n\n Name \"Understrek\":\n \u001b[36m\u001b[39m\n\n Name \"Lenke\":\n \u001b[36m\u001b[39m\n\n Name \"Forbedre teksten\":\n \u001b[36m\u001b[39m\n\n Name \"Foreslå innhold\":\n \u001b[36m\u001b[39m\n\n Name \"Grammatikkontroll\":\n \u001b[36m\u001b[39m\n\n Name \"Kortere\":\n \u001b[36m\u001b[39m\n\n Name \"Lagre\":\n \u001b[36m\u001b[39m\n\n Name \"Forkast endringer\":\n \u001b[36m\u001b[39m\n\n Name \"Eksporter brev som PDF\":\n \u001b[36m\u001b[39m\n\n Name \"Start fra mal\":\n \u001b[36m\u001b[39m\n\n Name \"Generer\":\n \u001b[36m\u001b[39m\n\n Name \"Gjenopprett versjon 1\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n combobox:\n\n Name \"Språk i brevet\":\n \u001b[36m\u001b[39m\n\n Name \"Handling\":\n \u001b[36m\u001b[39m\n\n Name \"Tone\":\n \u001b[36m\u001b[39m\n\n Name \"Dokumentspråk\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n textbox:\n\n Name \"Avsendernavn\":\n \u001b[36m\u001b[39m\n\n Name \"Yrkestittel\":\n \u001b[36m\u001b[39m\n\n Name \"E-post\":\n \u001b[36m\u001b[39m\n\n Name \"Telefon\":\n \u001b[36m\u001b[39m\n\n Name \"Sted\":\n \u001b[36m\u001b[39m\n\n Name \"Mottaker\":\n \u001b[36m\u001b[39m\n\n Name \"Emne\":\n \u001b[36m\u001b[39m\n\n Name \"Dato\":\n \u001b[36m\u001b[39m\n\n Name \"Søknadsbrev\":\n \u001b[36m\u001b[39m\n\n Name \"Tilleggsinstruksjoner\":\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[36m\u001b[39m\n \u001b[0mSøknadsbrev\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mHver lagring oppretter en versjon, slik at manuelt redigert tekst aldri overskrives uten gjennomgang.\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[0mInnhold lastet.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mSkriv\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mForhåndsvisning\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[0mDokumentdetaljer\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mKopier kontakt fra CV\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mBruk CV-design\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m 969 | const opener = screen.getByRole('button', { name: copy('assetsRestoreVersion', { version: 1 }) });\n | ^\n 970 | act(() => opener.focus()); fireEvent.click(opener);\n 971 | const dialog = await screen.findByRole('dialog', { name: copy('assetsRestoreDiscardTitle') });\n 972 | const reads = mockedApi.get.mock.calls.length;\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/application-assets.test.tsx:969:25)\n","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\application-assets.test.tsx","startTime":1794936275098,"status":"failed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/letter-restore-dialog/red.json.gz b/docs/ui-modernisation/evidence/letter-restore-dialog/red.json.gz new file mode 100644 index 0000000000000000000000000000000000000000..0c30d49de5ddd875dfa6fe8df120b85d55154568 GIT binary patch literal 13856 zcmb{2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zifa47WiiA? zjJjsPQU*{0v$B^*aMQy*cSDP&Y?zhM#eGn#I%ahSRMAw>KZH{JKM1XIyntoIjvILf zS1uy1hcq1V>D~Ok6=1N!=Z~02=HU|RArA4$2Wbr$+ZSKye1g6}JsV4XrP!--G{^hD z6zv?@i4RBoN6}!A^QT<M#n^U+Hg3`g!j;&+o0^~2*>JS}a$uJXxT*tuOkuJywe-e)L7 zr?HP%FG@#Zb8>rlV#BzvoXL}7b9i11Q#|lo#bPgEm}U6vr=zBdR`)@EY7>E8U{{1b zM@T`ytPK8tdUW>x^(gJZe?2Ple?98+KOPPK|HGr6fslUc-#6AR75{2F@O(#=vVqiP zY4MQu`Ldo{O*Nmi#p}OqKvZPK_cq|%^yDlgG9LKf5lQdlfk$6;Y#^6ugkOV6|IeDw ztfx3+gS$WsXRz{oJfG4~z!@|}d%Kn(GNO^t8^5Bg?0u*6yk$<)v^;i}xwspZr?G@f`~#z(4*M<(wP3 literal 0 HcmV?d00001 diff --git a/docs/ui-modernisation/evidence/letter-restore-dialog/red.txt b/docs/ui-modernisation/evidence/letter-restore-dialog/red.txt new file mode 100644 index 00000000..55305763 --- /dev/null +++ b/docs/ui-modernisation/evidence/letter-restore-dialog/red.txt @@ -0,0 +1,1247 @@ +FAIL src/application-assets.test.tsx + ● pending letter history restore follows en without losing text, design or revision + + TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "Restore this version" + + Here are the accessible roles: + + region: + + Name "Cover Letter": +
+ + Name "AI writing assistant": +
+ + Name "Version history": +
+ + -------------------------------------------------- + banner: + + Name "": +
+ + Name "": +
+ + Name "": +
+ + -------------------------------------------------- + heading: + + Name "Cover Letter": +

+ + Name "Document details": +

+ + Name "AI writing assistant": +

+ + Name "Version history": +

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

+ + Name "": +

+ + Name "": +

+ + Name "": +

+ + -------------------------------------------------- + group: + + Name "Cover Letter": +

+ + Name "AI writing assistant": +
+ + Name "Version history": +
+ + -------------------------------------------------- + status: + + Name "": + + + Name "": + + + Name "": + + + -------------------------------------------------- + tablist: + + Name "Letter workspace": +
+ + -------------------------------------------------- + tab: + + Name "Write": +