diff --git a/docs/ui-modernisation/INTERVIEW_LANGUAGE_CONTINUITY.md b/docs/ui-modernisation/INTERVIEW_LANGUAGE_CONTINUITY.md new file mode 100644 index 00000000..c525de29 --- /dev/null +++ b/docs/ui-modernisation/INTERVIEW_LANGUAGE_CONTINUITY.md @@ -0,0 +1,11 @@ +# Interview preparation language continuity + +17 November 2026. Source `24e4e10905c7ff098abe548683e5b7ef7a868b25`, baseline `2531bbb4`, branch `codex/a3-ui-10`. + +The preparation loader depended on translated fallback text. A language switch reloaded the board and remounted answer rows, losing unsaved answers and clearing failure context. Keep the loader dependent on job identity and resolve its read/mutation fallback keys from the retained cause at presentation time. Existing child-provided string errors and server-message extraction remain. Deletion confirmation now uses existing descriptors and a literal item-title parameter. + +Six final original-source EN/NB regressions FAILED: pending deletion/answer preservation, visible read error and visible mutation error. Original source replay restored the fixed file byte-for-byte. Final **36 cases/three complete affected suites PASSED**, zero failures/skips; initial24 overlaps36. Non-incremental TypeScript, two-file lint, source diff check and AST19,333 nodes/47,484 edges passed. Source/native gzip receipts: `evidence/interview-dialog/SOURCE_RECEIPTS.json`; raw failure-log whitespace retained. + +Cancellation restores focus and preserves the unsaved answer; approved deletion sends one original job/item endpoint. No extra preparation-board read on language switch. This is explicitly not a zero-request claim for the whole page: linked-CV AI presentation and follow-up loaders remain separate. Native/API/model/provider execution and final A3/European/security/release acceptance are not covered. Prior Next build remains FAILED. Rollback: revert this source commit; no migration. + +Follow-up separately reproduced six draft/date/next-action and read/save-error failures and is being addressed outside this snapshot. Broader stale job/session completion and child answer-save error presentation remain unqualified. diff --git a/docs/ui-modernisation/evidence/interview-dialog/SOURCE_RECEIPTS.json b/docs/ui-modernisation/evidence/interview-dialog/SOURCE_RECEIPTS.json new file mode 100644 index 00000000..5cbd4693 --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-dialog/SOURCE_RECEIPTS.json @@ -0,0 +1,90 @@ +{ + "sourceCommit": "24e4e10905c7ff098abe548683e5b7ef7a868b25", + "sourcesLfSha256": { + "job-tracker-ui/src/components/InterviewPrep.tsx": "1d1e04c4e42715615a17d077024c5fd9437366d8b9d56c1b6ce4c5165914e9e6", + "job-tracker-ui/src/interview-prep.test.tsx": "1cdb3907f6d0655ca8fa74c0a7aa4e641dddf61e956a3721869f120b30e39509", + "job-tracker-ui/src/named-controls.test.tsx": "c8b519701685c434a729a50aeb5e0dfafbaf8a166fb223ab400b28554c5c445f", + "job-tracker-ui/src/application-workflow-assist.test.tsx": "11a1d057ad2ba652da12f0c6529b8a9b7b5bdbf9cdd52799fbbbd524bc5c8e33" + }, + "evidenceLfSha256": { + "red.json": "7160d005387ffa5b30ebb54ffd4e038121ec54c653f2a76b25e051eab7a8f54b", + "red.txt": "6adfa8754ea0fb481069a50247721f86cc556cd87c89989060bc1fc0e5affb60", + "red-final.json": "efd3aa9ff6ccf1a9c019c4741ce96ca4d9ba1d537eaebec9c4f227905bc280f9", + "red-final.txt": "45227a263cb2ca2c64201da42c73e349c692d1768910c240a4bfad4a826f0f6b", + "green.json": "d56ba0c7200bab7f29b7b3dc6d1f70c781e95f45a1d270138db205c69f495015", + "green.txt": "d1dc6573b42fc3fac49999c0a1d53b7c61fc3a325a325ee2ddf36957f9630747", + "final.json": "b877ea63b237864091d96291e36e9d4eb418a338b894bf830232a0cd4d0c8b70", + "final.txt": "eac08cad9cff412abf755b1fed8a6d356a7052d602abaae2e58a2534d7f67b2f", + "typecheck.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "graph.txt": "763d4574ba148adb007d443baa92632ef6f8fd94e97fbc87a966c3c5a10643d6" + }, + "nativeReceipts": [ + { + "path": "red.json", + "gzipPath": "red.json.gz", + "rawSha256": "7160d005387ffa5b30ebb54ffd4e038121ec54c653f2a76b25e051eab7a8f54b", + "gzipSha256": "b7ff65153bfed29eb745bc21b19ed41f8e48c7cf7bb7c5ff24ea9883149ead27" + }, + { + "path": "red.txt", + "gzipPath": "red.txt.gz", + "rawSha256": "e696028d23d66e845223d9a9aac00907b582c067073dd246242b91620aed7cf3", + "gzipSha256": "757f4c1696fecce57f65b17cde375f17777884948236dbeaeb74719263849e08" + }, + { + "path": "red-final.json", + "gzipPath": "red-final.json.gz", + "rawSha256": "efd3aa9ff6ccf1a9c019c4741ce96ca4d9ba1d537eaebec9c4f227905bc280f9", + "gzipSha256": "f984d4ccfbb6ced9fdd36c41776927394248c75dc8626b709d6e1cabdad45d2b" + }, + { + "path": "red-final.txt", + "gzipPath": "red-final.txt.gz", + "rawSha256": "45227a263cb2ca2c64201da42c73e349c692d1768910c240a4bfad4a826f0f6b", + "gzipSha256": "d7e8636dab054304a709ea499609e8b3a442b038fc44352af272f55c1cff2e00" + }, + { + "path": "green.json", + "gzipPath": "green.json.gz", + "rawSha256": "d56ba0c7200bab7f29b7b3dc6d1f70c781e95f45a1d270138db205c69f495015", + "gzipSha256": "1e5829528152234eb59600686de83e6abe6e03cc3d577c59d7af53969c364549" + }, + { + "path": "green.txt", + "gzipPath": "green.txt.gz", + "rawSha256": "7224d9798df3de3948e074ba17c4a04ed3027c5b3a9e7f68c7df4b11468cc9db", + "gzipSha256": "653e8ed815d24e2767c1ea87a543c9556663e3dc5c0a2a692a39e392d5f499f2" + }, + { + "path": "final.json", + "gzipPath": "final.json.gz", + "rawSha256": "b877ea63b237864091d96291e36e9d4eb418a338b894bf830232a0cd4d0c8b70", + "gzipSha256": "9261095f65f963ab55d2d238360e58b36f45533b34aba0c0300d45c304a5fc39" + }, + { + "path": "final.txt", + "gzipPath": "final.txt.gz", + "rawSha256": "daa6924987fa3dc5d4a8bf6c3aa5f5d549574efa61464f73190ba367d060c0e9", + "gzipSha256": "84d3d41e20ddc24ca2aab6ee50684546d4dcc5cc04bc8ae1fd7c35ff9a926d8e" + }, + { + "path": "typecheck.txt", + "gzipPath": "typecheck.txt.gz", + "rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e" + }, + { + "path": "lint.txt", + "gzipPath": "lint.txt.gz", + "rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e" + }, + { + "path": "graph.txt", + "gzipPath": "graph.txt.gz", + "rawSha256": "a9291c24e7ff40aa44265e490fe5c1d88686e7893e6cb6dd0fda28acc78c835e", + "gzipSha256": "33e283179d16cbf8ee93cb58a66951920f139db5d5c6040b7389f14c2246368d" + } + ] +} diff --git a/docs/ui-modernisation/evidence/interview-dialog/final.json b/docs/ui-modernisation/evidence/interview-dialog/final.json new file mode 100644 index 00000000..1c2c350d --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-dialog/final.json @@ -0,0 +1 @@ +{"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":3,"numPassedTests":36,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":3,"numTotalTests":36,"openHandles":[],"snapshot":{"added":0,"didUpdate":false,"failure":false,"filesAdded":0,"filesRemoved":0,"filesRemovedList":[],"filesUnmatched":0,"filesUpdated":0,"matched":0,"total":0,"unchecked":0,"uncheckedKeysByFile":[],"unmatched":0,"updated":0},"startTime":1794926629768,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":1214,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending preparation deletion follows en without a preparation reload or answer loss","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794926633587,"status":"passed","title":"pending preparation deletion follows en without a preparation reload or answer loss"},{"ancestorTitles":[],"duration":806,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending preparation deletion follows nb without a preparation reload or answer loss","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794926634802,"status":"passed","title":"pending preparation deletion follows nb without a preparation reload or answer loss"},{"ancestorTitles":[],"duration":190,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation read error follows en without another preparation request","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794926635608,"status":"passed","title":"visible preparation read error follows en without another preparation request"},{"ancestorTitles":[],"duration":181,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation read error follows nb without another preparation request","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794926635799,"status":"passed","title":"visible preparation read error follows nb without another preparation request"},{"ancestorTitles":[],"duration":490,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation mutation error follows en without clearing the failure through a reload","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794926635981,"status":"passed","title":"visible preparation mutation error follows en without clearing the failure through a reload"},{"ancestorTitles":[],"duration":496,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation mutation error follows nb without clearing the failure through a reload","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794926636472,"status":"passed","title":"visible preparation mutation error follows nb without clearing the failure through a reload"},{"ancestorTitles":["en unknown interview categories"],"duration":152,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves constructor as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926636968,"status":"passed","title":"preserves constructor as a category label"},{"ancestorTitles":["en unknown interview categories"],"duration":125,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves toString as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926637120,"status":"passed","title":"preserves toString as a category label"},{"ancestorTitles":["en unknown interview categories"],"duration":123,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves __proto__ as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926637245,"status":"passed","title":"preserves __proto__ as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":122,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves constructor as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926637369,"status":"passed","title":"preserves constructor as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":125,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves toString as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926637491,"status":"passed","title":"preserves toString as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":77,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves __proto__ as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926637616,"status":"passed","title":"preserves __proto__ as a category label"},{"ancestorTitles":[],"duration":159,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"localizes interview categories while preserving user-authored preparation","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794926637693,"status":"passed","title":"localizes interview categories while preserving user-authored preparation"},{"ancestorTitles":[],"duration":136,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prep renders grouped items with progress and marks AI-sourced ones","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794926637852,"status":"passed","title":"prep renders grouped items with progress and marks AI-sourced ones"},{"ancestorTitles":[],"duration":259,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"delete tooltip describes its wrapper while the disabled button keeps its item name","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794926637988,"status":"passed","title":"delete tooltip describes its wrapper while the disabled button keeps its item name"},{"ancestorTitles":[],"duration":341,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"adding a prep item posts the chosen category and title","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926638247,"status":"passed","title":"adding a prep item posts the chosen category and title"},{"ancestorTitles":[],"duration":249,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"starts a structured interview debrief without inventing answers","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926638588,"status":"passed","title":"starts a structured interview debrief without inventing answers"},{"ancestorTitles":[],"duration":214,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"marking an item ready patches it","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926638837,"status":"passed","title":"marking an item ready patches it"},{"ancestorTitles":[],"duration":247,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an answer is only saved when the user asks","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926639051,"status":"passed","title":"an answer is only saved when the user asks"},{"ancestorTitles":[],"duration":309,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"deleting a prep item calls delete","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926639298,"status":"passed","title":"deleting a prep item calls delete"},{"ancestorTitles":[],"duration":122,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"empty prep shows a useful empty state","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926639608,"status":"passed","title":"empty prep shows a useful empty state"},{"ancestorTitles":[],"duration":307,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"AI preparation uses the linked CV and only saves after explicit acceptance","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794926639730,"status":"passed","title":"AI preparation uses the linked CV and only saves after explicit acceptance"},{"ancestorTitles":[],"duration":93,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prep surfaces a load error","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926640037,"status":"passed","title":"prep surfaces a load error"},{"ancestorTitles":[],"duration":30,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up loads the existing date and open checklist tasks","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794926640130,"status":"passed","title":"follow-up loads the existing date and open checklist tasks"},{"ancestorTitles":[],"duration":61,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"saving a follow-up sends the date and next action","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926640160,"status":"passed","title":"saving a follow-up sends the date and next action"},{"ancestorTitles":[],"duration":30,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"no follow-up shows an empty state","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926640222,"status":"passed","title":"no follow-up shows an empty state"}],"endTime":1794926640254,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx","startTime":1794926630618,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":90,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"recruiter status suggestions require an explicit apply action","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794926641125,"status":"passed","title":"recruiter status suggestions require an explicit apply action"},{"ancestorTitles":[],"duration":156,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"strategy snapshot shows saved output and queues regeneration only on request","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794926641216,"status":"passed","title":"strategy snapshot shows saved output and queues regeneration only on request"},{"ancestorTitles":[],"duration":145,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed strategy reads stay distinct from empty, localize without refetching and retry only the read","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794926641372,"status":"passed","title":"failed strategy reads stay distinct from empty, localize without refetching and retry only the read"},{"ancestorTitles":[],"duration":41,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"only the explicit not-generated response is an intentional empty strategy","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794926641517,"status":"passed","title":"only the explicit not-generated response is an intentional empty strategy"},{"ancestorTitles":[],"duration":47,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a late strategy response cannot replace another job and denial never offers read retry","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794926641559,"status":"passed","title":"a late strategy response cannot replace another job and denial never offers read retry"}],"endTime":1794926641607,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\application-workflow-assist.test.tsx","startTime":1794926640265,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":735,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"[PRES-C08 PRES-C09] en CV selects have visible names and retain exact override patches","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794926642579,"status":"passed","title":"[PRES-C08 PRES-C09] en CV selects have visible names and retain exact override patches"},{"ancestorTitles":[],"duration":589,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"[PRES-C08 PRES-C09] nb CV selects have visible names and retain exact override patches","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794926643314,"status":"passed","title":"[PRES-C08 PRES-C09] nb CV selects have visible names and retain exact override patches"},{"ancestorTitles":[],"duration":182,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"[PRES-C07 PRES-W06] en rich text retains names, selected Markdown and editor focus","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794926643903,"status":"passed","title":"[PRES-C07 PRES-W06] en rich text retains names, selected Markdown and editor focus"},{"ancestorTitles":[],"duration":170,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"[PRES-C07 PRES-W06] nb rich text retains names, selected Markdown and editor focus","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794926644085,"status":"passed","title":"[PRES-C07 PRES-W06] nb rich text retains names, selected Markdown and editor focus"},{"ancestorTitles":[],"duration":53,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"[PRES-C07 PRES-W06] disabled rich text cannot format or edit and repeated fields keep separate labels","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794926644255,"status":"passed","title":"[PRES-C07 PRES-W06] disabled rich text cannot format or edit and repeated fields keep separate labels"}],"endTime":1794926644308,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\named-controls.test.tsx","startTime":1794926641619,"status":"passed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/interview-dialog/final.json.gz b/docs/ui-modernisation/evidence/interview-dialog/final.json.gz new file mode 100644 index 00000000..bb30ea71 Binary files /dev/null and b/docs/ui-modernisation/evidence/interview-dialog/final.json.gz differ diff --git a/docs/ui-modernisation/evidence/interview-dialog/final.txt b/docs/ui-modernisation/evidence/interview-dialog/final.txt new file mode 100644 index 00000000..b8981bc0 --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-dialog/final.txt @@ -0,0 +1,7 @@ + +Test Suites: 3 passed, 3 total +Tests: 36 passed, 36 total +Snapshots: 0 total +Time: 14.545 s +Ran all test suites matching src/interview-prep.test.tsx|src/named-controls.test.tsx|src/application-workflow-assist.test.tsx. +Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\interview-dialog-final.json diff --git a/docs/ui-modernisation/evidence/interview-dialog/final.txt.gz b/docs/ui-modernisation/evidence/interview-dialog/final.txt.gz new file mode 100644 index 00000000..50ac42fe Binary files /dev/null and b/docs/ui-modernisation/evidence/interview-dialog/final.txt.gz differ diff --git a/docs/ui-modernisation/evidence/interview-dialog/graph.txt b/docs/ui-modernisation/evidence/interview-dialog/graph.txt new file mode 100644 index 00000000..22a9a543 --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-dialog/graph.txt @@ -0,0 +1,18 @@ +Re-extracting code files in . (no LLM needed)... +[graphify watch] 776 file(s) not classified (no supported extension or shebang), skipped: .dockerignore, .env.example, .git, .gitattributes, .gitignore, 1440-en-dark-converted.gz (+770 more) + AST cache: 2640/3091 files served from cache (85%); 451 to extract + AST extraction: 100/451 uncached files (22%) [16 workers] + AST extraction: 200/451 uncached files (44%) [16 workers] + AST extraction: 300/451 uncached files (66%) [16 workers] + AST extraction: 400/451 uncached files (88%) [16 workers] + AST extraction: 451/451 uncached files (100%) [16 workers] + warning: 8 .sql file(s) contributed nothing to the graph because a dependency is missing: tree_sitter_sql not installed. Install it with: pip install "graphifyy[sql]" (#1745) + warning: 145 code file(s) yielded no symbols (0.15 MB) — a data file, or source this extractor models no symbols for: JobTrackerApi.Tests/PdfBrowserStub/Program.cs, JobTrackerApi/Program.cs, JobTrackerApi/Properties/AssemblyInfo.cs, browser-extension/tests/capture-url.test.mjs, docs/audits/2026-09-07/validation/evidence/b05-excel-probe.ps1 (+140 more) +[graphify watch] community set changed since labeling (0 saved labels, 1230 communities now; renamed 117 community(ies) by their hub). Run `graphify label` to refresh names with the LLM. +Graph has 19333 nodes (above 5000 limit). Building aggregated community view... +graph.html written (aggregated: 1230 community nodes, 3185 cross-community edges) +Tip: run with --obsidian for full node-level detail. +[graphify watch] Rebuilt: 19333 nodes, 47484 edges, 1230 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/interview-dialog/graph.txt.gz b/docs/ui-modernisation/evidence/interview-dialog/graph.txt.gz new file mode 100644 index 00000000..73584ad0 Binary files /dev/null and b/docs/ui-modernisation/evidence/interview-dialog/graph.txt.gz differ diff --git a/docs/ui-modernisation/evidence/interview-dialog/green.json b/docs/ui-modernisation/evidence/interview-dialog/green.json new file mode 100644 index 00000000..a5623884 --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-dialog/green.json @@ -0,0 +1 @@ +{"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":1,"numPassedTests":24,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":1,"numTotalTests":24,"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":1794926473200,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":919,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending preparation deletion follows en without a preparation reload or answer loss","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794926476498,"status":"passed","title":"pending preparation deletion follows en without a preparation reload or answer loss"},{"ancestorTitles":[],"duration":659,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending preparation deletion follows nb without a preparation reload or answer loss","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794926477418,"status":"passed","title":"pending preparation deletion follows nb without a preparation reload or answer loss"},{"ancestorTitles":[],"duration":147,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation read error follows en without another preparation request","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794926478078,"status":"passed","title":"visible preparation read error follows en without another preparation request"},{"ancestorTitles":[],"duration":140,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation read error follows nb without another preparation request","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794926478225,"status":"passed","title":"visible preparation read error follows nb without another preparation request"},{"ancestorTitles":["en unknown interview categories"],"duration":107,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves constructor as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926478365,"status":"passed","title":"preserves constructor as a category label"},{"ancestorTitles":["en unknown interview categories"],"duration":106,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves toString as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926478472,"status":"passed","title":"preserves toString as a category label"},{"ancestorTitles":["en unknown interview categories"],"duration":105,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves __proto__ as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926478578,"status":"passed","title":"preserves __proto__ as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":111,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves constructor as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926478683,"status":"passed","title":"preserves constructor as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":108,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves toString as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926478794,"status":"passed","title":"preserves toString as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":100,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves __proto__ as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926478903,"status":"passed","title":"preserves __proto__ as a category label"},{"ancestorTitles":[],"duration":117,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"localizes interview categories while preserving user-authored preparation","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794926479003,"status":"passed","title":"localizes interview categories while preserving user-authored preparation"},{"ancestorTitles":[],"duration":126,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prep renders grouped items with progress and marks AI-sourced ones","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794926479120,"status":"passed","title":"prep renders grouped items with progress and marks AI-sourced ones"},{"ancestorTitles":[],"duration":181,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"delete tooltip describes its wrapper while the disabled button keeps its item name","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794926479246,"status":"passed","title":"delete tooltip describes its wrapper while the disabled button keeps its item name"},{"ancestorTitles":[],"duration":154,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"adding a prep item posts the chosen category and title","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926479427,"status":"passed","title":"adding a prep item posts the chosen category and title"},{"ancestorTitles":[],"duration":182,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"starts a structured interview debrief without inventing answers","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926479582,"status":"passed","title":"starts a structured interview debrief without inventing answers"},{"ancestorTitles":[],"duration":140,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"marking an item ready patches it","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926479764,"status":"passed","title":"marking an item ready patches it"},{"ancestorTitles":[],"duration":154,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an answer is only saved when the user asks","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926479904,"status":"passed","title":"an answer is only saved when the user asks"},{"ancestorTitles":[],"duration":262,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"deleting a prep item calls delete","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926480058,"status":"passed","title":"deleting a prep item calls delete"},{"ancestorTitles":[],"duration":94,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"empty prep shows a useful empty state","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794926480320,"status":"passed","title":"empty prep shows a useful empty state"},{"ancestorTitles":[],"duration":185,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"AI preparation uses the linked CV and only saves after explicit acceptance","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794926480414,"status":"passed","title":"AI preparation uses the linked CV and only saves after explicit acceptance"},{"ancestorTitles":[],"duration":61,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prep surfaces a load error","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926480599,"status":"passed","title":"prep surfaces a load error"},{"ancestorTitles":[],"duration":31,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up loads the existing date and open checklist tasks","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794926480660,"status":"passed","title":"follow-up loads the existing date and open checklist tasks"},{"ancestorTitles":[],"duration":61,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"saving a follow-up sends the date and next action","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926480691,"status":"passed","title":"saving a follow-up sends the date and next action"},{"ancestorTitles":[],"duration":16,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"no follow-up shows an empty state","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794926480752,"status":"passed","title":"no follow-up shows an empty state"}],"endTime":1794926480769,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx","startTime":1794926473993,"status":"passed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/interview-dialog/green.json.gz b/docs/ui-modernisation/evidence/interview-dialog/green.json.gz new file mode 100644 index 00000000..2844f363 Binary files /dev/null and b/docs/ui-modernisation/evidence/interview-dialog/green.json.gz differ diff --git a/docs/ui-modernisation/evidence/interview-dialog/green.txt b/docs/ui-modernisation/evidence/interview-dialog/green.txt new file mode 100644 index 00000000..23aafd73 --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-dialog/green.txt @@ -0,0 +1,6 @@ +Test Suites: 1 passed, 1 total +Tests: 24 passed, 24 total +Snapshots: 0 total +Time: 7.573 s +Ran all test suites matching src/interview-prep.test.tsx. +Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\interview-dialog-green.json diff --git a/docs/ui-modernisation/evidence/interview-dialog/green.txt.gz b/docs/ui-modernisation/evidence/interview-dialog/green.txt.gz new file mode 100644 index 00000000..ba70ffcd Binary files /dev/null and b/docs/ui-modernisation/evidence/interview-dialog/green.txt.gz differ diff --git a/docs/ui-modernisation/evidence/interview-dialog/lint.txt b/docs/ui-modernisation/evidence/interview-dialog/lint.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/ui-modernisation/evidence/interview-dialog/lint.txt.gz b/docs/ui-modernisation/evidence/interview-dialog/lint.txt.gz new file mode 100644 index 00000000..ae211a2c Binary files /dev/null and b/docs/ui-modernisation/evidence/interview-dialog/lint.txt.gz differ diff --git a/docs/ui-modernisation/evidence/interview-dialog/red-final.json b/docs/ui-modernisation/evidence/interview-dialog/red-final.json new file mode 100644 index 00000000..8cfcb7dd --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-dialog/red-final.json @@ -0,0 +1 @@ +{"numFailedTestSuites":1,"numFailedTests":6,"numPassedTestSuites":0,"numPassedTests":0,"numPendingTestSuites":0,"numPendingTests":20,"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":1794926573004,"success":false,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":807,"failing":false,"failureDetails":[{"name":"TestingLibraryElementError"}],"failureMessages":["TestingLibraryElementError: Unable to find an accessible element with the role \"dialog\" and name \"Slette forberedelseselement?\"\n\nHere are the accessible roles:\n\n presentation:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n dialog:\n\n Name \"Delete preparation item?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"Delete preparation item?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n region:\n\n Name \"Delete preparation item?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n button:\n\n Name \"Avbryt\":\n \u001b[36m\u001b[39m\n\n Name \"Delete\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n\nIgnored nodes: comments, script, style\n\u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mIntervjuforberedelse\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mDin research, dine svar og spørsmål. AI-forslag lagres bare når du godtar dem.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInnhold lastet.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFremdrift for intervjuforberedelse\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 av 2 klare\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mSelskapsresearch\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFunding history\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n dialog:\n\n Name \"Slette forberedelseselement?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"Slette forberedelseselement?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n region:\n\n Name \"Slette forberedelseselement?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n button:\n\n Name \"Cancel\":\n \u001b[36m\u001b[39m\n\n Name \"Slett\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n\nIgnored nodes: comments, script, style\n\u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInterview preparation\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mYour research, answers and questions. AI suggestions are only saved when you accept them.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mContent loaded.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInterview preparation progress\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 of 2 ready\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mCompany research\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFunding history\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mIntervjuforberedelse\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mDin research, dine svar og spørsmål. AI-forslag lagres bare når du godtar dem.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInnhold lastet.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFremdrift for intervjuforberedelse\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 av 2 klare\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mSelskapsresearch\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFunding history\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInterview preparation\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mYour research, answers and questions. AI suggestions are only saved when you accept them.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mContent loaded.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInterview preparation progress\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 of 2 ready\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mCompany research\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFunding history\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n dialog:\n\n Name \"Delete preparation item?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"Delete preparation item?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n region:\n\n Name \"Delete preparation item?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n button:\n\n Name \"Avbryt\":\n \u001b[36m\u001b[39m\n\n Name \"Delete\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n\n Ignored nodes: comments, script, style\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mIntervjuforberedelse\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mDin research, dine svar og spørsmål. AI-forslag lagres bare når du godtar dem.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInnhold lastet.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFremdrift for intervjuforberedelse\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 av 2 klare\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mSelskapsresearch\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFunding history\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n > 78 | expect(screen.getByRole('dialog', { name: translations[to].interviewPrepDeleteTitle })).toBe(dialog);\n | ^\n 79 | expect(dialog).toHaveAccessibleDescription(translations[to].interviewPrepDeleteMessage.replace('{title}', 'Funding history'));\n 80 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1);\n 81 | expect(mockedApi.delete).not.toHaveBeenCalled();\n\n at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)\n at node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at getByRole (src/interview-prep.test.tsx:78:17)\n\n ● pending preparation deletion follows nb without a preparation reload or answer loss\n\n TestingLibraryElementError: Unable to find an accessible element with the role \"dialog\" and name \"Delete preparation item?\"\n\n Here are the accessible roles:\n\n presentation:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n dialog:\n\n Name \"Slette forberedelseselement?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"Slette forberedelseselement?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n region:\n\n Name \"Slette forberedelseselement?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n button:\n\n Name \"Cancel\":\n \u001b[36m\u001b[39m\n\n Name \"Slett\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n\n Ignored nodes: comments, script, style\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInterview preparation\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mYour research, answers and questions. AI suggestions are only saved when you accept them.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mContent loaded.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInterview preparation progress\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 of 2 ready\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mCompany research\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFunding history\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n > 78 | expect(screen.getByRole('dialog', { name: translations[to].interviewPrepDeleteTitle })).toBe(dialog);\n | ^\n 79 | expect(dialog).toHaveAccessibleDescription(translations[to].interviewPrepDeleteMessage.replace('{title}', 'Funding history'));\n 80 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1);\n 81 | expect(mockedApi.delete).not.toHaveBeenCalled();\n\n at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)\n at node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at getByRole (src/interview-prep.test.tsx:78:17)\n\n ● visible preparation read error follows en without another preparation request\n\n expect(received).toHaveLength(expected)\n\n Expected length: 1\n Received length: 2\n Received array: [[\"/jobapplications/7/interview-prep\"], [\"/jobapplications/7/interview-prep\"]]\n\n 102 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n 103 | expect(await screen.findByText(translations[to].interviewPrepLoadFailed)).toBeVisible();\n > 104 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1);\n | ^\n 105 | expect(mockedApi.post).not.toHaveBeenCalled();\n 106 | expect(mockedApi.patch).not.toHaveBeenCalled();\n 107 | expect(mockedApi.delete).not.toHaveBeenCalled();\n\n at toHaveLength (src/interview-prep.test.tsx:104:95)\n\n ● visible preparation read error follows nb without another preparation request\n\n expect(received).toHaveLength(expected)\n\n Expected length: 1\n Received length: 2\n Received array: [[\"/jobapplications/7/interview-prep\"], [\"/jobapplications/7/interview-prep\"]]\n\n 102 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n 103 | expect(await screen.findByText(translations[to].interviewPrepLoadFailed)).toBeVisible();\n > 104 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1);\n | ^\n 105 | expect(mockedApi.post).not.toHaveBeenCalled();\n 106 | expect(mockedApi.patch).not.toHaveBeenCalled();\n 107 | expect(mockedApi.delete).not.toHaveBeenCalled();\n\n at toHaveLength (src/interview-prep.test.tsx:104:95)\n\n ● visible preparation mutation error follows en without clearing the failure through a reload\n\n Unable to find an element with the text: Kunne ikke oppdatere intervjuforberedelsen.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\n\n Ignored nodes: comments, script, style\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mIntervjuforberedelse\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mDin research, dine svar og spørsmål. AI-forslag lagres bare når du godtar dem.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInnhold lastet.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFremdrift for intervjuforberedelse\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 av 2 klare\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mSelskapsresearch\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFunding history\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n > 122 | expect(await screen.findByText(translations[to].interviewPrepUpdateFailed)).toBeVisible();\n | ^\n 123 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1);\n 124 | expect(mockedApi.post).toHaveBeenCalledTimes(1);\n 125 | expect(mockedApi.patch).not.toHaveBeenCalled();\n\n at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27)\n at node_modules/@testing-library/dom/dist/query-helpers.js:86:33\n at findByText (src/interview-prep.test.tsx:122:25)\n\n ● visible preparation mutation error follows nb without clearing the failure through a reload\n\n Unable to find an element with the text: Could not update interview preparation.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\n\n Ignored nodes: comments, script, style\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInterview preparation\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mYour research, answers and questions. AI suggestions are only saved when you accept them.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mContent loaded.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInterview preparation progress\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 of 2 ready\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mCompany research\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFunding history\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n > 122 | expect(await screen.findByText(translations[to].interviewPrepUpdateFailed)).toBeVisible();\n | ^\n 123 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1);\n 124 | expect(mockedApi.post).toHaveBeenCalledTimes(1);\n 125 | expect(mockedApi.patch).not.toHaveBeenCalled();\n\n at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27)\n at node_modules/@testing-library/dom/dist/query-helpers.js:86:33\n at findByText (src/interview-prep.test.tsx:122:25)\n","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx","startTime":1794926573787,"status":"failed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/interview-dialog/red-final.json.gz b/docs/ui-modernisation/evidence/interview-dialog/red-final.json.gz new file mode 100644 index 00000000..5b1bcbb9 Binary files /dev/null and b/docs/ui-modernisation/evidence/interview-dialog/red-final.json.gz differ diff --git a/docs/ui-modernisation/evidence/interview-dialog/red-final.txt b/docs/ui-modernisation/evidence/interview-dialog/red-final.txt new file mode 100644 index 00000000..b1cd4c9b --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-dialog/red-final.txt @@ -0,0 +1,825 @@ +FAIL src/interview-prep.test.tsx (12.93 s) + ● pending preparation deletion follows en without a preparation reload or answer loss + + TestingLibraryElementError: Unable to find an accessible element with the role "dialog" and name "Slette forberedelseselement?" + + Here are the accessible roles: + + presentation: + + Name "": +  + + Name "": +  + + -------------------------------------------------- + dialog: + + Name "Delete preparation item?": +  + + -------------------------------------------------- + heading: + + Name "Delete preparation item?": +  + + -------------------------------------------------- + region: + + Name "Delete preparation item?": +  + + -------------------------------------------------- + alert: + + Name "": +  + + -------------------------------------------------- + paragraph: + + Name "": +  + + -------------------------------------------------- + button: + + Name "Avbryt": +  + + Name "Delete": +  + + -------------------------------------------------- + + Ignored nodes: comments, script, style +  +  +  +  +  +  +  + Intervjuforberedelse +  +  + Din research, dine svar og spørsmål. AI-forslag lagres bare når du godtar dem. + 

 +  +  +  +  + Innhold lastet. +  +  +  +  +  + Fremdrift for intervjuforberedelse +  +  + 1 av 2 klare + 

 +  +  +  +  +  +  +  + Selskapsresearch +  +  +  +  +  +  +  +  +  +  +  +  +  + Funding history + 

 +  +  +  window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to }))); + > 78 | expect(screen.getByRole('dialog', { name: translations[to].interviewPrepDeleteTitle })).toBe(dialog); + | ^ + 79 | expect(dialog).toHaveAccessibleDescription(translations[to].interviewPrepDeleteMessage.replace('{title}', 'Funding history')); + 80 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1); + 81 | expect(mockedApi.delete).not.toHaveBeenCalled(); + + 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 getByRole (src/interview-prep.test.tsx:78:17) + + ● pending preparation deletion follows nb without a preparation reload or answer loss + + TestingLibraryElementError: Unable to find an accessible element with the role "dialog" and name "Delete preparation item?" + + Here are the accessible roles: + + presentation: + + Name "": +  + + Name "": +  + + -------------------------------------------------- + dialog: + + Name "Slette forberedelseselement?": +  + + -------------------------------------------------- + heading: + + Name "Slette forberedelseselement?": +  + + -------------------------------------------------- + region: + + Name "Slette forberedelseselement?": +  + + -------------------------------------------------- + alert: + + Name "": +  + + -------------------------------------------------- + paragraph: + + Name "": +  + + -------------------------------------------------- + button: + + Name "Cancel": +  + + Name "Slett": +  + + -------------------------------------------------- + + Ignored nodes: comments, script, style +  +  +  +  +  +  +  + Interview preparation +  +  + Your research, answers and questions. AI suggestions are only saved when you accept them. + 

 +  +  +  +  + Content loaded. +  +  +  +  +  + Interview preparation progress +  +  + 1 of 2 ready + 

 +  +  +  +  +  +  +  + Company research +  +  +  +  +  +  +  +  +  +  +  +  +  + Funding history + 

 +  +  +  window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to }))); + > 78 | expect(screen.getByRole('dialog', { name: translations[to].interviewPrepDeleteTitle })).toBe(dialog); + | ^ + 79 | expect(dialog).toHaveAccessibleDescription(translations[to].interviewPrepDeleteMessage.replace('{title}', 'Funding history')); + 80 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1); + 81 | expect(mockedApi.delete).not.toHaveBeenCalled(); + + 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 getByRole (src/interview-prep.test.tsx:78:17) + + ● visible preparation read error follows en without another preparation request + + expect(received).toHaveLength(expected) + + Expected length: 1 + Received length: 2 + Received array: [["/jobapplications/7/interview-prep"], ["/jobapplications/7/interview-prep"]] + + 102 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to }))); + 103 | expect(await screen.findByText(translations[to].interviewPrepLoadFailed)).toBeVisible(); + > 104 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1); + | ^ + 105 | expect(mockedApi.post).not.toHaveBeenCalled(); + 106 | expect(mockedApi.patch).not.toHaveBeenCalled(); + 107 | expect(mockedApi.delete).not.toHaveBeenCalled(); + + at toHaveLength (src/interview-prep.test.tsx:104:95) + + ● visible preparation read error follows nb without another preparation request + + expect(received).toHaveLength(expected) + + Expected length: 1 + Received length: 2 + Received array: [["/jobapplications/7/interview-prep"], ["/jobapplications/7/interview-prep"]] + + 102 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to }))); + 103 | expect(await screen.findByText(translations[to].interviewPrepLoadFailed)).toBeVisible(); + > 104 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1); + | ^ + 105 | expect(mockedApi.post).not.toHaveBeenCalled(); + 106 | expect(mockedApi.patch).not.toHaveBeenCalled(); + 107 | expect(mockedApi.delete).not.toHaveBeenCalled(); + + at toHaveLength (src/interview-prep.test.tsx:104:95) + + ● visible preparation mutation error follows en without clearing the failure through a reload + + Unable to find an element with the text: Kunne ikke oppdatere intervjuforberedelsen.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. + + Ignored nodes: comments, script, style +  + 
 +  +  +  +  +  + Intervjuforberedelse +  +  + Din research, dine svar og spørsmål. AI-forslag lagres bare når du godtar dem. + 

 + 
 +  +  +  + Innhold lastet. +  +  +  +  +  + Fremdrift for intervjuforberedelse +  +  + 1 av 2 klare + 

 +  +  +  +  +  +  +  + Selskapsresearch +  +  +  +  +  +  +  +  +  +  +  +  +  + Funding history + 

 +  +  +  window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to }))); + > 122 | expect(await screen.findByText(translations[to].interviewPrepUpdateFailed)).toBeVisible(); + | ^ + 123 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1); + 124 | expect(mockedApi.post).toHaveBeenCalledTimes(1); + 125 | expect(mockedApi.patch).not.toHaveBeenCalled(); + + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByText (src/interview-prep.test.tsx:122:25) + + ● visible preparation mutation error follows nb without clearing the failure through a reload + + Unable to find an element with the text: Could not update interview preparation.. 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 +  + 
 +  +  +  +  +  + Interview preparation +  +  + Your research, answers and questions. AI suggestions are only saved when you accept them. + 

 + 
 +  +  +  + Content loaded. +  +  +  +  +  + Interview preparation progress +  +  + 1 of 2 ready + 

 +  +  +  +  +  +  +  + Company research +  +  +  +  +  +  +  +  +  +  +  +  +  + Funding history + 

 +  +  +  window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to }))); + > 122 | expect(await screen.findByText(translations[to].interviewPrepUpdateFailed)).toBeVisible(); + | ^ + 123 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1); + 124 | expect(mockedApi.post).toHaveBeenCalledTimes(1); + 125 | expect(mockedApi.patch).not.toHaveBeenCalled(); + + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByText (src/interview-prep.test.tsx:122:25) + +Test Suites: 1 failed, 1 total +Tests: 6 failed, 20 skipped, 26 total +Snapshots: 0 total +Time: 13.719 s +Ran all test suites matching src/interview-prep.test.tsx with tests matching "pending preparation deletion follows|visible preparation read error follows|visible preparation mutation error follows". +Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\interview-dialog-red-final.json diff --git a/docs/ui-modernisation/evidence/interview-dialog/red-final.txt.gz b/docs/ui-modernisation/evidence/interview-dialog/red-final.txt.gz new file mode 100644 index 00000000..ceb5514e Binary files /dev/null and b/docs/ui-modernisation/evidence/interview-dialog/red-final.txt.gz differ diff --git a/docs/ui-modernisation/evidence/interview-dialog/red.json b/docs/ui-modernisation/evidence/interview-dialog/red.json new file mode 100644 index 00000000..702a4ab0 --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-dialog/red.json @@ -0,0 +1 @@ +{"numFailedTestSuites":1,"numFailedTests":4,"numPassedTestSuites":0,"numPassedTests":0,"numPendingTestSuites":0,"numPendingTests":20,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":1,"numTotalTests":24,"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":1794926437655,"success":false,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":1072,"failing":false,"failureDetails":[{"name":"TestingLibraryElementError"}],"failureMessages":["TestingLibraryElementError: Unable to find an accessible element with the role \"dialog\" and name \"Slette forberedelseselement?\"\n\nHere are the accessible roles:\n\n presentation:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n dialog:\n\n Name \"Delete preparation item?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"Delete preparation item?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n region:\n\n Name \"Delete preparation item?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n button:\n\n Name \"Avbryt\":\n \u001b[36m\u001b[39m\n\n Name \"Delete\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n\nIgnored nodes: comments, script, style\n\u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mIntervjuforberedelse\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mDin research, dine svar og spørsmål. AI-forslag lagres bare når du godtar dem.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInnhold lastet.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFremdrift for intervjuforberedelse\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 av 2 klare\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mSelskapsresearch\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFunding history\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n dialog:\n\n Name \"Slette forberedelseselement?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"Slette forberedelseselement?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n region:\n\n Name \"Slette forberedelseselement?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n button:\n\n Name \"Cancel\":\n \u001b[36m\u001b[39m\n\n Name \"Slett\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n\nIgnored nodes: comments, script, style\n\u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInterview preparation\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mYour research, answers and questions. AI suggestions are only saved when you accept them.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mContent loaded.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInterview preparation progress\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 of 2 ready\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mCompany research\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFunding history\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n dialog:\n\n Name \"Delete preparation item?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"Delete preparation item?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n region:\n\n Name \"Delete preparation item?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n button:\n\n Name \"Avbryt\":\n \u001b[36m\u001b[39m\n\n Name \"Delete\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n\n Ignored nodes: comments, script, style\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mIntervjuforberedelse\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mDin research, dine svar og spørsmål. AI-forslag lagres bare når du godtar dem.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInnhold lastet.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFremdrift for intervjuforberedelse\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 av 2 klare\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mSelskapsresearch\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFunding history\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n > 78 | expect(screen.getByRole('dialog', { name: translations[to].interviewPrepDeleteTitle })).toBe(dialog);\n | ^\n 79 | expect(dialog).toHaveAccessibleDescription(translations[to].interviewPrepDeleteMessage.replace('{title}', 'Funding history'));\n 80 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1);\n 81 | expect(mockedApi.delete).not.toHaveBeenCalled();\n\n at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)\n at node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at getByRole (src/interview-prep.test.tsx:78:17)\n\n ● pending preparation deletion follows nb without a preparation reload or answer loss\n\n TestingLibraryElementError: Unable to find an accessible element with the role \"dialog\" and name \"Delete preparation item?\"\n\n Here are the accessible roles:\n\n presentation:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n dialog:\n\n Name \"Slette forberedelseselement?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"Slette forberedelseselement?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n region:\n\n Name \"Slette forberedelseselement?\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n button:\n\n Name \"Cancel\":\n \u001b[36m\u001b[39m\n\n Name \"Slett\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n\n Ignored nodes: comments, script, style\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInterview preparation\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mYour research, answers and questions. AI suggestions are only saved when you accept them.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mContent loaded.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInterview preparation progress\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 of 2 ready\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mCompany research\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFunding history\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n > 78 | expect(screen.getByRole('dialog', { name: translations[to].interviewPrepDeleteTitle })).toBe(dialog);\n | ^\n 79 | expect(dialog).toHaveAccessibleDescription(translations[to].interviewPrepDeleteMessage.replace('{title}', 'Funding history'));\n 80 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1);\n 81 | expect(mockedApi.delete).not.toHaveBeenCalled();\n\n at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)\n at node_modules/@testing-library/dom/dist/query-helpers.js:76:38\n at node_modules/@testing-library/dom/dist/query-helpers.js:52:17\n at node_modules/@testing-library/dom/dist/query-helpers.js:95:19\n at getByRole (src/interview-prep.test.tsx:78:17)\n\n ● visible preparation read error follows en without another preparation request\n\n expect(received).toHaveLength(expected)\n\n Expected length: 1\n Received length: 2\n Received array: [[\"/jobapplications/7/interview-prep\"], [\"/jobapplications/7/interview-prep\"]]\n\n 102 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n 103 | expect(await screen.findByText(translations[to].interviewPrepLoadFailed)).toBeVisible();\n > 104 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1);\n | ^\n 105 | expect(mockedApi.post).not.toHaveBeenCalled();\n 106 | expect(mockedApi.patch).not.toHaveBeenCalled();\n 107 | expect(mockedApi.delete).not.toHaveBeenCalled();\n\n at toHaveLength (src/interview-prep.test.tsx:104:95)\n\n ● visible preparation read error follows nb without another preparation request\n\n expect(received).toHaveLength(expected)\n\n Expected length: 1\n Received length: 2\n Received array: [[\"/jobapplications/7/interview-prep\"], [\"/jobapplications/7/interview-prep\"]]\n\n 102 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\n 103 | expect(await screen.findByText(translations[to].interviewPrepLoadFailed)).toBeVisible();\n > 104 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).endsWith('/interview-prep'))).toHaveLength(1);\n | ^\n 105 | expect(mockedApi.post).not.toHaveBeenCalled();\n 106 | expect(mockedApi.patch).not.toHaveBeenCalled();\n 107 | expect(mockedApi.delete).not.toHaveBeenCalled();\n\n at toHaveLength (src/interview-prep.test.tsx:104:95)\n","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx","startTime":1794926438420,"status":"failed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/interview-dialog/red.json.gz b/docs/ui-modernisation/evidence/interview-dialog/red.json.gz new file mode 100644 index 00000000..462184b6 Binary files /dev/null and b/docs/ui-modernisation/evidence/interview-dialog/red.json.gz differ diff --git a/docs/ui-modernisation/evidence/interview-dialog/red.txt b/docs/ui-modernisation/evidence/interview-dialog/red.txt new file mode 100644 index 00000000..f1046175 --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-dialog/red.txt @@ -0,0 +1,527 @@ +FAIL src/interview-prep.test.tsx (5.084 s) + ● pending preparation deletion follows en without a preparation reload or answer loss + + TestingLibraryElementError: Unable to find an accessible element with the role "dialog" and name "Slette forberedelseselement?" + + Here are the accessible roles: + + presentation: + + Name "": +