diff --git a/docs/ui-modernisation/CAREER_RESTORE_LIFETIME.md b/docs/ui-modernisation/CAREER_RESTORE_LIFETIME.md
new file mode 100644
index 00000000..169eccea
--- /dev/null
+++ b/docs/ui-modernisation/CAREER_RESTORE_LIFETIME.md
@@ -0,0 +1,13 @@
+# Career Profile history restore lifetime
+
+16 November 2026. Source `fb3936cb`, after independent mail source `2043f992`, branch `codex/a3-ui-10`.
+
+Restore/history completion now captures the existing session cookie/context/invalidation contract and mounted generation. A stale restore response cannot apply state, start history refresh or notify a different workflow. History reads likewise discard stale completions. Success uses the existing current-language translation ref. The local-provider, dirty-profile, mutation-pending and expected revision guards remain; canonical ownership, import comparisons, history and revision/conflict payloads are preserved. No schema, parser/import engine, renderer, physical PDF or canonical writer was replaced.
+
+PASSED:56 distinct cases across career-import-review23, career-editor and career-workspace-page33. Zero failed/skipped in final run. Initial seven tests failed, but three mounted assertions matched existing page alerts as well as toasts; the intermediate misleadingly named green receipt is20 pass/3 harness assertion failures. Assertions were corrected to translated feedback. A separate corrected red run against original HEAD Career source reproduced all seven failures (16 filtered cases). Fixed source was restored byte-for-byte in finally and its hashes independently checked by root against the worker report. The final56-case affected run passed; earlier23-case counts overlap56.
+
+Root reviewed the source/tests and final native JSON, checked both source hashes, and ran shared project TypeScript and scoped lint on four changed mail/Career files: PASSED after correcting root's unrelated Gmail test query option. Whitespace check passed. AST refresh PASSED19,237 nodes/47,299 edges. Results are fixture-based component/API-helper qualification, not real authentication/database or integrated security testing.
+
+No new export/browser run: prior Next build remains FAILED and advisory qualification open. Other Career mutations/import lifetime, original-user-profile fallback, physical rendering, native language/device/AT and final A3/security/release gates remain separate. Deferred CV-import engine overhaul remains excluded.
+
+Source, canonical and exact gzip receipts: [SOURCE_RECEIPTS.json](evidence/career-restore-lifetime/SOURCE_RECEIPTS.json).
diff --git a/docs/ui-modernisation/GMAIL_IMPORT_LIFETIME.md b/docs/ui-modernisation/GMAIL_IMPORT_LIFETIME.md
new file mode 100644
index 00000000..ed5d7f2d
--- /dev/null
+++ b/docs/ui-modernisation/GMAIL_IMPORT_LIFETIME.md
@@ -0,0 +1,11 @@
+# Gmail message and thread import completion lifetime
+
+16 November 2026. Source `2043f992`, based on `8f9cf70d`, branch `codex/a3-ui-10`.
+
+Six deferred fixtures reproduced late success/failure feedback and extra candidate reads after leaving, plus old-language failures in message/thread imports. Both paths now bind completion to the existing active job/generation, check after POST and each awaited read, and guard feedback/loading cleanup. New job setup clears old import loading IDs. The current translation ref supplies both nested thread count copy and message feedback. Active payloads, selected message/thread IDs, current-job read order and already-linked handling remain.
+
+PASSED:90 distinct cases in five mail suites; earlier84 overlaps90. Final Gmail26 rechecked after removing a test query option unsupported by TypeScript; overlaps90. TypeScript initially FAILED on that option; final shared four-file lint and project TypeScript PASSED. Whitespace check PASSED. Independent read-only source review found no actionable defect; it did not execute tests. Same-component job switching and departure during follow-up reads were reviewed statically, not specifically exercised by the six added cases.
+
+Actual integration AST refresh PASSED after both mail/Career changes:19,237 nodes/47,299 edges, via E output. No new build/browser/provider/model execution: prior build remains failed on the unqualified Next security warning. Already accepted server work is not rolled back. Remaining relink/unlink/disconnect/confirmed-delete/status/choice and real-service/native workflows are not included. No final security/A3/Phase10/release acceptance.
+
+Source, canonical and exact gzip receipts: [SOURCE_RECEIPTS.json](evidence/gmail-import-lifetime/SOURCE_RECEIPTS.json).
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/SOURCE_RECEIPTS.json b/docs/ui-modernisation/evidence/career-restore-lifetime/SOURCE_RECEIPTS.json
new file mode 100644
index 00000000..793f77e0
--- /dev/null
+++ b/docs/ui-modernisation/evidence/career-restore-lifetime/SOURCE_RECEIPTS.json
@@ -0,0 +1,110 @@
+{
+ "sourceCommit": "fb3936cb1d9ac6dbbec94ec9ba91b9982aa104d0",
+ "sourcesLfSha256": {
+ "job-tracker-ui/src/views/CareerProfilePage.tsx": "fd616e59c1297d9cd1c4695a47013f801027552adf62eebf815fe05359f98182",
+ "job-tracker-ui/src/career-import-review.test.tsx": "88f5f99240b49ec4f4add576327d4139ea4e77b2c7da716d470bd6d2aa6add21",
+ "job-tracker-ui/src/sessionBoundary.ts": "09edca77c98294818d2ad0c409ce595f1b6ca0c1f60419fc1078b70f96f5b7b9"
+ },
+ "evidenceLfSha256": {
+ "red.log": "7c79e580969e5b3607e45aa0c7ef642ee975573d760de132af6990e62251b427",
+ "red-corrected.log": "fe9e6a7cc70b0338575a7f74e4c895b5dc26dc5da4beb8829273371309c49d88",
+ "red-corrected.json": "77b1eff2aaa0a90467848a1b55e122e3684885cce705c9b95160979b53175605",
+ "red-corrected-process.json": "53ee869e4f32711880c45f8eebc5efcc684cc48abe361c6f838b5d434898c4ec",
+ "green.log": "124e41e6c30fb68a00a818cc9a7e071bb29f5bad0f79da4ec952df0e022d5d46",
+ "green.json": "52c4db272e4efee4b7c0b5d79a1da4099e76ae0789819c139dd2effdf932a9b9",
+ "affected.log": "6b39c24d91ec0b60595a73262f4b8df60c47561c907a6987312325a44e56ba7f",
+ "affected.json": "a6aafa341bdd27f8cda8cf5f8727e165e107507fd8bc3bf8493de818b2e1831b",
+ "result-summary.json": "a53e68030ba9da3d70fe829803beb129131bc5a21a4ea228578f60cefcda7b35",
+ "mail-career-types.txt": "668d030a70c5e0ba2cfdf7691b33adb8a2388e0a6c6f1663b11c696594f186f9",
+ "mail-career-types-final.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "mail-career-lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "mail-career-lint-final.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "mail-career-graph.txt": "d63fcb6d0c800e26195b173cef904a33fb4e85b0f9a859a2bcd54f5b141bca16"
+ },
+ "nativeReceipts": [
+ {
+ "path": "red.log",
+ "gzipPath": "red.log.gz",
+ "rawSha256": "7c79e580969e5b3607e45aa0c7ef642ee975573d760de132af6990e62251b427",
+ "gzipSha256": "c0132969f53c002d6ffcc5c2677847cc48c57339cffdec8909f97a2b6224aee3"
+ },
+ {
+ "path": "red-corrected.log",
+ "gzipPath": "red-corrected.log.gz",
+ "rawSha256": "fe9e6a7cc70b0338575a7f74e4c895b5dc26dc5da4beb8829273371309c49d88",
+ "gzipSha256": "3bac520ccfb717527c51ef3231b1bb5ba38bcd87447e81ad26df23d67f63f93a"
+ },
+ {
+ "path": "red-corrected.json",
+ "gzipPath": "red-corrected.json.gz",
+ "rawSha256": "77b1eff2aaa0a90467848a1b55e122e3684885cce705c9b95160979b53175605",
+ "gzipSha256": "df4be9a89e1a01cbae3994b5109f48fcbc5fbade0b7c6d4f74b736f7bff7f771"
+ },
+ {
+ "path": "red-corrected-process.json",
+ "gzipPath": "red-corrected-process.json.gz",
+ "rawSha256": "54ae8cc6daeb0279434d8049d8d0360481307cc057365149b5517f4e8897a9bd",
+ "gzipSha256": "4dc6fb7839528944bcec521793c620584027bb23f54d4d3d3683cebe5b6bffc6"
+ },
+ {
+ "path": "green.log",
+ "gzipPath": "green.log.gz",
+ "rawSha256": "3a970b8ba3e5e0014721b65211641f83367d432e199ef4cc36ff7f49d200fd59",
+ "gzipSha256": "e9ff936273d7f3b5eb415052e71d99b17097078bb1029662effb10b702844fee"
+ },
+ {
+ "path": "green.json",
+ "gzipPath": "green.json.gz",
+ "rawSha256": "52c4db272e4efee4b7c0b5d79a1da4099e76ae0789819c139dd2effdf932a9b9",
+ "gzipSha256": "e5c7f112ba96d4d5da0dbc5ee1473c56634fbc571dba8a6d30e13b61c627b76b"
+ },
+ {
+ "path": "affected.log",
+ "gzipPath": "affected.log.gz",
+ "rawSha256": "ef032335177ca1900706916898bd6f0ae0d68b5b047e7e42519b92aa5e2d69d6",
+ "gzipSha256": "4d399a96be58256322f736abdd778edd3d0781069f52528900efd815fab52f18"
+ },
+ {
+ "path": "affected.json",
+ "gzipPath": "affected.json.gz",
+ "rawSha256": "a6aafa341bdd27f8cda8cf5f8727e165e107507fd8bc3bf8493de818b2e1831b",
+ "gzipSha256": "c8bde56fba99b0f9ca24b999a7a6e1bfc252f3d9caa1ba284fe5bb0496fb9316"
+ },
+ {
+ "path": "result-summary.json",
+ "gzipPath": "result-summary.json.gz",
+ "rawSha256": "98f30476ce70af7e5623b65a9340f288faab85f56fbee6039971b83f465748d9",
+ "gzipSha256": "a74fdc8285474208a6b7534439a0a1247452d15325b5103b3217dd7c857c3716"
+ },
+ {
+ "path": "mail-career-types.txt",
+ "gzipPath": "mail-career-types.txt.gz",
+ "rawSha256": "a7b6cec2440a957fbf01b8231c7ad78a187f1e9fa2eb1cebdc2afb2260c6f4ca",
+ "gzipSha256": "b7ab690ac4054e27ed789f1ffa862da48719c0bf20fc8e61001cc49b5e75a8ed"
+ },
+ {
+ "path": "mail-career-types-final.txt",
+ "gzipPath": "mail-career-types-final.txt.gz",
+ "rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
+ },
+ {
+ "path": "mail-career-lint.txt",
+ "gzipPath": "mail-career-lint.txt.gz",
+ "rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
+ },
+ {
+ "path": "mail-career-lint-final.txt",
+ "gzipPath": "mail-career-lint-final.txt.gz",
+ "rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
+ },
+ {
+ "path": "mail-career-graph.txt",
+ "gzipPath": "mail-career-graph.txt.gz",
+ "rawSha256": "597457056538d1fc8fe94db2b876be1e0b1a4a79ff66284679ace278988b2b5d",
+ "gzipSha256": "183e31fb4e7c4d210485000dd6359cde6c61b2447c6107b92ac7627d768afb0e"
+ }
+ ]
+}
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/affected.json b/docs/ui-modernisation/evidence/career-restore-lifetime/affected.json
new file mode 100644
index 00000000..62fa9e80
--- /dev/null
+++ b/docs/ui-modernisation/evidence/career-restore-lifetime/affected.json
@@ -0,0 +1 @@
+{"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":3,"numPassedTests":56,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":3,"numTotalTests":56,"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":1794865051068,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":1107,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"disabled CV worker upload gives actionable en recovery without changing the profile","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794865055443,"status":"passed","title":"disabled CV worker upload gives actionable en recovery without changing the profile"},{"ancestorTitles":[],"duration":836,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"disabled CV worker upload gives actionable nb recovery without changing the profile","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794865056550,"status":"passed","title":"disabled CV worker upload gives actionable nb recovery without changing the profile"},{"ancestorTitles":[],"duration":1146,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed history reads have a scoped Retry that preserves unsaved source fields","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794865057386,"status":"passed","title":"failed history reads have a scoped Retry that preserves unsaved source fields"},{"ancestorTitles":[],"duration":1183,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a dirty canonical profile cannot be replaced through history restore","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794865058532,"status":"passed","title":"a dirty canonical profile cannot be replaced through history restore"},{"ancestorTitles":[],"duration":1102,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"each failed comparison can retry its own run without refetching canonical data or losing another comparison","invocations":1,"location":null,"numPassingAsserts":10,"retryReasons":[],"startAt":1794865059715,"status":"passed","title":"each failed comparison can retry its own run without refetching canonical data or losing another comparison"},{"ancestorTitles":[],"duration":691,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"review shows actual current and imported values and discloses fields outside the comparison","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794865060817,"status":"passed","title":"review shows actual current and imported values and discloses fields outside the comparison"},{"ancestorTitles":[],"duration":1087,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"selecting then deselecting low-confidence data sends the explicit empty selection","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794865061508,"status":"passed","title":"selecting then deselecting low-confidence data sends the explicit empty selection"},{"ancestorTitles":[],"duration":1638,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"held acceptance locks review choices and all canonical editors and prevents duplicate or overlapping writes","invocations":1,"location":null,"numPassingAsserts":13,"retryReasons":[],"startAt":1794865062595,"status":"passed","title":"held acceptance locks review choices and all canonical editors and prevents duplicate or overlapping writes"},{"ancestorTitles":[],"duration":1418,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed acceptance keeps the chosen stable IDs and shows durable translated recovery without automatically resending","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794865064233,"status":"passed","title":"failed acceptance keeps the chosen stable IDs and shows durable translated recovery without automatically resending"},{"ancestorTitles":[],"duration":1728,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"discarding an import preserves unsaved structured and raw drafts and does not reload the canonical profile","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794865065651,"status":"passed","title":"discarding an import preserves unsaved structured and raw drafts and does not reload the canonical profile"},{"ancestorTitles":[],"duration":1473,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"saving canonical changes refreshes history and comparisons and clears choices made against the earlier source","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794865067379,"status":"passed","title":"saving canonical changes refreshes history and comparisons and clears choices made against the earlier source"},{"ancestorTitles":[],"duration":1776,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a failed restore keeps the original source and known history with an explicit retry","invocations":1,"location":null,"numPassingAsserts":10,"retryReasons":[],"startAt":1794865068852,"status":"passed","title":"a failed restore keeps the original source and known history with an explicit retry"},{"ancestorTitles":[],"duration":1670,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a pending history restore reports success in the current language","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794865070628,"status":"passed","title":"a pending history restore reports success in the current language"},{"ancestorTitles":[],"duration":1225,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an unmounted restore ignores a late POST resolve with a surviving toast provider","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794865072298,"status":"passed","title":"an unmounted restore ignores a late POST resolve with a surviving toast provider"},{"ancestorTitles":[],"duration":1336,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an unmounted restore ignores a late POST reject with a surviving toast provider","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794865073523,"status":"passed","title":"an unmounted restore ignores a late POST reject with a surviving toast provider"},{"ancestorTitles":[],"duration":1292,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a restore cannot continue after its session is invalidated","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794865074860,"status":"passed","title":"a restore cannot continue after its session is invalidated"},{"ancestorTitles":[],"duration":1364,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a restore cannot continue after its session is changed","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794865076152,"status":"passed","title":"a restore cannot continue after its session is changed"},{"ancestorTitles":[],"duration":1844,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a restore history refresh ignores a late resolve after unmount","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794865077516,"status":"passed","title":"a restore history refresh ignores a late resolve after unmount"},{"ancestorTitles":[],"duration":1558,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a restore history refresh ignores a late reject after unmount","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794865079360,"status":"passed","title":"a restore history refresh ignores a late reject after unmount"},{"ancestorTitles":[],"duration":1396,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an operation cancellation is guarded while pending and leaves an unsaved source draft intact","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794865080918,"status":"passed","title":"an operation cancellation is guarded while pending and leaves an unsaved source draft intact"},{"ancestorTitles":[],"duration":1263,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a failed operation retry stays scoped and only resends the same operation on explicit user retry","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794865082314,"status":"passed","title":"a failed operation retry stays scoped and only resends the same operation on explicit user retry"},{"ancestorTitles":[],"duration":1042,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"Bokmål localizes comparison labels while preserving imported facts named like UI labels or object properties","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794865083577,"status":"passed","title":"Bokmål localizes comparison labels while preserving imported facts named like UI labels or object properties"},{"ancestorTitles":[],"duration":856,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"the known low-confidence contact placeholder is localized","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794865084619,"status":"passed","title":"the known low-confidence contact placeholder is localized"}],"endTime":1794865085476,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\career-import-review.test.tsx","startTime":1794865052055,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":4227,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a locale update retains dirty structured and raw drafts without reading their source again","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794865086273,"status":"passed","title":"a locale update retains dirty structured and raw drafts without reading their source again"},{"ancestorTitles":[],"duration":1925,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"edits en canonical projects and certifications through the existing versioned Save without changing their IDs or sibling facts","invocations":1,"location":null,"numPassingAsserts":12,"retryReasons":[],"startAt":1794865090500,"status":"passed","title":"edits en canonical projects and certifications through the existing versioned Save without changing their IDs or sibling facts"},{"ancestorTitles":[],"duration":1731,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"edits nb canonical projects and certifications through the existing versioned Save without changing their IDs or sibling facts","invocations":1,"location":null,"numPassingAsserts":12,"retryReasons":[],"startAt":1794865092426,"status":"passed","title":"edits nb canonical projects and certifications through the existing versioned Save without changing their IDs or sibling facts"},{"ancestorTitles":[],"duration":3296,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"project and certification add/remove controls keep sibling entries and focus before the explicit canonical Save","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794865094157,"status":"passed","title":"project and certification add/remove controls keep sibling entries and focus before the explicit canonical Save"},{"ancestorTitles":[],"duration":728,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a pending initial read keeps one request and reports its failure in the latest locale without language writes","invocations":1,"location":null,"numPassingAsserts":15,"retryReasons":[],"startAt":1794865097453,"status":"passed","title":"a pending initial read keeps one request and reports its failure in the latest locale without language writes"},{"ancestorTitles":[],"duration":4143,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a held Save locks every editor mutation, raw input and history restore until its snapshot settles","invocations":1,"location":null,"numPassingAsserts":52,"retryReasons":[],"startAt":1794865098182,"status":"passed","title":"a held Save locks every editor mutation, raw input and history restore until its snapshot settles"},{"ancestorTitles":[],"duration":1672,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"two Save activations before React commits pending state send only one canonical PUT","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794865102325,"status":"passed","title":"two Save activations before React commits pending state send only one canonical PUT"},{"ancestorTitles":[],"duration":3821,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a failed Save retains a scoped localized error and draft for retry through the same Save button","invocations":1,"location":null,"numPassingAsserts":22,"retryReasons":[],"startAt":1794865103997,"status":"passed","title":"a failed Save retains a scoped localized error and draft for retry through the same Save button"},{"ancestorTitles":[],"duration":1285,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"the editor exposes named H2/H3 groups and contextual repeated-item remove controls","invocations":1,"location":null,"numPassingAsserts":21,"retryReasons":[],"startAt":1794865107818,"status":"passed","title":"the editor exposes named H2/H3 groups and contextual repeated-item remove controls"},{"ancestorTitles":[],"duration":4805,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"manual edits preserve long-tail data, custom links, opaque IDs and modeled fields without editor controls","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794865109104,"status":"passed","title":"manual edits preserve long-tail data, custom links, opaque IDs and modeled fields without editor controls"},{"ancestorTitles":[],"duration":2887,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a rejected save (409) keeps the draft and its original revision for deliberate retry","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794865113909,"status":"passed","title":"a rejected save (409) keeps the draft and its original revision for deliberate retry"},{"ancestorTitles":[],"duration":3177,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a rejected save (0) keeps the draft and its original revision for deliberate retry","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794865116796,"status":"passed","title":"a rejected save (0) keeps the draft and its original revision for deliberate retry"},{"ancestorTitles":[],"duration":3465,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"consecutive acknowledged career saves advance the revision returned with the saved snapshot","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794865119973,"status":"passed","title":"consecutive acknowledged career saves advance the revision returned with the saved snapshot"},{"ancestorTitles":[],"duration":2728,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a delayed prior lifecycle read cannot replace edits in the current career editor","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794865123438,"status":"passed","title":"a delayed prior lifecycle read cannot replace edits in the current career editor"},{"ancestorTitles":[],"duration":2440,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a read-only provider cannot edit canonical fields or trigger canonical writes","invocations":1,"location":null,"numPassingAsserts":45,"retryReasons":[],"startAt":1794865126166,"status":"passed","title":"a read-only provider cannot edit canonical fields or trigger canonical writes"}],"endTime":1794865128606,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\career-editor.test.tsx","startTime":1794865085488,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":122,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"first-run workspace presents concise profile, import, general CV and job-specific actions","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794865129624,"status":"passed","title":"first-run workspace presents concise profile, import, general CV and job-specific actions"},{"ancestorTitles":[],"duration":71,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"career workspace overview and import state render in Bokmål","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794865129747,"status":"passed","title":"career workspace overview and import state render in Bokmål"},{"ancestorTitles":[],"duration":83,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"returning workspace shows missing profile information and recent general and job-specific CVs","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794865129818,"status":"passed","title":"returning workspace shows missing profile information and recent general and job-specific CVs"},{"ancestorTitles":[],"duration":47,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"workspace exposes the pending_review import state as a resumable action","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794865129901,"status":"passed","title":"workspace exposes the pending_review import state as a resumable action"},{"ancestorTitles":[],"duration":61,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"workspace exposes the queued import state as a resumable action","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794865129948,"status":"passed","title":"workspace exposes the queued import state as a resumable action"},{"ancestorTitles":[],"duration":62,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"workspace exposes the failed import state as a resumable action","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794865130009,"status":"passed","title":"workspace exposes the failed import state as a resumable action"},{"ancestorTitles":[],"duration":49,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"workspace represents loading and profile-load errors without inventing status","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794865130071,"status":"passed","title":"workspace represents loading and profile-load errors without inventing status"},{"ancestorTitles":[],"duration":76,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a settled failed profile read hides the completeness score and retries only through its existing owner","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794865130120,"status":"passed","title":"a settled failed profile read hides the completeness score and retries only through its existing owner"},{"ancestorTitles":[],"duration":78,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an unknown import read cannot claim no imports, completion or first-run guidance","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794865130196,"status":"passed","title":"an unknown import read cannot claim no imports, completion or first-run guidance"},{"ancestorTitles":[],"duration":63,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a failed import read stays unknown and keeps its own retry separate from the profile read","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794865130274,"status":"passed","title":"a failed import read stays unknown and keeps its own retry separate from the profile read"},{"ancestorTitles":[],"duration":126,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed recent-CV reads do not imply first-run and retry the same list without writes","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794865130337,"status":"passed","title":"failed recent-CV reads do not imply first-run and retry the same list without writes"},{"ancestorTitles":[],"duration":4306,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en overview opens every canonical section directly without saving or reloading the profile","invocations":1,"location":null,"numPassingAsserts":59,"retryReasons":[],"startAt":1794865130463,"status":"passed","title":"en overview opens every canonical section directly without saving or reloading the profile"},{"ancestorTitles":[],"duration":4169,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb overview opens every canonical section directly without saving or reloading the profile","invocations":1,"location":null,"numPassingAsserts":59,"retryReasons":[],"startAt":1794865134769,"status":"passed","title":"nb overview opens every canonical section directly without saving or reloading the profile"},{"ancestorTitles":[],"duration":601,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en section indicators retain server scoring and stop claiming saved status for an unsaved draft","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794865138938,"status":"passed","title":"en section indicators retain server scoring and stop claiming saved status for an unsaved draft"},{"ancestorTitles":[],"duration":376,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb section indicators retain server scoring and stop claiming saved status for an unsaved draft","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794865139539,"status":"passed","title":"nb section indicators retain server scoring and stop claiming saved status for an unsaved draft"},{"ancestorTitles":[],"duration":159,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"the parent exposes failed import-read retry without canonical saves or history restores","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794865139915,"status":"passed","title":"the parent exposes failed import-read retry without canonical saves or history restores"},{"ancestorTitles":[],"duration":736,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"changing language in overview cannot refetch or overwrite a dirty canonical draft","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794865140074,"status":"passed","title":"changing language in overview cannot refetch or overwrite a dirty canonical draft"},{"ancestorTitles":[],"duration":463,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visited evidence keeps its draft across sections without an unvisited or repeated list request","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794865140810,"status":"passed","title":"visited evidence keeps its draft across sections without an unvisited or repeated list request"}],"endTime":1794865141274,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\career-workspace-page.test.tsx","startTime":1794865128619,"status":"passed","summary":""}],"wasInterrupted":false}
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/affected.json.gz b/docs/ui-modernisation/evidence/career-restore-lifetime/affected.json.gz
new file mode 100644
index 00000000..3cfb24f6
Binary files /dev/null and b/docs/ui-modernisation/evidence/career-restore-lifetime/affected.json.gz differ
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/affected.log b/docs/ui-modernisation/evidence/career-restore-lifetime/affected.log
new file mode 100644
index 00000000..2011b6ef
--- /dev/null
+++ b/docs/ui-modernisation/evidence/career-restore-lifetime/affected.log
@@ -0,0 +1,7 @@
+> jest --runInBand --no-cache --runTestsByPath src/career-import-review.test.tsx src/career-editor.test.tsx src/career-workspace-page.test.tsx --json --outputFile=E:\Storage\Projects\Active\temp docs\jobjakt-local-build\career-restore-lifetime\affected.json
+Test Suites: 3 passed, 3 total
+Tests: 56 passed, 56 total
+Snapshots: 0 total
+Time: 90.21 s
+Ran all test suites within paths "src/career-import-review.test.tsx", "src/career-editor.test.tsx", "src/career-workspace-page.test.tsx".
+Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\career-restore-lifetime\affected.json
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/affected.log.gz b/docs/ui-modernisation/evidence/career-restore-lifetime/affected.log.gz
new file mode 100644
index 00000000..17e86c49
Binary files /dev/null and b/docs/ui-modernisation/evidence/career-restore-lifetime/affected.log.gz differ
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/green.json b/docs/ui-modernisation/evidence/career-restore-lifetime/green.json
new file mode 100644
index 00000000..37fa2e77
--- /dev/null
+++ b/docs/ui-modernisation/evidence/career-restore-lifetime/green.json
@@ -0,0 +1 @@
+{"numFailedTestSuites":1,"numFailedTests":3,"numPassedTestSuites":0,"numPassedTests":20,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":1,"numTotalTests":23,"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":1794864976673,"success":false,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":1152,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"disabled CV worker upload gives actionable en recovery without changing the profile","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794864981693,"status":"passed","title":"disabled CV worker upload gives actionable en recovery without changing the profile"},{"ancestorTitles":[],"duration":884,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"disabled CV worker upload gives actionable nb recovery without changing the profile","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794864982846,"status":"passed","title":"disabled CV worker upload gives actionable nb recovery without changing the profile"},{"ancestorTitles":[],"duration":1347,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed history reads have a scoped Retry that preserves unsaved source fields","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794864983730,"status":"passed","title":"failed history reads have a scoped Retry that preserves unsaved source fields"},{"ancestorTitles":[],"duration":1320,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a dirty canonical profile cannot be replaced through history restore","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794864985077,"status":"passed","title":"a dirty canonical profile cannot be replaced through history restore"},{"ancestorTitles":[],"duration":1186,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"each failed comparison can retry its own run without refetching canonical data or losing another comparison","invocations":1,"location":null,"numPassingAsserts":10,"retryReasons":[],"startAt":1794864986397,"status":"passed","title":"each failed comparison can retry its own run without refetching canonical data or losing another comparison"},{"ancestorTitles":[],"duration":652,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"review shows actual current and imported values and discloses fields outside the comparison","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794864987583,"status":"passed","title":"review shows actual current and imported values and discloses fields outside the comparison"},{"ancestorTitles":[],"duration":1342,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"selecting then deselecting low-confidence data sends the explicit empty selection","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794864988236,"status":"passed","title":"selecting then deselecting low-confidence data sends the explicit empty selection"},{"ancestorTitles":[],"duration":2069,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"held acceptance locks review choices and all canonical editors and prevents duplicate or overlapping writes","invocations":1,"location":null,"numPassingAsserts":13,"retryReasons":[],"startAt":1794864989578,"status":"passed","title":"held acceptance locks review choices and all canonical editors and prevents duplicate or overlapping writes"},{"ancestorTitles":[],"duration":1706,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed acceptance keeps the chosen stable IDs and shows durable translated recovery without automatically resending","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794864991647,"status":"passed","title":"failed acceptance keeps the chosen stable IDs and shows durable translated recovery without automatically resending"},{"ancestorTitles":[],"duration":2132,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"discarding an import preserves unsaved structured and raw drafts and does not reload the canonical profile","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794864993354,"status":"passed","title":"discarding an import preserves unsaved structured and raw drafts and does not reload the canonical profile"},{"ancestorTitles":[],"duration":2399,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"saving canonical changes refreshes history and comparisons and clears choices made against the earlier source","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794864995486,"status":"passed","title":"saving canonical changes refreshes history and comparisons and clears choices made against the earlier source"},{"ancestorTitles":[],"duration":1832,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a failed restore keeps the original source and known history with an explicit retry","invocations":1,"location":null,"numPassingAsserts":10,"retryReasons":[],"startAt":1794864997885,"status":"passed","title":"a failed restore keeps the original source and known history with an explicit retry"},{"ancestorTitles":[],"duration":1729,"failing":false,"failureDetails":[{"name":"TestingLibraryElementError"}],"failureMessages":["TestingLibraryElementError: Found multiple elements with the role \"alert\"\n\nHere are the matching elements:\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[0mCV-opplysningene er klare til gjennomgang.\u001b[0m\n \u001b[36m
\u001b[39m\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).\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...\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 getElementError (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\query-helpers.js:20:35)\n at getMultipleElementsFoundError (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\query-helpers.js:23:10)\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\query-helpers.js:55:13\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 Object.getByRole (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\career-import-review.test.tsx:251:17)"],"fullName":"a pending history restore reports success in the current language","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794864999717,"status":"failed","title":"a pending history restore reports success in the current language"},{"ancestorTitles":[],"duration":956,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an unmounted restore ignores a late POST resolve with a surviving toast provider","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794865001460,"status":"passed","title":"an unmounted restore ignores a late POST resolve with a surviving toast provider"},{"ancestorTitles":[],"duration":1085,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an unmounted restore ignores a late POST reject with a surviving toast provider","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794865002416,"status":"passed","title":"an unmounted restore ignores a late POST reject with a surviving toast provider"},{"ancestorTitles":[],"duration":1098,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Your CV details are ready to review.
instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Your CV details are ready to review.
instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\career-import-review.test.tsx:276:43)"],"fullName":"a restore cannot continue after its session is invalidated","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794865003501,"status":"failed","title":"a restore cannot continue after its session is invalidated"},{"ancestorTitles":[],"duration":1040,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Your CV details are ready to review.
instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Your CV details are ready to review.
instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\career-import-review.test.tsx:276:43)"],"fullName":"a restore cannot continue after its session is changed","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794865004599,"status":"failed","title":"a restore cannot continue after its session is changed"},{"ancestorTitles":[],"duration":1504,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a restore history refresh ignores a late resolve after unmount","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794865005639,"status":"passed","title":"a restore history refresh ignores a late resolve after unmount"},{"ancestorTitles":[],"duration":1500,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a restore history refresh ignores a late reject after unmount","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794865007143,"status":"passed","title":"a restore history refresh ignores a late reject after unmount"},{"ancestorTitles":[],"duration":1560,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an operation cancellation is guarded while pending and leaves an unsaved source draft intact","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794865008643,"status":"passed","title":"an operation cancellation is guarded while pending and leaves an unsaved source draft intact"},{"ancestorTitles":[],"duration":1235,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a failed operation retry stays scoped and only resends the same operation on explicit user retry","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794865010203,"status":"passed","title":"a failed operation retry stays scoped and only resends the same operation on explicit user retry"},{"ancestorTitles":[],"duration":1056,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"Bokmål localizes comparison labels while preserving imported facts named like UI labels or object properties","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794865011438,"status":"passed","title":"Bokmål localizes comparison labels while preserving imported facts named like UI labels or object properties"},{"ancestorTitles":[],"duration":1054,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"the known low-confidence contact placeholder is localized","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794865012494,"status":"passed","title":"the known low-confidence contact placeholder is localized"}],"endTime":1794865013567,"message":" ● a pending history restore reports success in the current language\n\n TestingLibraryElementError: Found multiple elements with the role \"alert\"\n\n Here are the matching elements:\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[0mCV-opplysningene er klare til gjennomgang.\u001b[0m\n \u001b[36m
\u001b[39m\n\n (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).\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...\n\n 249 | await act(async () => window.dispatchEvent(new StorageEvent(\"storage\", { key: \"uiLanguage\", newValue: \"nb\" })));\n 250 | await act(async () => held.resolve(source));\n > 251 | expect(screen.getByRole(\"alert\")).toHaveTextContent(nb.profileUpdated);\n | ^\n 252 | expect(screen.queryByText(en.profileUpdated)).not.toBeInTheDocument();\n 253 | expect(readCount(\"/career/profile/versions\")).toBe(2);\n 254 | });\n\n at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)\n at getElementError (node_modules/@testing-library/dom/dist/query-helpers.js:20:35)\n at getMultipleElementsFoundError (node_modules/@testing-library/dom/dist/query-helpers.js:23:10)\n at node_modules/@testing-library/dom/dist/query-helpers.js:55:13\n at node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at Object.getByRole (src/career-import-review.test.tsx:251:17)\n\n ● a restore cannot continue after its session is invalidated\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found
Your CV details are ready to review.
instead\n\n 274 | await act(async () => held.resolve(source));\n 275 | expect(readCount(\"/career/profile/versions\")).toBe(1);\n > 276 | expect(screen.queryByRole(\"alert\")).not.toBeInTheDocument();\n | ^\n 277 | });\n 278 |\n 279 | test.each([\"resolve\", \"reject\"] as const)(\"a restore history refresh ignores a late %s after unmount\", async outcome => {\n\n at toBeInTheDocument (src/career-import-review.test.tsx:276:43)\n\n ● a restore cannot continue after its session is changed\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found
Your CV details are ready to review.
instead\n\n 274 | await act(async () => held.resolve(source));\n 275 | expect(readCount(\"/career/profile/versions\")).toBe(1);\n > 276 | expect(screen.queryByRole(\"alert\")).not.toBeInTheDocument();\n | ^\n 277 | });\n 278 |\n 279 | test.each([\"resolve\", \"reject\"] as const)(\"a restore history refresh ignores a late %s after unmount\", async outcome => {\n\n at toBeInTheDocument (src/career-import-review.test.tsx:276:43)\n","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\career-import-review.test.tsx","startTime":1794864977792,"status":"failed","summary":""}],"wasInterrupted":false}
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/green.json.gz b/docs/ui-modernisation/evidence/career-restore-lifetime/green.json.gz
new file mode 100644
index 00000000..6256a229
Binary files /dev/null and b/docs/ui-modernisation/evidence/career-restore-lifetime/green.json.gz differ
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/green.log b/docs/ui-modernisation/evidence/career-restore-lifetime/green.log
new file mode 100644
index 00000000..98448bd8
--- /dev/null
+++ b/docs/ui-modernisation/evidence/career-restore-lifetime/green.log
@@ -0,0 +1,383 @@
+> jest --runInBand --no-cache --runTestsByPath src/career-import-review.test.tsx --json --outputFile=E:\Storage\Projects\Active\temp docs\jobjakt-local-build\career-restore-lifetime\green.json
+ console.error
+ An update to ForwardRef(ButtonBase) inside a test was not wrapped in act(...).
+ When testing, code that causes React state updates should be wrapped into act(...):
+ act(() => {
+ /* fire events that update state */
+ });
+ /* assert on the output */
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
+ 141 | fail = false;
+ 142 | const retry = within(error).getByRole("button", { name: en.retry });
+ > 143 | retry.focus(); fireEvent.click(retry);
+ | ^
+ 144 | expect(screen.getByRole("article", { name: "File import 41" })).toHaveFocus();
+ 145 | await waitFor(() => expect(screen.getAllByRole("button", { name: en.profileCvApplyChanges }).every((b) => !(b as HTMLButtonElement).disabled)).toBe(true));
+ 146 | expect(readCount("/profile-cv/runs/41/diff")).toBe(2); expect(readCount("/profile-cv/runs/42/diff")).toBe(1);
+ at node_modules/react-dom/cjs/react-dom-client.development.js:18758:19
+ at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
+ at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom-client.development.js:18757:9)
+ at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom-client.development.js:16409:11)
+ at dispatchSetStateInternal (node_modules/react-dom/cjs/react-dom-client.development.js:9170:13)
+ at dispatchSetState (node_modules/react-dom/cjs/react-dom-client.development.js:9127:7)
+ at node_modules/@mui/material/ButtonBase/ButtonBase.js:174:7
+ at node_modules/@mui/utils/useEventCallback/useEventCallback.js:24:19
+ at executeDispatch (node_modules/react-dom/cjs/react-dom-client.development.js:19116:9)
+ at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
+ at processDispatchQueue (node_modules/react-dom/cjs/react-dom-client.development.js:19166:19)
+ at node_modules/react-dom/cjs/react-dom-client.development.js:19767:9
+ at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom-client.development.js:3255:40)
+ at dispatchEventForPluginEventSystem (node_modules/react-dom/cjs/react-dom-client.development.js:19320:7)
+ at dispatchEvent (node_modules/react-dom/cjs/react-dom-client.development.js:23585:11)
+ at dispatchDiscreteEvent (node_modules/react-dom/cjs/react-dom-client.development.js:23553:11)
+ at HTMLDivElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
+ at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
+ at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
+ at HTMLButtonElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
+ at Object.exports.fireFocusEventWithTargetAdjustment (node_modules/jsdom/lib/jsdom/living/helpers/focusing.js:103:10)
+ at HTMLButtonElementImpl.focus (node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js:72:14)
+ at HTMLButtonElement.focus (node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js:128:34)
+ at Object.focus (src/career-import-review.test.tsx:143:9)
+ console.error
+ An update to ForwardRef(ButtonBase) inside a test was not wrapped in act(...).
+ When testing, code that causes React state updates should be wrapped into act(...):
+ act(() => {
+ /* fire events that update state */
+ });
+ /* assert on the output */
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
+ 170 | const held = deferred(); mockedApi.post.mockReturnValue(held.promise);
+ 171 | renderPage(); await importReady(); fireEvent.click(chooseLow());
+ > 172 | const apply = screen.getByRole("button", { name: en.profileCvApplyChanges }); apply.focus(); fireEvent.click(apply); fireEvent.click(apply);
+ | ^
+ 173 | expect(screen.getByRole("article", { name: "File import 41" })).toHaveFocus();
+ 174 | expect(mockedApi.post).toHaveBeenCalledTimes(1);
+ 175 | expect(mockedApi.post).toHaveBeenCalledWith("/profile-cv/runs/41/accept", { expectedVersion: 7, acceptedLowConfidenceIds: ["Languages|french"] });
+ at node_modules/react-dom/cjs/react-dom-client.development.js:18758:19
+ at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
+ at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom-client.development.js:18757:9)
+ at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom-client.development.js:16409:11)
+ at dispatchSetStateInternal (node_modules/react-dom/cjs/react-dom-client.development.js:9170:13)
+ at dispatchSetState (node_modules/react-dom/cjs/react-dom-client.development.js:9127:7)
+ at node_modules/@mui/material/ButtonBase/ButtonBase.js:174:7
+ at node_modules/@mui/utils/useEventCallback/useEventCallback.js:24:19
+ at executeDispatch (node_modules/react-dom/cjs/react-dom-client.development.js:19116:9)
+ at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
+ at processDispatchQueue (node_modules/react-dom/cjs/react-dom-client.development.js:19166:19)
+ at node_modules/react-dom/cjs/react-dom-client.development.js:19767:9
+ at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom-client.development.js:3255:40)
+ at dispatchEventForPluginEventSystem (node_modules/react-dom/cjs/react-dom-client.development.js:19320:7)
+ at dispatchEvent (node_modules/react-dom/cjs/react-dom-client.development.js:23585:11)
+ at dispatchDiscreteEvent (node_modules/react-dom/cjs/react-dom-client.development.js:23553:11)
+ at HTMLDivElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
+ at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
+ at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
+ at HTMLButtonElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
+ at Object.exports.fireFocusEventWithTargetAdjustment (node_modules/jsdom/lib/jsdom/living/helpers/focusing.js:103:10)
+ at HTMLButtonElementImpl.focus (node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js:72:14)
+ at HTMLButtonElement.focus (node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js:128:34)
+ at Object.focus (src/career-import-review.test.tsx:172:87)
+ console.error
+ An update to ForwardRef(ButtonBase) inside a test was not wrapped in act(...).
+ When testing, code that causes React state updates should be wrapped into act(...):
+ act(() => {
+ /* fire events that update state */
+ });
+ /* assert on the output */
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
+ 294 | const held = deferred(); mockedApi.post.mockReturnValue(held.promise);
+ 295 | renderPage(); await ready(); editDraft(); navigate(en.careerWorkspaceImportTab);
+ > 296 | const cancel = screen.getByRole("button", { name: en.profileCvCancelProcessing }); cancel.focus(); fireEvent.click(cancel); fireEvent.click(cancel);
+ | ^
+ 297 | expect(screen.getByRole("article", { name: "File import 41" })).toHaveFocus();
+ 298 | expect(cancel).toBeDisabled(); expect(mockedApi.post).toHaveBeenCalledTimes(1);
+ 299 | expect(mockedApi.post).toHaveBeenCalledWith("/operations/op-81/cancel");
+ at node_modules/react-dom/cjs/react-dom-client.development.js:18758:19
+ at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
+ at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom-client.development.js:18757:9)
+ at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom-client.development.js:16409:11)
+ at dispatchSetStateInternal (node_modules/react-dom/cjs/react-dom-client.development.js:9170:13)
+ at dispatchSetState (node_modules/react-dom/cjs/react-dom-client.development.js:9127:7)
+ at node_modules/@mui/material/ButtonBase/ButtonBase.js:174:7
+ at node_modules/@mui/utils/useEventCallback/useEventCallback.js:24:19
+ at executeDispatch (node_modules/react-dom/cjs/react-dom-client.development.js:19116:9)
+ at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
+ at processDispatchQueue (node_modules/react-dom/cjs/react-dom-client.development.js:19166:19)
+ at node_modules/react-dom/cjs/react-dom-client.development.js:19767:9
+ at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom-client.development.js:3255:40)
+ at dispatchEventForPluginEventSystem (node_modules/react-dom/cjs/react-dom-client.development.js:19320:7)
+ at dispatchEvent (node_modules/react-dom/cjs/react-dom-client.development.js:23585:11)
+ at dispatchDiscreteEvent (node_modules/react-dom/cjs/react-dom-client.development.js:23553:11)
+ at HTMLDivElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
+ at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
+ at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
+ at HTMLButtonElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
+ at Object.exports.fireFocusEventWithTargetAdjustment (node_modules/jsdom/lib/jsdom/living/helpers/focusing.js:103:10)
+ at HTMLButtonElementImpl.focus (node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js:72:14)
+ at HTMLButtonElement.focus (node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js:128:34)
+ at Object.focus (src/career-import-review.test.tsx:296:93)
+FAIL src/career-import-review.test.tsx (35.775 s)
+ ● a pending history restore reports success in the current language
+ TestingLibraryElementError: Found multiple elements with the role "alert"
+ Here are the matching elements:
+ Ignored nodes: comments, script, style
+ [36m
[39m
+ [36m
[39m
+ [36m[39m
+ [36m
[39m
+ [36m
[39m
+ [0mCV-opplysningene er klare til gjennomgang.[0m
+ [36m
[39m
+ (If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).
+ Ignored nodes: comments, script, style
+ [36m[39m
+ [36m
[39m
+ [36m
[39m
+ [36m[39m
+ [36m
[39m
+ [36m...
+ 249 | await act(async () => window.dispatchEvent(new StorageEvent("storage", { key: "uiLanguage", newValue: "nb" })));
+ 250 | await act(async () => held.resolve(source));
+ > 251 | expect(screen.getByRole("alert")).toHaveTextContent(nb.profileUpdated);
+ | ^
+ 252 | expect(screen.queryByText(en.profileUpdated)).not.toBeInTheDocument();
+ 253 | expect(readCount("/career/profile/versions")).toBe(2);
+ 254 | });
+ at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)
+ at getElementError (node_modules/@testing-library/dom/dist/query-helpers.js:20:35)
+ at getMultipleElementsFoundError (node_modules/@testing-library/dom/dist/query-helpers.js:23:10)
+ at node_modules/@testing-library/dom/dist/query-helpers.js:55:13
+ at node_modules/@testing-library/dom/dist/query-helpers.js:95:19
+ at Object.getByRole (src/career-import-review.test.tsx:251:17)
+ ● a restore cannot continue after its session is invalidated
+ expect(element).not.toBeInTheDocument()
+ expected document not to contain element, found
Your CV details are ready to review.
instead
+ 274 | await act(async () => held.resolve(source));
+ 275 | expect(readCount("/career/profile/versions")).toBe(1);
+ > 276 | expect(screen.queryByRole("alert")).not.toBeInTheDocument();
+ | ^
+ 277 | });
+ 278 |
+ 279 | test.each(["resolve", "reject"] as const)("a restore history refresh ignores a late %s after unmount", async outcome => {
+ at toBeInTheDocument (src/career-import-review.test.tsx:276:43)
+ ● a restore cannot continue after its session is changed
+ expect(element).not.toBeInTheDocument()
+ expected document not to contain element, found
Your CV details are ready to review.
instead
+ 274 | await act(async () => held.resolve(source));
+ 275 | expect(readCount("/career/profile/versions")).toBe(1);
+ > 276 | expect(screen.queryByRole("alert")).not.toBeInTheDocument();
+ | ^
+ 277 | });
+ 278 |
+ 279 | test.each(["resolve", "reject"] as const)("a restore history refresh ignores a late %s after unmount", async outcome => {
+ at toBeInTheDocument (src/career-import-review.test.tsx:276:43)
+Test Suites: 1 failed, 1 total
+Tests: 3 failed, 20 passed, 23 total
+Snapshots: 0 total
+Time: 36.901 s
+Ran all test suites within paths "src/career-import-review.test.tsx".
+Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\career-restore-lifetime\green.json
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/green.log.gz b/docs/ui-modernisation/evidence/career-restore-lifetime/green.log.gz
new file mode 100644
index 00000000..10ad5d00
Binary files /dev/null and b/docs/ui-modernisation/evidence/career-restore-lifetime/green.log.gz differ
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-graph.txt b/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-graph.txt
new file mode 100644
index 00000000..e31642fb
--- /dev/null
+++ b/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-graph.txt
@@ -0,0 +1,18 @@
+Re-extracting code files in . (no LLM needed)...
+[graphify watch] 476 file(s) not classified (no supported extension or shebang), skipped: .dockerignore, .env.example, .git, .gitattributes, .gitignore, 1440-en-dark-converted.gz (+470 more)
+ AST cache: 2486/2930 files served from cache (84%); 444 to extract
+ AST extraction: 100/444 uncached files (22%) [16 workers]
+ AST extraction: 200/444 uncached files (45%) [16 workers]
+ AST extraction: 300/444 uncached files (67%) [16 workers]
+ AST extraction: 400/444 uncached files (90%) [16 workers]
+ AST extraction: 444/444 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: 144 code file(s) yielded no symbols (0.14 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 (+139 more)
+[graphify watch] community set changed since labeling (0 saved labels, 1196 communities now; renamed 97 community(ies) by their hub). Run `graphify label` to refresh names with the LLM.
+Graph has 19237 nodes (above 5000 limit). Building aggregated community view...
+graph.html written (aggregated: 1196 community nodes, 3036 cross-community edges)
+Tip: run with --obsidian for full node-level detail.
+[graphify watch] Rebuilt: 19237 nodes, 47299 edges, 1196 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/career-restore-lifetime/mail-career-graph.txt.gz b/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-graph.txt.gz
new file mode 100644
index 00000000..6d7fa2cd
Binary files /dev/null and b/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-graph.txt.gz differ
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-lint-final.txt b/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-lint-final.txt
new file mode 100644
index 00000000..e69de29b
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-lint-final.txt.gz b/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-lint-final.txt.gz
new file mode 100644
index 00000000..ae211a2c
Binary files /dev/null and b/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-lint-final.txt.gz differ
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-lint.txt b/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-lint.txt
new file mode 100644
index 00000000..e69de29b
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-lint.txt.gz b/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-lint.txt.gz
new file mode 100644
index 00000000..ae211a2c
Binary files /dev/null and b/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-lint.txt.gz differ
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-types-final.txt b/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-types-final.txt
new file mode 100644
index 00000000..e69de29b
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-types-final.txt.gz b/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-types-final.txt.gz
new file mode 100644
index 00000000..ae211a2c
Binary files /dev/null and b/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-types-final.txt.gz differ
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-types.txt b/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-types.txt
new file mode 100644
index 00000000..1f84b69c
--- /dev/null
+++ b/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-types.txt
@@ -0,0 +1,5 @@
+src/correspondence-gmail-import.test.tsx(407,106): error TS2769: No overload matches this call.
+ Overload 1 of 2, '(role: ByRoleMatcher, options?: ByRoleOptions | undefined): HTMLElement[]', gave the following error.
+ Object literal may only specify known properties, and 'exact' does not exist in type 'ByRoleOptions'.
+ Overload 2 of 2, '(role: ByRoleMatcher, options?: ByRoleOptions | undefined): HTMLElement[]', gave the following error.
+ Object literal may only specify known properties, and 'exact' does not exist in type 'ByRoleOptions'.
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-types.txt.gz b/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-types.txt.gz
new file mode 100644
index 00000000..cd72a2d9
Binary files /dev/null and b/docs/ui-modernisation/evidence/career-restore-lifetime/mail-career-types.txt.gz differ
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/red-corrected-process.json b/docs/ui-modernisation/evidence/career-restore-lifetime/red-corrected-process.json
new file mode 100644
index 00000000..0a03214f
--- /dev/null
+++ b/docs/ui-modernisation/evidence/career-restore-lifetime/red-corrected-process.json
@@ -0,0 +1,19 @@
+{
+ "exitCode": 1,
+ "restoredFixedSource": true,
+ "baselineSha256": "ee42d5a76177764e29055e56620b3093b3da1ef0df0fd303d70de800d311428e",
+ "fixedSha256": "559d7164ab8f3a79fe939434ed28118a6e81c3e5366e7d32e4c5424b5b78f2b5",
+ "command": [
+ "rtk",
+ "npm",
+ "test",
+ "--",
+ "--runInBand",
+ "--no-cache",
+ "--runTestsByPath",
+ "src/career-import-review.test.tsx",
+ "--testNamePattern=pending history restore|unmounted restore|restore cannot continue|restore history refresh",
+ "--json",
+ "--outputFile=E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\career-restore-lifetime\\red-corrected.json"
+ ]
+}
\ No newline at end of file
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/red-corrected-process.json.gz b/docs/ui-modernisation/evidence/career-restore-lifetime/red-corrected-process.json.gz
new file mode 100644
index 00000000..d708bf31
Binary files /dev/null and b/docs/ui-modernisation/evidence/career-restore-lifetime/red-corrected-process.json.gz differ
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/red-corrected.json b/docs/ui-modernisation/evidence/career-restore-lifetime/red-corrected.json
new file mode 100644
index 00000000..97a112d3
--- /dev/null
+++ b/docs/ui-modernisation/evidence/career-restore-lifetime/red-corrected.json
@@ -0,0 +1 @@
+{"numFailedTestSuites":1,"numFailedTests":7,"numPassedTestSuites":0,"numPassedTests":0,"numPendingTestSuites":0,"numPendingTests":16,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":1,"numTotalTests":23,"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":1794865151568,"success":false,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"disabled CV worker upload gives actionable en recovery without changing the profile","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794865155930,"status":"pending","title":"disabled CV worker upload gives actionable en recovery without changing the profile"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"disabled CV worker upload gives actionable nb recovery without changing the profile","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794865155930,"status":"pending","title":"disabled CV worker upload gives actionable nb recovery without changing the profile"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed history reads have a scoped Retry that preserves unsaved source fields","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794865155930,"status":"pending","title":"failed history reads have a scoped Retry that preserves unsaved source fields"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a dirty canonical profile cannot be replaced through history restore","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794865155930,"status":"pending","title":"a dirty canonical profile cannot be replaced through history restore"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"each failed comparison can retry its own run without refetching canonical data or losing another comparison","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794865155930,"status":"pending","title":"each failed comparison can retry its own run without refetching canonical data or losing another comparison"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"review shows actual current and imported values and discloses fields outside the comparison","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794865155930,"status":"pending","title":"review shows actual current and imported values and discloses fields outside the comparison"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"selecting then deselecting low-confidence data sends the explicit empty selection","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794865155930,"status":"pending","title":"selecting then deselecting low-confidence data sends the explicit empty selection"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"held acceptance locks review choices and all canonical editors and prevents duplicate or overlapping writes","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794865155930,"status":"pending","title":"held acceptance locks review choices and all canonical editors and prevents duplicate or overlapping writes"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed acceptance keeps the chosen stable IDs and shows durable translated recovery without automatically resending","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794865155930,"status":"pending","title":"failed acceptance keeps the chosen stable IDs and shows durable translated recovery without automatically resending"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"discarding an import preserves unsaved structured and raw drafts and does not reload the canonical profile","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794865155930,"status":"pending","title":"discarding an import preserves unsaved structured and raw drafts and does not reload the canonical profile"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"saving canonical changes refreshes history and comparisons and clears choices made against the earlier source","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794865155931,"status":"pending","title":"saving canonical changes refreshes history and comparisons and clears choices made against the earlier source"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a failed restore keeps the original source and known history with an explicit retry","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794865155931,"status":"pending","title":"a failed restore keeps the original source and known history with an explicit retry"},{"ancestorTitles":[],"duration":1866,"failing":false,"failureDetails":[{"name":"TestingLibraryElementError"}],"failureMessages":["TestingLibraryElementError: Unable to find an element with the text: Profil oppdatert.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\n\nIgnored nodes: comments, script, style\n\u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m...\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 Object.getByText (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\career-import-review.test.tsx:251:17)"],"fullName":"a pending history restore reports success in the current language","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794865155931,"status":"failed","title":"a pending history restore reports success in the current language"},{"ancestorTitles":[],"duration":972,"failing":false,"failureDetails":[{"matcherResult":{"actual":2,"expected":1,"message":"expect(received).toBe(expected) // Object.is equality\n\nExpected: 1\nReceived: 2","name":"toBe","pass":false}}],"failureMessages":["Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 1\nReceived: 2\n at toBe (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\career-import-review.test.tsx:263:49)"],"fullName":"an unmounted restore ignores a late POST resolve with a surviving toast provider","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794865157811,"status":"failed","title":"an unmounted restore ignores a late POST resolve with a surviving toast provider"},{"ancestorTitles":[],"duration":1060,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Late restore failure
instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Late restore failure
instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\career-import-review.test.tsx:264:43)"],"fullName":"an unmounted restore ignores a late POST reject with a surviving toast provider","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794865158784,"status":"failed","title":"an unmounted restore ignores a late POST reject with a surviving toast provider"},{"ancestorTitles":[],"duration":1489,"failing":false,"failureDetails":[{"matcherResult":{"actual":2,"expected":1,"message":"expect(received).toBe(expected) // Object.is equality\n\nExpected: 1\nReceived: 2","name":"toBe","pass":false}}],"failureMessages":["Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 1\nReceived: 2\n at toBe (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\career-import-review.test.tsx:275:49)"],"fullName":"a restore cannot continue after its session is invalidated","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794865159845,"status":"failed","title":"a restore cannot continue after its session is invalidated"},{"ancestorTitles":[],"duration":1395,"failing":false,"failureDetails":[{"matcherResult":{"actual":2,"expected":1,"message":"expect(received).toBe(expected) // Object.is equality\n\nExpected: 1\nReceived: 2","name":"toBe","pass":false}}],"failureMessages":["Error: expect(received).toBe(expected) // Object.is equality\n\nExpected: 1\nReceived: 2\n at toBe (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\career-import-review.test.tsx:275:49)"],"fullName":"a restore cannot continue after its session is changed","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794865161334,"status":"failed","title":"a restore cannot continue after its session is changed"},{"ancestorTitles":[],"duration":1183,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Profile updated.
instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Profile updated.
instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\career-import-review.test.tsx:290:43)"],"fullName":"a restore history refresh ignores a late resolve after unmount","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794865162729,"status":"failed","title":"a restore history refresh ignores a late resolve after unmount"},{"ancestorTitles":[],"duration":1253,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Profile updated.
instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Profile updated.
instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\career-import-review.test.tsx:290:43)"],"fullName":"a restore history refresh ignores a late reject after unmount","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794865163912,"status":"failed","title":"a restore history refresh ignores a late reject after unmount"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an operation cancellation is guarded while pending and leaves an unsaved source draft intact","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794865165165,"status":"pending","title":"an operation cancellation is guarded while pending and leaves an unsaved source draft intact"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a failed operation retry stays scoped and only resends the same operation on explicit user retry","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794865165165,"status":"pending","title":"a failed operation retry stays scoped and only resends the same operation on explicit user retry"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"Bokmål localizes comparison labels while preserving imported facts named like UI labels or object properties","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794865165165,"status":"pending","title":"Bokmål localizes comparison labels while preserving imported facts named like UI labels or object properties"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"the known low-confidence contact placeholder is localized","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794865165165,"status":"pending","title":"the known low-confidence contact placeholder is localized"}],"endTime":1794865165196,"message":" ● a pending history restore reports success in the current language\n\n TestingLibraryElementError: Unable to find an element with the text: Profil oppdatert.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\n\n Ignored nodes: comments, script, style\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m...\n\n 249 | await act(async () => window.dispatchEvent(new StorageEvent(\"storage\", { key: \"uiLanguage\", newValue: \"nb\" })));\n 250 | await act(async () => held.resolve(source));\n > 251 | expect(screen.getByText(nb.profileUpdated)).toBeVisible();\n | ^\n 252 | expect(screen.queryByText(en.profileUpdated)).not.toBeInTheDocument();\n 253 | expect(readCount(\"/career/profile/versions\")).toBe(2);\n 254 | });\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 Object.getByText (src/career-import-review.test.tsx:251:17)\n\n ● an unmounted restore ignores a late POST resolve with a surviving toast provider\n\n expect(received).toBe(expected) // Object.is equality\n\n Expected: 1\n Received: 2\n\n 261 | view.rerender(
Other page
);\n 262 | await act(async () => outcome === \"resolve\" ? held.resolve(source) : held.reject(new Error(\"Late restore failure\")));\n > 263 | expect(readCount(\"/career/profile/versions\")).toBe(1);\n | ^\n 264 | expect(screen.queryByRole(\"alert\")).not.toBeInTheDocument();\n 265 | });\n 266 |\n\n at toBe (src/career-import-review.test.tsx:263:49)\n\n ● an unmounted restore ignores a late POST reject with a surviving toast provider\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found
Late restore failure
instead\n\n 262 | await act(async () => outcome === \"resolve\" ? held.resolve(source) : held.reject(new Error(\"Late restore failure\")));\n 263 | expect(readCount(\"/career/profile/versions\")).toBe(1);\n > 264 | expect(screen.queryByRole(\"alert\")).not.toBeInTheDocument();\n | ^\n 265 | });\n 266 |\n 267 | test.each([\"invalidated\", \"changed\"] as const)(\"a restore cannot continue after its session is %s\", async outcome => {\n\n at toBeInTheDocument (src/career-import-review.test.tsx:264:43)\n\n ● a restore cannot continue after its session is invalidated\n\n expect(received).toBe(expected) // Object.is equality\n\n Expected: 1\n Received: 2\n\n 273 | else jest.mocked(getSessionContext).mockReturnValue(\"another-session\");\n 274 | await act(async () => held.resolve(source));\n > 275 | expect(readCount(\"/career/profile/versions\")).toBe(1);\n | ^\n 276 | expect(screen.queryByText(en.profileUpdated)).not.toBeInTheDocument();\n 277 | expect(screen.queryByText(en.careerRestoreFailed)).not.toBeInTheDocument();\n 278 | });\n\n at toBe (src/career-import-review.test.tsx:275:49)\n\n ● a restore cannot continue after its session is changed\n\n expect(received).toBe(expected) // Object.is equality\n\n Expected: 1\n Received: 2\n\n 273 | else jest.mocked(getSessionContext).mockReturnValue(\"another-session\");\n 274 | await act(async () => held.resolve(source));\n > 275 | expect(readCount(\"/career/profile/versions\")).toBe(1);\n | ^\n 276 | expect(screen.queryByText(en.profileUpdated)).not.toBeInTheDocument();\n 277 | expect(screen.queryByText(en.careerRestoreFailed)).not.toBeInTheDocument();\n 278 | });\n\n at toBe (src/career-import-review.test.tsx:275:49)\n\n ● a restore history refresh ignores a late resolve after unmount\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found
Profile updated.
instead\n\n 288 | view.rerender(
Other page
);\n 289 | await act(async () => outcome === \"resolve\" ? history.resolve({ data: versions }) : history.reject(new Error(\"Late history failure\")));\n > 290 | expect(screen.queryByRole(\"alert\")).not.toBeInTheDocument();\n | ^\n 291 | });\n 292 |\n 293 | test(\"an operation cancellation is guarded while pending and leaves an unsaved source draft intact\", async () => {\n\n at toBeInTheDocument (src/career-import-review.test.tsx:290:43)\n\n ● a restore history refresh ignores a late reject after unmount\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found
Profile updated.
instead\n\n 288 | view.rerender(
Other page
);\n 289 | await act(async () => outcome === \"resolve\" ? history.resolve({ data: versions }) : history.reject(new Error(\"Late history failure\")));\n > 290 | expect(screen.queryByRole(\"alert\")).not.toBeInTheDocument();\n | ^\n 291 | });\n 292 |\n 293 | test(\"an operation cancellation is guarded while pending and leaves an unsaved source draft intact\", async () => {\n\n at toBeInTheDocument (src/career-import-review.test.tsx:290:43)\n","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\career-import-review.test.tsx","startTime":1794865152512,"status":"failed","summary":""}],"wasInterrupted":false}
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/red-corrected.json.gz b/docs/ui-modernisation/evidence/career-restore-lifetime/red-corrected.json.gz
new file mode 100644
index 00000000..4dd01405
Binary files /dev/null and b/docs/ui-modernisation/evidence/career-restore-lifetime/red-corrected.json.gz differ
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/red-corrected.log b/docs/ui-modernisation/evidence/career-restore-lifetime/red-corrected.log
new file mode 100644
index 00000000..ae5d295c
--- /dev/null
+++ b/docs/ui-modernisation/evidence/career-restore-lifetime/red-corrected.log
@@ -0,0 +1,221 @@
+> jest --runInBand --no-cache --runTestsByPath src/career-import-review.test.tsx --testNamePattern=pending history restore|unmounted restore|restore cannot continue|restore history refresh --json --outputFile=E:\Storage\Projects\Active\temp docs\jobjakt-local-build\career-restore-lifetime\red-corrected.json
+FAIL src/career-import-review.test.tsx (12.684 s)
+ ● a pending history restore reports success in the current language
+ TestingLibraryElementError: Unable to find an element with the text: Profil oppdatert.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
+ Ignored nodes: comments, script, style
+ [36m[39m
+ [36m
[39m
+ [36m
[39m
+ [36m[39m
+ [36m
[39m
+ [36m...
+ 249 | await act(async () => window.dispatchEvent(new StorageEvent("storage", { key: "uiLanguage", newValue: "nb" })));
+ 250 | await act(async () => held.resolve(source));
+ > 251 | expect(screen.getByText(nb.profileUpdated)).toBeVisible();
+ | ^
+ 252 | expect(screen.queryByText(en.profileUpdated)).not.toBeInTheDocument();
+ 253 | expect(readCount("/career/profile/versions")).toBe(2);
+ 254 | });
+ at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)
+ at node_modules/@testing-library/dom/dist/query-helpers.js:76:38
+ at node_modules/@testing-library/dom/dist/query-helpers.js:52:17
+ at node_modules/@testing-library/dom/dist/query-helpers.js:95:19
+ at Object.getByText (src/career-import-review.test.tsx:251:17)
+ ● an unmounted restore ignores a late POST resolve with a surviving toast provider
+ expect(received).toBe(expected) // Object.is equality
+ Expected: 1
+ Received: 2
+ 261 | view.rerender(
Other page
);
+ 262 | await act(async () => outcome === "resolve" ? held.resolve(source) : held.reject(new Error("Late restore failure")));
+ > 263 | expect(readCount("/career/profile/versions")).toBe(1);
+ | ^
+ 264 | expect(screen.queryByRole("alert")).not.toBeInTheDocument();
+ 265 | });
+ 266 |
+ at toBe (src/career-import-review.test.tsx:263:49)
+ ● an unmounted restore ignores a late POST reject with a surviving toast provider
+ expect(element).not.toBeInTheDocument()
+ expected document not to contain element, found
Late restore failure
instead
+ 262 | await act(async () => outcome === "resolve" ? held.resolve(source) : held.reject(new Error("Late restore failure")));
+ 263 | expect(readCount("/career/profile/versions")).toBe(1);
+ > 264 | expect(screen.queryByRole("alert")).not.toBeInTheDocument();
+ | ^
+ 265 | });
+ 266 |
+ 267 | test.each(["invalidated", "changed"] as const)("a restore cannot continue after its session is %s", async outcome => {
+ at toBeInTheDocument (src/career-import-review.test.tsx:264:43)
+ ● a restore cannot continue after its session is invalidated
+ expect(received).toBe(expected) // Object.is equality
+ Expected: 1
+ Received: 2
+ 273 | else jest.mocked(getSessionContext).mockReturnValue("another-session");
+ 274 | await act(async () => held.resolve(source));
+ > 275 | expect(readCount("/career/profile/versions")).toBe(1);
+ | ^
+ 276 | expect(screen.queryByText(en.profileUpdated)).not.toBeInTheDocument();
+ 277 | expect(screen.queryByText(en.careerRestoreFailed)).not.toBeInTheDocument();
+ 278 | });
+ at toBe (src/career-import-review.test.tsx:275:49)
+ ● a restore cannot continue after its session is changed
+ expect(received).toBe(expected) // Object.is equality
+ Expected: 1
+ Received: 2
+ 273 | else jest.mocked(getSessionContext).mockReturnValue("another-session");
+ 274 | await act(async () => held.resolve(source));
+ > 275 | expect(readCount("/career/profile/versions")).toBe(1);
+ | ^
+ 276 | expect(screen.queryByText(en.profileUpdated)).not.toBeInTheDocument();
+ 277 | expect(screen.queryByText(en.careerRestoreFailed)).not.toBeInTheDocument();
+ 278 | });
+ at toBe (src/career-import-review.test.tsx:275:49)
+ ● a restore history refresh ignores a late resolve after unmount
+ expect(element).not.toBeInTheDocument()
+ expected document not to contain element, found
Profile updated.
instead
+ 288 | view.rerender(
Other page
);
+ 289 | await act(async () => outcome === "resolve" ? history.resolve({ data: versions }) : history.reject(new Error("Late history failure")));
+ > 290 | expect(screen.queryByRole("alert")).not.toBeInTheDocument();
+ | ^
+ 291 | });
+ 292 |
+ 293 | test("an operation cancellation is guarded while pending and leaves an unsaved source draft intact", async () => {
+ at toBeInTheDocument (src/career-import-review.test.tsx:290:43)
+ ● a restore history refresh ignores a late reject after unmount
+ expect(element).not.toBeInTheDocument()
+ expected document not to contain element, found
Profile updated.
instead
+ 288 | view.rerender(
Other page
);
+ 289 | await act(async () => outcome === "resolve" ? history.resolve({ data: versions }) : history.reject(new Error("Late history failure")));
+ > 290 | expect(screen.queryByRole("alert")).not.toBeInTheDocument();
+ | ^
+ 291 | });
+ 292 |
+ 293 | test("an operation cancellation is guarded while pending and leaves an unsaved source draft intact", async () => {
+ at toBeInTheDocument (src/career-import-review.test.tsx:290:43)
+Test Suites: 1 failed, 1 total
+Tests: 7 failed, 16 skipped, 23 total
+Snapshots: 0 total
+Time: 13.635 s
+Ran all test suites within paths "src/career-import-review.test.tsx".
+Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\career-restore-lifetime\red-corrected.json
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/red-corrected.log.gz b/docs/ui-modernisation/evidence/career-restore-lifetime/red-corrected.log.gz
new file mode 100644
index 00000000..f06f4abd
Binary files /dev/null and b/docs/ui-modernisation/evidence/career-restore-lifetime/red-corrected.log.gz differ
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/red.log b/docs/ui-modernisation/evidence/career-restore-lifetime/red.log
new file mode 100644
index 00000000..10473110
Binary files /dev/null and b/docs/ui-modernisation/evidence/career-restore-lifetime/red.log differ
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/red.log.gz b/docs/ui-modernisation/evidence/career-restore-lifetime/red.log.gz
new file mode 100644
index 00000000..e4441519
Binary files /dev/null and b/docs/ui-modernisation/evidence/career-restore-lifetime/red.log.gz differ
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/result-summary.json b/docs/ui-modernisation/evidence/career-restore-lifetime/result-summary.json
new file mode 100644
index 00000000..9caf954a
--- /dev/null
+++ b/docs/ui-modernisation/evidence/career-restore-lifetime/result-summary.json
@@ -0,0 +1,35 @@
+{
+ "reports": {
+ "red-corrected": {
+ "numFailedTestSuites": 1,
+ "numFailedTests": 7,
+ "numPassedTestSuites": 0,
+ "numPassedTests": 0,
+ "numPendingTests": 16,
+ "numTotalTests": 23,
+ "success": false
+ },
+ "green": {
+ "numFailedTestSuites": 1,
+ "numFailedTests": 3,
+ "numPassedTestSuites": 0,
+ "numPassedTests": 20,
+ "numPendingTests": 0,
+ "numTotalTests": 23,
+ "success": false
+ },
+ "affected": {
+ "numFailedTestSuites": 0,
+ "numFailedTests": 0,
+ "numPassedTestSuites": 3,
+ "numPassedTests": 56,
+ "numPendingTests": 0,
+ "numTotalTests": 56,
+ "success": true
+ }
+ },
+ "sha256": {
+ "job-tracker-ui/src/views/CareerProfilePage.tsx": "559d7164ab8f3a79fe939434ed28118a6e81c3e5366e7d32e4c5424b5b78f2b5",
+ "job-tracker-ui/src/career-import-review.test.tsx": "e09a1ad5e8755c75a4abcd860268cceecbd07bdd093046880bea21441a37e9e7"
+ }
+}
\ No newline at end of file
diff --git a/docs/ui-modernisation/evidence/career-restore-lifetime/result-summary.json.gz b/docs/ui-modernisation/evidence/career-restore-lifetime/result-summary.json.gz
new file mode 100644
index 00000000..0529ae4f
Binary files /dev/null and b/docs/ui-modernisation/evidence/career-restore-lifetime/result-summary.json.gz differ
diff --git a/docs/ui-modernisation/evidence/gmail-import-lifetime/SOURCE_RECEIPTS.json b/docs/ui-modernisation/evidence/gmail-import-lifetime/SOURCE_RECEIPTS.json
new file mode 100644
index 00000000..bc110255
--- /dev/null
+++ b/docs/ui-modernisation/evidence/gmail-import-lifetime/SOURCE_RECEIPTS.json
@@ -0,0 +1,82 @@
+{
+ "sourceCommit": "2043f99259dd8b5b34206d7f7724a799bfe49c9a",
+ "sourcesLfSha256": {
+ "job-tracker-ui/src/components/Correspondence.tsx": "6d2c1475aeca5d4522ce0630ad7574d5aa6140ecc071840ce61a26904e384381",
+ "job-tracker-ui/src/correspondence-gmail-import.test.tsx": "eabdd143f9d6986208f8382e026e0233a51913a6de3a11a94a870e0efabd56a5",
+ "job-tracker-ui/src/types.ts": "bae01df8de079b16546fca1c738f6d49564befcf62ae0449b039faf61bff1158"
+ },
+ "evidenceLfSha256": {
+ "gmail-import-red.txt": "87724f995e1edd3092f2ea21d125263e5e58d95a2b3dfc44600304550fb3dc99",
+ "gmail-import-green.txt": "46dcf85ba71d6b67224fb917f847010847182e1b38398ea381f8af5e6ec9ca48",
+ "gmail-import-results.json": "1ab88c1c936f151a2451c005cbee1af18f1891de73e74dc8f496fb602c937e00",
+ "gmail-import-confirmed.txt": "e60852d7af5b31245020d5c308919535aff6cc61e1ff1a17f8cdb9ac75152b77",
+ "gmail-import-confirmed.json": "74d41b27e064a964458ddb341b6a6633fc429280cea23837154214fd9f3d5501",
+ "mail-career-types.txt": "668d030a70c5e0ba2cfdf7691b33adb8a2388e0a6c6f1663b11c696594f186f9",
+ "mail-career-types-final.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "mail-career-lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "mail-career-lint-final.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "mail-career-graph.txt": "d63fcb6d0c800e26195b173cef904a33fb4e85b0f9a859a2bcd54f5b141bca16"
+ },
+ "nativeReceipts": [
+ {
+ "path": "gmail-import-red.txt",
+ "gzipPath": "gmail-import-red.txt.gz",
+ "rawSha256": "7f730ca3010023ddedf80a4c403de0c468de729cbff3bbf8017dbcfeba4fd15f",
+ "gzipSha256": "6b906f8a77627ad024cd59b4301f229021242c8a43ca6eaad9a98f554e9f14fe"
+ },
+ {
+ "path": "gmail-import-green.txt",
+ "gzipPath": "gmail-import-green.txt.gz",
+ "rawSha256": "6a09942aa71ca889a4d6185ade98046bdcb2884c3012b0f832f5780f41e6b3f5",
+ "gzipSha256": "a8c8f5df23e3090623a391111ecadf9a2877fcc0055bfe2b59663752288e2cb5"
+ },
+ {
+ "path": "gmail-import-results.json",
+ "gzipPath": "gmail-import-results.json.gz",
+ "rawSha256": "1ab88c1c936f151a2451c005cbee1af18f1891de73e74dc8f496fb602c937e00",
+ "gzipSha256": "6ef7492e632549351a1ad4211523dec318af46a28a3e4aaa07bd82694a67ff25"
+ },
+ {
+ "path": "gmail-import-confirmed.txt",
+ "gzipPath": "gmail-import-confirmed.txt.gz",
+ "rawSha256": "3c67b711e971cc6e86e200a0ee7209dd92d13c4823cfdfd5ffbb8e2d1d292d24",
+ "gzipSha256": "403e84abd0f5fc410cdff7b51057d55917aeabd99d38f3abedae2d724d56f7ad"
+ },
+ {
+ "path": "gmail-import-confirmed.json",
+ "gzipPath": "gmail-import-confirmed.json.gz",
+ "rawSha256": "74d41b27e064a964458ddb341b6a6633fc429280cea23837154214fd9f3d5501",
+ "gzipSha256": "5d13877b14c8dd59b119ef997032e349564fd6a1eb6e55716e00f2fd01343601"
+ },
+ {
+ "path": "mail-career-types.txt",
+ "gzipPath": "mail-career-types.txt.gz",
+ "rawSha256": "a7b6cec2440a957fbf01b8231c7ad78a187f1e9fa2eb1cebdc2afb2260c6f4ca",
+ "gzipSha256": "b7ab690ac4054e27ed789f1ffa862da48719c0bf20fc8e61001cc49b5e75a8ed"
+ },
+ {
+ "path": "mail-career-types-final.txt",
+ "gzipPath": "mail-career-types-final.txt.gz",
+ "rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
+ },
+ {
+ "path": "mail-career-lint.txt",
+ "gzipPath": "mail-career-lint.txt.gz",
+ "rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
+ },
+ {
+ "path": "mail-career-lint-final.txt",
+ "gzipPath": "mail-career-lint-final.txt.gz",
+ "rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
+ "gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
+ },
+ {
+ "path": "mail-career-graph.txt",
+ "gzipPath": "mail-career-graph.txt.gz",
+ "rawSha256": "597457056538d1fc8fe94db2b876be1e0b1a4a79ff66284679ace278988b2b5d",
+ "gzipSha256": "183e31fb4e7c4d210485000dd6359cde6c61b2447c6107b92ac7627d768afb0e"
+ }
+ ]
+}
diff --git a/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-confirmed.json b/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-confirmed.json
new file mode 100644
index 00000000..b93ba9cb
--- /dev/null
+++ b/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-confirmed.json
@@ -0,0 +1 @@
+{"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":1,"numPassedTests":26,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":1,"numTotalTests":26,"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":1794865071890,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":["correspondence Gmail import"],"duration":832,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import shows ranked Gmail suggestions with reasons and refreshes correspondence after message import","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794865076212,"status":"passed","title":"shows ranked Gmail suggestions with reasons and refreshes correspondence after message import"},{"ancestorTitles":["correspondence Gmail import"],"duration":152,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import automatically refreshes already-linked Gmail threads without manual re-import","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794865077045,"status":"passed","title":"automatically refreshes already-linked Gmail threads without manual re-import"},{"ancestorTitles":["correspondence Gmail import","linked refresh completion lifetime"],"duration":112,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import linked refresh completion lifetime an automatic refresh finishing after leaving cannot start follow-up reads","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794865077197,"status":"passed","title":"an automatic refresh finishing after leaving cannot start follow-up reads"},{"ancestorTitles":["correspondence Gmail import","linked refresh completion lifetime"],"duration":409,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import linked refresh completion lifetime manual refresh feedback respects a leave boundary","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794865077309,"status":"passed","title":"manual refresh feedback respects a leave boundary"},{"ancestorTitles":["correspondence Gmail import","linked refresh completion lifetime"],"duration":459,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import linked refresh completion lifetime manual refresh feedback respects a language boundary","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794865077718,"status":"passed","title":"manual refresh feedback respects a language boundary"},{"ancestorTitles":["correspondence Gmail import","Gmail import completion lifetime"],"duration":377,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import Gmail import completion lifetime message import success after leaving cannot read or notify another workflow","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794865078177,"status":"passed","title":"message import success after leaving cannot read or notify another workflow"},{"ancestorTitles":["correspondence Gmail import","Gmail import completion lifetime"],"duration":384,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import Gmail import completion lifetime message import failure after leaving cannot read or notify another workflow","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794865078554,"status":"passed","title":"message import failure after leaving cannot read or notify another workflow"},{"ancestorTitles":["correspondence Gmail import","Gmail import completion lifetime"],"duration":358,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import Gmail import completion lifetime thread import success after leaving cannot read or notify another workflow","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794865078938,"status":"passed","title":"thread import success after leaving cannot read or notify another workflow"},{"ancestorTitles":["correspondence Gmail import","Gmail import completion lifetime"],"duration":337,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import Gmail import completion lifetime thread import failure after leaving cannot read or notify another workflow","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794865079296,"status":"passed","title":"thread import failure after leaving cannot read or notify another workflow"},{"ancestorTitles":["correspondence Gmail import","Gmail import completion lifetime"],"duration":450,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import Gmail import completion lifetime message import failure uses the current language","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794865079634,"status":"passed","title":"message import failure uses the current language"},{"ancestorTitles":["correspondence Gmail import","Gmail import completion lifetime"],"duration":340,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import Gmail import completion lifetime thread import failure uses the current language","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794865080084,"status":"passed","title":"thread import failure uses the current language"},{"ancestorTitles":["correspondence Gmail import"],"duration":292,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import lets the user unlink a linked Gmail thread","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794865080424,"status":"passed","title":"lets the user unlink a linked Gmail thread"},{"ancestorTitles":["correspondence Gmail import"],"duration":406,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import lets the user move a linked Gmail thread to another job","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794865080716,"status":"passed","title":"lets the user move a linked Gmail thread to another job"},{"ancestorTitles":["correspondence Gmail import"],"duration":170,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import shows Gmail sync state diagnostics alongside linked thread continuity","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794865081122,"status":"passed","title":"shows Gmail sync state diagnostics alongside linked thread continuity"},{"ancestorTitles":["correspondence Gmail import"],"duration":414,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import manual Gmail search override reloads job candidates with queryOverride","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794865081292,"status":"passed","title":"manual Gmail search override reloads job candidates with queryOverride"},{"ancestorTitles":["correspondence Gmail import"],"duration":344,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import candidate results retain the newest query when requests finish older-first","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794865081706,"status":"passed","title":"candidate results retain the newest query when requests finish older-first"},{"ancestorTitles":["correspondence Gmail import"],"duration":232,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import candidate results retain the newest query when requests finish newer-first","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794865082050,"status":"passed","title":"candidate results retain the newest query when requests finish newer-first"},{"ancestorTitles":["correspondence Gmail import"],"duration":291,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import candidate failure follows the current locale without a language-triggered Gmail read","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794865082282,"status":"passed","title":"candidate failure follows the current locale without a language-triggered Gmail read"},{"ancestorTitles":["correspondence Gmail import"],"duration":312,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import a candidate failure after leaving the job cannot notify the next job","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794865082573,"status":"passed","title":"a candidate failure after leaving the job cannot notify the next job"},{"ancestorTitles":["correspondence Gmail import"],"duration":92,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import ignores an unsolicited Gmail success without status, candidate reads or feedback","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794865082885,"status":"passed","title":"ignores an unsolicited Gmail success without status, candidate reads or feedback"},{"ancestorTitles":["correspondence Gmail import"],"duration":406,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import accepts only the pending Gmail popup and callback origin, including a just-closed popup, once","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794865082977,"status":"passed","title":"accepts only the pending Gmail popup and callback origin, including a just-closed popup, once"},{"ancestorTitles":["correspondence Gmail import"],"duration":322,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import keeps a pending Gmail popup across locale changes and reports terminal error in the current locale once","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794865083383,"status":"passed","title":"keeps a pending Gmail popup across locale changes and reports terminal error in the current locale once"},{"ancestorTitles":["correspondence Gmail import"],"duration":187,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import does not open a Gmail popup when its connect URL resolves after unmount","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794865083705,"status":"passed","title":"does not open a Gmail popup when its connect URL resolves after unmount"},{"ancestorTitles":["correspondence Gmail import"],"duration":322,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import invalidates the pending Gmail callback when the correspondence job changes","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794865083892,"status":"passed","title":"invalidates the pending Gmail callback when the correspondence job changes"},{"ancestorTitles":["correspondence Gmail import"],"duration":256,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import delayed blocked Gmail startup feedback follows a locale change while the connect URL is pending","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794865084214,"status":"passed","title":"delayed blocked Gmail startup feedback follows a locale change while the connect URL is pending"},{"ancestorTitles":["correspondence Gmail import"],"duration":231,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"correspondence Gmail import delayed rejected Gmail startup feedback follows a locale change while the connect URL is pending","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794865084470,"status":"passed","title":"delayed rejected Gmail startup feedback follows a locale change while the connect URL is pending"}],"endTime":1794865084702,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\correspondence-gmail-import.test.tsx","startTime":1794865072956,"status":"passed","summary":""}],"wasInterrupted":false}
diff --git a/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-confirmed.json.gz b/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-confirmed.json.gz
new file mode 100644
index 00000000..412585b4
Binary files /dev/null and b/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-confirmed.json.gz differ
diff --git a/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-confirmed.txt b/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-confirmed.txt
new file mode 100644
index 00000000..39b333a3
--- /dev/null
+++ b/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-confirmed.txt
@@ -0,0 +1,6 @@
+Test Suites: 1 passed, 1 total
+Tests: 26 passed, 26 total
+Snapshots: 0 total
+Time: 12.817 s
+Ran all test suites matching src/correspondence-gmail-import.test.tsx.
+Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\gmail-import-confirmed.json
diff --git a/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-confirmed.txt.gz b/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-confirmed.txt.gz
new file mode 100644
index 00000000..d02e11b7
Binary files /dev/null and b/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-confirmed.txt.gz differ
diff --git a/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-green.txt b/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-green.txt
new file mode 100644
index 00000000..4e966c89
--- /dev/null
+++ b/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-green.txt
@@ -0,0 +1,7 @@
+
+Test Suites: 5 passed, 5 total
+Tests: 90 passed, 90 total
+Snapshots: 0 total
+Time: 47.647 s
+Ran all test suites matching src/correspondence-gmail-import.test.tsx|src/correspondence-recovery.test.tsx|src/correspondence-inbox-page.test.tsx|src/end-to-end-trust-loop.test.tsx|src/correspondence-search-context.test.ts.
+Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\gmail-import-results.json
diff --git a/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-green.txt.gz b/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-green.txt.gz
new file mode 100644
index 00000000..8f1d3e57
Binary files /dev/null and b/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-green.txt.gz differ
diff --git a/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-red.txt b/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-red.txt
new file mode 100644
index 00000000..fc02a11c
--- /dev/null
+++ b/docs/ui-modernisation/evidence/gmail-import-lifetime/gmail-import-red.txt
@@ -0,0 +1,364 @@
+FAIL src/correspondence-gmail-import.test.tsx (13.289 s)
+ ● correspondence Gmail import › Gmail import completion lifetime › message import success after leaving cannot read or notify another workflow
+
+ expect(element).not.toBeInTheDocument()
+
+ expected document not to contain element, found
Import email
instead
+
+ 427 | });
+ 428 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
+ > 429 | expect(screen.queryByRole('alert')).not.toBeInTheDocument();
+ | ^
+ 430 | });
+ 431 |
+ 432 | test.each(['message', 'thread'] as const)('%s import failure uses the current language', async kind => {
+
+ at toBeInTheDocument (src/correspondence-gmail-import.test.tsx:429:47)
+
+ ● correspondence Gmail import › Gmail import completion lifetime › message import failure after leaving cannot read or notify another workflow
+
+ expect(element).not.toBeInTheDocument()
+
+ expected document not to contain element, found
Failed to import Gmail message.
instead
+
+ 427 | });
+ 428 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
+ > 429 | expect(screen.queryByRole('alert')).not.toBeInTheDocument();
+ | ^
+ 430 | });
+ 431 |
+ 432 | test.each(['message', 'thread'] as const)('%s import failure uses the current language', async kind => {
+
+ at toBeInTheDocument (src/correspondence-gmail-import.test.tsx:429:47)
+
+ ● correspondence Gmail import › Gmail import completion lifetime › thread import success after leaving cannot read or notify another workflow
+
+ expect(element).not.toBeInTheDocument()
+
+ expected document not to contain element, found
Imported 1 messages.
instead
+
+ 427 | });
+ 428 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
+ > 429 | expect(screen.queryByRole('alert')).not.toBeInTheDocument();
+ | ^
+ 430 | });
+ 431 |
+ 432 | test.each(['message', 'thread'] as const)('%s import failure uses the current language', async kind => {
+
+ at toBeInTheDocument (src/correspondence-gmail-import.test.tsx:429:47)
+
+ ● correspondence Gmail import › Gmail import completion lifetime › thread import failure after leaving cannot read or notify another workflow
+
+ expect(element).not.toBeInTheDocument()
+
+ expected document not to contain element, found
Failed to import Gmail thread.
instead
+
+ 427 | });
+ 428 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
+ > 429 | expect(screen.queryByRole('alert')).not.toBeInTheDocument();
+ | ^
+ 430 | });
+ 431 |
+ 432 | test.each(['message', 'thread'] as const)('%s import failure uses the current language', async kind => {
+
+ at toBeInTheDocument (src/correspondence-gmail-import.test.tsx:429:47)
+
+ ● correspondence Gmail import › Gmail import completion lifetime › message import failure uses the current language
+
+ Unable to find an element with the text: Kunne ikke importere Gmail-melding.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
+
+ Ignored nodes: comments, script, style
+
+
+
+
+ Innhold lastet.
+
+
+
+ Ingen meldinger ennå.
+
+
+
+
+ Kontinuitet i tilknyttede Gmail-tråder
+
+
+ Gmail-oppdateringen sjekker bare tråder som allerede er knyttet til denne jobben, slik at ny korrespondanse kan vises her uten å importere hele tråden på nytt.
+
+
+
+
+ Gmail tilkoblet
+
+
+
+
+ Ingen tilknyttede tråder ennå
+
+
+
+
+ Siste Gmail-synkronisering (list-messages) mislyktes
+
+
+
+
+ Siste problem med Gmail-synkronisering: Token refresh failed
+