diff --git a/docs/ui-modernisation/INTERVIEW_CV_READ_STATES.md b/docs/ui-modernisation/INTERVIEW_CV_READ_STATES.md new file mode 100644 index 00000000..0ef88f10 --- /dev/null +++ b/docs/ui-modernisation/INTERVIEW_CV_READ_STATES.md @@ -0,0 +1,9 @@ +# Linked CV read presentation in interview preparation + +17 November 2026. Source `bf9b6d5e84e7bf4345ca2e4c9ad945c4623019bf`, baseline `06d92b38`, branch `codex/a3-ui-10`. + +The linked-CV reader already depended only on job identity and rejected inactive completions; no duplicate-locale-read defect was assumed. It now distinguishes loading, failed and successfully empty reads using the existing ViewStateNotice and fallback copy. Retry repeats only CV metadata GET. Clear previous CV metadata when beginning a new job/attempt read, and gate the existing Generate availability on a successful current read. Keep the existing active cleanup guard. No shared resource-hook replacement or actual generation/acceptance change. + +Six original EN/NB regressions FAILED: pending is not empty, failed read has GET-only retry, and a previous CV is hidden while the next application's read is pending. Final **56 cases/three complete affected suites PASSED**, zero failures/skips; earlier50 overlaps56. Non-incremental TypeScript, two-file lint, source diff and AST19,347 nodes/47,491 edges passed. New cases preserve instructions, independent generated-content language and no model/write request. Source/native gzip receipts: `evidence/interview-cv-read/SOURCE_RECEIPTS.json`; raw failure logs retain whitespace. + +All APIs/models are synthetic mocks/JSDOM. Existing fixture-only generation/acceptance cases are not live-model, semantic AI or provider evidence. Backend authorisation remains authoritative. No new locale, renderer, schema, dependency, production change or browser/device/AT qualification. Prior Next build remains FAILED; final European/A3/security/recovery/release gates stay open. Generation/acceptance fallback strings and broader generation/session/job completion lifetimes remain separate proof-required work. Rollback: revert this source commit; no migration. diff --git a/docs/ui-modernisation/evidence/interview-cv-read/SOURCE_RECEIPTS.json b/docs/ui-modernisation/evidence/interview-cv-read/SOURCE_RECEIPTS.json new file mode 100644 index 00000000..52e74613 --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-cv-read/SOURCE_RECEIPTS.json @@ -0,0 +1,64 @@ +{ + "sourceCommit": "bf9b6d5e84e7bf4345ca2e4c9ad945c4623019bf", + "sourcesLfSha256": { + "job-tracker-ui/src/components/InterviewPrep.tsx": "ca6324fc5aba9bab482416c1bfd25dfa141eb9fb54b4484b20714f809d481785", + "job-tracker-ui/src/interview-prep.test.tsx": "886c1a5cceb6ed34aac93e5136bbf6140a5c59b3c4e1db122a419b518806a682", + "job-tracker-ui/src/named-controls.test.tsx": "c8b519701685c434a729a50aeb5e0dfafbaf8a166fb223ab400b28554c5c445f", + "job-tracker-ui/src/application-workflow-assist.test.tsx": "11a1d057ad2ba652da12f0c6529b8a9b7b5bdbf9cdd52799fbbbd524bc5c8e33", + "job-tracker-ui/src/components/ViewStateNotice.tsx": "7b6c3e6c311860897eb5327936dbb129e860781929cfd9a4d4e17f81c607c70c", + "job-tracker-ui/src/i18n/translations.ts": "2b29e81921fc44fba95df62497dba18fb8d91568340aa529f7d25eef93b032ab" + }, + "evidenceLfSha256": { + "red.json": "96a9dfc92fc028e6c179cfc78956fcc4e5172ae962518f3b2e70cc4855d669e5", + "red.txt": "5ab123cc3620c5ac60bd81ce1fd1e19fb6b5546911dabc19fa9be8c5bc3fff9c", + "green.json": "7fc84c2ce09abe3b449947bd45cb8588c5311a19b2735d1847d32ac87235da5f", + "green.txt": "b160ae73d58b7e5213bc5ac1c7af2afebc881944c3310a54b9acbcdf1c2be639", + "typecheck.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "graph.txt": "3d982e8eb0182391ad373a097917445ca3d5f555a4641b25aefdd4afa4c07db1" + }, + "nativeReceipts": [ + { + "path": "red.json", + "gzipPath": "red.json.gz", + "rawSha256": "96a9dfc92fc028e6c179cfc78956fcc4e5172ae962518f3b2e70cc4855d669e5", + "gzipSha256": "9f139888005b949a23e95f09d6ea5e7c84f029bf50bc71f47edbe78308aaca03" + }, + { + "path": "red.txt", + "gzipPath": "red.txt.gz", + "rawSha256": "621b07de813635d720598465016dfde3ce65b91f7c889f16ce6e958df15ee2d8", + "gzipSha256": "f40dad0c3fc0628b0c580aa177cf8928353974cc55c17deedcc9c975eff294a8" + }, + { + "path": "green.json", + "gzipPath": "green.json.gz", + "rawSha256": "7fc84c2ce09abe3b449947bd45cb8588c5311a19b2735d1847d32ac87235da5f", + "gzipSha256": "6a8f14e214ff4987927090946022da564caa9984578b2b37f4a69e7349fa1084" + }, + { + "path": "green.txt", + "gzipPath": "green.txt.gz", + "rawSha256": "1ff0fc531828e15db2fb200e1a05da02fbf7c0044ed379a012ab033d6bfa40fc", + "gzipSha256": "d42b874457834e7f280390c22d4d6e1dae9806d01a2937f3cece34d7eb6c51c0" + }, + { + "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": "a8ff850d7c47a0b5618b455ba49cb3547f5502795d652f1ea1fe427b952e2771", + "gzipSha256": "a85f9ee1bebc87f9945b403319c1a5c8d6afa3e04bb1170eb0fb75aaffad4bac" + } + ] +} diff --git a/docs/ui-modernisation/evidence/interview-cv-read/graph.txt b/docs/ui-modernisation/evidence/interview-cv-read/graph.txt new file mode 100644 index 00000000..2a2223f8 --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-cv-read/graph.txt @@ -0,0 +1,18 @@ +Re-extracting code files in . (no LLM needed)... +[graphify watch] 838 file(s) not classified (no supported extension or shebang), skipped: .dockerignore, .env.example, .git, .gitattributes, .gitignore, 1440-en-dark-converted.gz (+832 more) + AST cache: 2676/3126 files served from cache (85%); 450 to extract + AST extraction: 100/450 uncached files (22%) [16 workers] + AST extraction: 200/450 uncached files (44%) [16 workers] + AST extraction: 300/450 uncached files (66%) [16 workers] + AST extraction: 400/450 uncached files (88%) [16 workers] + AST extraction: 450/450 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, 1195 communities now; renamed 117 community(ies) by their hub). Run `graphify label` to refresh names with the LLM. +Graph has 19347 nodes (above 5000 limit). Building aggregated community view... +graph.html written (aggregated: 1195 community nodes, 3150 cross-community edges) +Tip: run with --obsidian for full node-level detail. +[graphify watch] Rebuilt: 19347 nodes, 47491 edges, 1195 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-cv-read/graph.txt.gz b/docs/ui-modernisation/evidence/interview-cv-read/graph.txt.gz new file mode 100644 index 00000000..7f972678 Binary files /dev/null and b/docs/ui-modernisation/evidence/interview-cv-read/graph.txt.gz differ diff --git a/docs/ui-modernisation/evidence/interview-cv-read/green.json b/docs/ui-modernisation/evidence/interview-cv-read/green.json new file mode 100644 index 00000000..ab3ac982 --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-cv-read/green.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":1794937643965,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":806,"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":1794937647348,"status":"passed","title":"pending preparation deletion follows en without a preparation reload or answer loss"},{"ancestorTitles":[],"duration":617,"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":1794937648154,"status":"passed","title":"pending preparation deletion follows nb without a preparation reload or answer loss"},{"ancestorTitles":[],"duration":116,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation read error follows en without another preparation request","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794937648771,"status":"passed","title":"visible preparation read error follows en without another preparation request"},{"ancestorTitles":[],"duration":123,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation read error follows nb without another preparation request","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794937648887,"status":"passed","title":"visible preparation read error follows nb without another preparation request"},{"ancestorTitles":[],"duration":311,"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":1794937649010,"status":"passed","title":"visible preparation mutation error follows en without clearing the failure through a reload"},{"ancestorTitles":[],"duration":404,"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":1794937649321,"status":"passed","title":"visible preparation mutation error follows nb without clearing the failure through a reload"},{"ancestorTitles":["en unknown interview categories"],"duration":106,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves constructor as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937649725,"status":"passed","title":"preserves constructor as a category label"},{"ancestorTitles":["en unknown interview categories"],"duration":96,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves toString as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937649831,"status":"passed","title":"preserves toString as a category label"},{"ancestorTitles":["en unknown interview categories"],"duration":104,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves __proto__ as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937649927,"status":"passed","title":"preserves __proto__ as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":107,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves constructor as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937650031,"status":"passed","title":"preserves constructor as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":86,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves toString as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937650138,"status":"passed","title":"preserves toString as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":66,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves __proto__ as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937650225,"status":"passed","title":"preserves __proto__ as a category label"},{"ancestorTitles":[],"duration":294,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"answer save failure follows en / pending and retains the draft for explicit retry","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794937650291,"status":"passed","title":"answer save failure follows en / pending and retains the draft for explicit retry"},{"ancestorTitles":[],"duration":429,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"answer save failure follows en / visible and retains the draft for explicit retry","invocations":1,"location":null,"numPassingAsserts":10,"retryReasons":[],"startAt":1794937650585,"status":"passed","title":"answer save failure follows en / visible and retains the draft for explicit retry"},{"ancestorTitles":[],"duration":369,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"answer save failure follows nb / pending and retains the draft for explicit retry","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794937651014,"status":"passed","title":"answer save failure follows nb / pending and retains the draft for explicit retry"},{"ancestorTitles":[],"duration":335,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"answer save failure follows nb / visible and retains the draft for explicit retry","invocations":1,"location":null,"numPassingAsserts":10,"retryReasons":[],"startAt":1794937651383,"status":"passed","title":"answer save failure follows nb / visible and retains the draft for explicit retry"},{"ancestorTitles":[],"duration":99,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"localizes interview categories while preserving user-authored preparation","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794937651718,"status":"passed","title":"localizes interview categories while preserving user-authored preparation"},{"ancestorTitles":[],"duration":111,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prep renders grouped items with progress and marks AI-sourced ones","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794937651817,"status":"passed","title":"prep renders grouped items with progress and marks AI-sourced ones"},{"ancestorTitles":[],"duration":180,"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":1794937651928,"status":"passed","title":"delete tooltip describes its wrapper while the disabled button keeps its item name"},{"ancestorTitles":[],"duration":216,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"adding a prep item posts the chosen category and title","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794937652108,"status":"passed","title":"adding a prep item posts the chosen category and title"},{"ancestorTitles":[],"duration":109,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"starts a structured interview debrief without inventing answers","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937652324,"status":"passed","title":"starts a structured interview debrief without inventing answers"},{"ancestorTitles":[],"duration":76,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"marking an item ready patches it","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794937652433,"status":"passed","title":"marking an item ready patches it"},{"ancestorTitles":[],"duration":124,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an answer is only saved when the user asks","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937652509,"status":"passed","title":"an answer is only saved when the user asks"},{"ancestorTitles":[],"duration":233,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"deleting a prep item calls delete","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794937652633,"status":"passed","title":"deleting a prep item calls delete"},{"ancestorTitles":[],"duration":92,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"empty prep shows a useful empty state","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794937652866,"status":"passed","title":"empty prep shows a useful empty state"},{"ancestorTitles":[],"duration":214,"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":1794937652958,"status":"passed","title":"AI preparation uses the linked CV and only saves after explicit acceptance"},{"ancestorTitles":[],"duration":123,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending linked CV is loading, not an empty selection (en)","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794937653172,"status":"passed","title":"pending linked CV is loading, not an empty selection (en)"},{"ancestorTitles":[],"duration":110,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending linked CV is loading, not an empty selection (nb)","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794937653295,"status":"passed","title":"pending linked CV is loading, not an empty selection (nb)"},{"ancestorTitles":[],"duration":216,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"linked-CV failure has current-language GET-only retry and preserves instructions (en)","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794937653405,"status":"passed","title":"linked-CV failure has current-language GET-only retry and preserves instructions (en)"},{"ancestorTitles":[],"duration":264,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"linked-CV failure has current-language GET-only retry and preserves instructions (nb)","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794937653621,"status":"passed","title":"linked-CV failure has current-language GET-only retry and preserves instructions (nb)"},{"ancestorTitles":[],"duration":260,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"changing application hides the previous linked CV while the new read is pending (en)","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794937653885,"status":"passed","title":"changing application hides the previous linked CV while the new read is pending (en)"},{"ancestorTitles":[],"duration":187,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"changing application hides the previous linked CV while the new read is pending (nb)","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794937654145,"status":"passed","title":"changing application hides the previous linked CV while the new read is pending (nb)"},{"ancestorTitles":[],"duration":43,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prep surfaces a load error","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794937654333,"status":"passed","title":"prep surfaces a load error"},{"ancestorTitles":[],"duration":92,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed follow-up save retains editable en drafts and retries only the explicit write","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794937654376,"status":"passed","title":"failed follow-up save retains editable en drafts and retries only the explicit write"},{"ancestorTitles":[],"duration":108,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed follow-up save retains editable nb drafts and retries only the explicit write","invocations":1,"location":null,"numPassingAsserts":11,"retryReasons":[],"startAt":1794937654468,"status":"passed","title":"failed follow-up save retains editable nb drafts and retries only the explicit write"},{"ancestorTitles":[],"duration":56,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed initial follow-up read offers en GET-only retry without editable defaults","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794937654576,"status":"passed","title":"failed initial follow-up read offers en GET-only retry without editable defaults"},{"ancestorTitles":[],"duration":67,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed initial follow-up read offers nb GET-only retry without editable defaults","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794937654632,"status":"passed","title":"failed initial follow-up read offers nb GET-only retry without editable defaults"},{"ancestorTitles":[],"duration":77,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up language switch from en preserves the unsaved date and next action without a read","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794937654699,"status":"passed","title":"follow-up language switch from en preserves the unsaved date and next action without a read"},{"ancestorTitles":[],"duration":61,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up language switch from nb preserves the unsaved date and next action without a read","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794937654776,"status":"passed","title":"follow-up language switch from nb preserves the unsaved date and next action without a read"},{"ancestorTitles":[],"duration":33,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up en read error stays current without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794937654837,"status":"passed","title":"follow-up en read error stays current without another read"},{"ancestorTitles":[],"duration":78,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up en save error stays current without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794937654870,"status":"passed","title":"follow-up en save error stays current without another read"},{"ancestorTitles":[],"duration":45,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up nb read error stays current without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794937654949,"status":"passed","title":"follow-up nb read error stays current without another read"},{"ancestorTitles":[],"duration":77,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up nb save error stays current without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794937654994,"status":"passed","title":"follow-up nb save error stays current without another read"},{"ancestorTitles":[],"duration":28,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up loads the existing date and open checklist tasks","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794937655071,"status":"passed","title":"follow-up loads the existing date and open checklist tasks"},{"ancestorTitles":[],"duration":62,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"saving a follow-up sends the date and next action","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794937655099,"status":"passed","title":"saving a follow-up sends the date and next action"},{"ancestorTitles":[],"duration":14,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"no follow-up shows an empty state","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794937655161,"status":"passed","title":"no follow-up shows an empty state"}],"endTime":1794937655177,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx","startTime":1794937644783,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":49,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"recruiter status suggestions require an explicit apply action","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794937655923,"status":"passed","title":"recruiter status suggestions require an explicit apply action"},{"ancestorTitles":[],"duration":114,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"strategy snapshot shows saved output and queues regeneration only on request","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794937655972,"status":"passed","title":"strategy snapshot shows saved output and queues regeneration only on request"},{"ancestorTitles":[],"duration":106,"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":1794937656086,"status":"passed","title":"failed strategy reads stay distinct from empty, localize without refetching and retry only the read"},{"ancestorTitles":[],"duration":36,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"only the explicit not-generated response is an intentional empty strategy","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794937656192,"status":"passed","title":"only the explicit not-generated response is an intentional empty strategy"},{"ancestorTitles":[],"duration":32,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"a late strategy response cannot replace another job and denial never offers read retry","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794937656229,"status":"passed","title":"a late strategy response cannot replace another job and denial never offers read retry"}],"endTime":1794937656261,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\application-workflow-assist.test.tsx","startTime":1794937655188,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":471,"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":1794937657081,"status":"passed","title":"[PRES-C08 PRES-C09] en CV selects have visible names and retain exact override patches"},{"ancestorTitles":[],"duration":371,"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":1794937657552,"status":"passed","title":"[PRES-C08 PRES-C09] nb CV selects have visible names and retain exact override patches"},{"ancestorTitles":[],"duration":127,"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":1794937657923,"status":"passed","title":"[PRES-C07 PRES-W06] en rich text retains names, selected Markdown and editor focus"},{"ancestorTitles":[],"duration":139,"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":1794937658050,"status":"passed","title":"[PRES-C07 PRES-W06] nb rich text retains names, selected Markdown and editor focus"},{"ancestorTitles":[],"duration":40,"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":1794937658189,"status":"passed","title":"[PRES-C07 PRES-W06] disabled rich text cannot format or edit and repeated fields keep separate labels"}],"endTime":1794937658229,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\named-controls.test.tsx","startTime":1794937656269,"status":"passed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/interview-cv-read/green.json.gz b/docs/ui-modernisation/evidence/interview-cv-read/green.json.gz new file mode 100644 index 00000000..7ef5d44a Binary files /dev/null and b/docs/ui-modernisation/evidence/interview-cv-read/green.json.gz differ diff --git a/docs/ui-modernisation/evidence/interview-cv-read/green.txt b/docs/ui-modernisation/evidence/interview-cv-read/green.txt new file mode 100644 index 00000000..44645490 --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-cv-read/green.txt @@ -0,0 +1,7 @@ + +Test Suites: 3 passed, 3 total +Tests: 56 passed, 56 total +Snapshots: 0 total +Time: 14.267 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-cv-read-green.json diff --git a/docs/ui-modernisation/evidence/interview-cv-read/green.txt.gz b/docs/ui-modernisation/evidence/interview-cv-read/green.txt.gz new file mode 100644 index 00000000..d31133ab Binary files /dev/null and b/docs/ui-modernisation/evidence/interview-cv-read/green.txt.gz differ diff --git a/docs/ui-modernisation/evidence/interview-cv-read/lint.txt b/docs/ui-modernisation/evidence/interview-cv-read/lint.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/ui-modernisation/evidence/interview-cv-read/lint.txt.gz b/docs/ui-modernisation/evidence/interview-cv-read/lint.txt.gz new file mode 100644 index 00000000..ae211a2c Binary files /dev/null and b/docs/ui-modernisation/evidence/interview-cv-read/lint.txt.gz differ diff --git a/docs/ui-modernisation/evidence/interview-cv-read/red.json b/docs/ui-modernisation/evidence/interview-cv-read/red.json new file mode 100644 index 00000000..6623d948 --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-cv-read/red.json @@ -0,0 +1 @@ +{"numFailedTestSuites":1,"numFailedTests":6,"numPassedTestSuites":0,"numPassedTests":0,"numPendingTestSuites":0,"numPendingTests":40,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":1,"numTotalTests":46,"openHandles":[],"snapshot":{"added":0,"didUpdate":false,"failure":false,"filesAdded":0,"filesRemoved":0,"filesRemovedList":[],"filesUnmatched":0,"filesUpdated":0,"matched":0,"total":0,"unchecked":0,"uncheckedKeysByFile":[],"unmatched":0,"updated":0},"startTime":1794937589197,"success":false,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending preparation deletion follows en without a preparation reload or answer loss","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592604,"status":"pending","title":"pending preparation deletion follows en without a preparation reload or answer loss"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending preparation deletion follows nb without a preparation reload or answer loss","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592604,"status":"pending","title":"pending preparation deletion follows nb without a preparation reload or answer loss"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation read error follows en without another preparation request","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592604,"status":"pending","title":"visible preparation read error follows en without another preparation request"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation read error follows nb without another preparation request","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592604,"status":"pending","title":"visible preparation read error follows nb without another preparation request"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation mutation error follows en without clearing the failure through a reload","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592604,"status":"pending","title":"visible preparation mutation error follows en without clearing the failure through a reload"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation mutation error follows nb without clearing the failure through a reload","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592604,"status":"pending","title":"visible preparation mutation error follows nb without clearing the failure through a reload"},{"ancestorTitles":["en unknown interview categories"],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves constructor as a category label","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592604,"status":"pending","title":"preserves constructor as a category label"},{"ancestorTitles":["en unknown interview categories"],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves toString as a category label","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592604,"status":"pending","title":"preserves toString as a category label"},{"ancestorTitles":["en unknown interview categories"],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves __proto__ as a category label","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592604,"status":"pending","title":"preserves __proto__ as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves constructor as a category label","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592604,"status":"pending","title":"preserves constructor as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves toString as a category label","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592604,"status":"pending","title":"preserves toString as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves __proto__ as a category label","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592604,"status":"pending","title":"preserves __proto__ as a category label"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"answer save failure follows en / pending and retains the draft for explicit retry","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592604,"status":"pending","title":"answer save failure follows en / pending and retains the draft for explicit retry"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"answer save failure follows en / visible and retains the draft for explicit retry","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592604,"status":"pending","title":"answer save failure follows en / visible and retains the draft for explicit retry"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"answer save failure follows nb / pending and retains the draft for explicit retry","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592604,"status":"pending","title":"answer save failure follows nb / pending and retains the draft for explicit retry"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"answer save failure follows nb / visible and retains the draft for explicit retry","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592604,"status":"pending","title":"answer save failure follows nb / visible and retains the draft for explicit retry"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"localizes interview categories while preserving user-authored preparation","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592604,"status":"pending","title":"localizes interview categories while preserving user-authored preparation"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prep renders grouped items with progress and marks AI-sourced ones","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592604,"status":"pending","title":"prep renders grouped items with progress and marks AI-sourced ones"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"delete tooltip describes its wrapper while the disabled button keeps its item name","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592605,"status":"pending","title":"delete tooltip describes its wrapper while the disabled button keeps its item name"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"adding a prep item posts the chosen category and title","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592605,"status":"pending","title":"adding a prep item posts the chosen category and title"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"starts a structured interview debrief without inventing answers","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592605,"status":"pending","title":"starts a structured interview debrief without inventing answers"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"marking an item ready patches it","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592605,"status":"pending","title":"marking an item ready patches it"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an answer is only saved when the user asks","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592605,"status":"pending","title":"an answer is only saved when the user asks"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"deleting a prep item calls delete","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592605,"status":"pending","title":"deleting a prep item calls delete"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"empty prep shows a useful empty state","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592605,"status":"pending","title":"empty prep shows a useful empty state"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"AI preparation uses the linked CV and only saves after explicit acceptance","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592605,"status":"pending","title":"AI preparation uses the linked CV and only saves after explicit acceptance"},{"ancestorTitles":[],"duration":242,"failing":false,"failureDetails":[{"name":"TestingLibraryElementError"}],"failureMessages":["TestingLibraryElementError: Unable to find an accessible element with the role \"progressbar\" and name \"Loading...\"\n\nHere are the accessible roles:\n\n banner:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"AI interview coach\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------status:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n combobox:\n\n Name \"Preparation focus\":\n \u001b[36m\u001b[39m\n\n Name \"Document language\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n textbox:\n\n Name \"Additional instructions\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n button:\n\n Name \"Generate preparation\":\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[0mAI interview coach\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mUses the linked CV, job advert and application analysis. Suggestions never overwrite your notes.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mSelect a CV on the CV tab before generating tailored interview preparation.\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[0mPreparation focus\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mComplete interview brief\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[0mPreparation focus\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 (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-each\\build\\index.js:80:140)\n at Promise.finally.completed (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:1561:28)\n at new Promise ()\n at callAsyncCircusFn (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:1501:10)\n at _callCircusTest (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:1011:40)\n at _runTest (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:951:3)\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:853:7\n at _runTestsForDescribeBlock (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:866:11)\n at run (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:765:3)\n at runAndTransformResultsToJestFormat (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:1993:21)\n at jestAdapter (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\runner.js:111:19)\n at runTestInternal (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-runner\\build\\index.js:276:16)\n at runTest (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-runner\\build\\index.js:344:7)"],"fullName":"pending linked CV is loading, not an empty selection (en)","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592605,"status":"failed","title":"pending linked CV is loading, not an empty selection (en)"},{"ancestorTitles":[],"duration":96,"failing":false,"failureDetails":[{"name":"TestingLibraryElementError"}],"failureMessages":["TestingLibraryElementError: Unable to find an accessible element with the role \"progressbar\" and name \"Laster...\"\n\nHere are the accessible roles:\n\n banner:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"AI-intervjutrening\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------status:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n combobox:\n\n Name \"Fokus for forberedelsen\":\n \u001b[36m\u001b[39m\n\n Name \"Dokumentspråk\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n textbox:\n\n Name \"Tilleggsinstruksjoner\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n button:\n\n Name \"Generer forberedelse\":\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[0mAI-intervjutrening\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mBruker tilknyttet CV, stillingsannonse og søknadsanalyse. Forslag overskriver aldri notatene dine.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mVelg en CV i CV-fanen før du genererer tilpasset intervjuforberedelse.\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[0mFokus for forberedelsen\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mKomplett intervjuforberedelse\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[0mFokus for forberedelsen\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 (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-each\\build\\index.js:80:140)\n at Promise.finally.completed (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:1561:28)\n at new Promise ()\n at callAsyncCircusFn (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:1501:10)\n at _callCircusTest (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:1011:40)\n at _runTest (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:951:3)\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:853:7\n at _runTestsForDescribeBlock (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:866:11)\n at run (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:765:3)\n at runAndTransformResultsToJestFormat (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:1993:21)\n at jestAdapter (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\runner.js:111:19)\n at runTestInternal (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-runner\\build\\index.js:276:16)\n at runTest (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-runner\\build\\index.js:344:7)"],"fullName":"pending linked CV is loading, not an empty selection (nb)","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592864,"status":"failed","title":"pending linked CV is loading, not an empty selection (nb)"},{"ancestorTitles":[],"duration":4062,"failing":false,"failureDetails":[{"name":"TestingLibraryElementError"}],"failureMessages":["Error: Unable to find an element with the text: Could not load this section.. 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[0mAI interview coach\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mUses the linked CV, job advert and application analysis. Suggestions never overwrite your notes.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mSelect a CV on the CV tab before generating tailored interview preparation.\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[0mPreparation focus\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mComplete interview brief\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[0mPreparation focus\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 (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-each\\build\\index.js:80:140)\n at Promise.finally.completed (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:1561:28)\n at new Promise ()\n at callAsyncCircusFn (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:1501:10)\n at _callCircusTest (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:1011:40)\n at _runTest (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:951:3)\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:853:7\n at _runTestsForDescribeBlock (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:866:11)\n at run (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:765:3)\n at runAndTransformResultsToJestFormat (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:1993:21)\n at jestAdapter (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\runner.js:111:19)\n at runTestInternal (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-runner\\build\\index.js:276:16)\n at runTest (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-runner\\build\\index.js:344:7)"],"fullName":"linked-CV failure has current-language GET-only retry and preserves instructions (en)","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937592960,"status":"failed","title":"linked-CV failure has current-language GET-only retry and preserves instructions (en)"},{"ancestorTitles":[],"duration":4059,"failing":false,"failureDetails":[{"name":"TestingLibraryElementError"}],"failureMessages":["Error: Unable to find an element with the text: Kunne ikke laste denne delen.. 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[0mAI-intervjutrening\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mBruker tilknyttet CV, stillingsannonse og søknadsanalyse. Forslag overskriver aldri notatene dine.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mVelg en CV i CV-fanen før du genererer tilpasset intervjuforberedelse.\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[0mFokus for forberedelsen\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mKomplett intervjuforberedelse\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[0mFokus for forberedelsen\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 (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-each\\build\\index.js:80:140)\n at Promise.finally.completed (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:1561:28)\n at new Promise ()\n at callAsyncCircusFn (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:1501:10)\n at _callCircusTest (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:1011:40)\n at _runTest (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:951:3)\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:853:7\n at _runTestsForDescribeBlock (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:866:11)\n at run (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:765:3)\n at runAndTransformResultsToJestFormat (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\jestAdapterInit.js:1993:21)\n at jestAdapter (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-circus\\build\\runner.js:111:19)\n at runTestInternal (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-runner\\build\\index.js:276:16)\n at runTest (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jest-runner\\build\\index.js:344:7)"],"fullName":"linked-CV failure has current-language GET-only retry and preserves instructions (nb)","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937597022,"status":"failed","title":"linked-CV failure has current-language GET-only retry and preserves instructions (nb)"},{"ancestorTitles":[],"duration":190,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found Backend CV instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found Backend CV instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx:374:51)"],"fullName":"changing application hides the previous linked CV while the new read is pending (en)","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937601081,"status":"failed","title":"changing application hides the previous linked CV while the new read is pending (en)"},{"ancestorTitles":[],"duration":182,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found Backend CV instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found Backend CV instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx:374:51)"],"fullName":"changing application hides the previous linked CV while the new read is pending (nb)","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937601271,"status":"failed","title":"changing application hides the previous linked CV while the new read is pending (nb)"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prep surfaces a load error","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937601453,"status":"pending","title":"prep surfaces a load error"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed follow-up save retains editable en drafts and retries only the explicit write","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937601453,"status":"pending","title":"failed follow-up save retains editable en drafts and retries only the explicit write"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed follow-up save retains editable nb drafts and retries only the explicit write","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937601453,"status":"pending","title":"failed follow-up save retains editable nb drafts and retries only the explicit write"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed initial follow-up read offers en GET-only retry without editable defaults","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937601453,"status":"pending","title":"failed initial follow-up read offers en GET-only retry without editable defaults"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed initial follow-up read offers nb GET-only retry without editable defaults","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937601453,"status":"pending","title":"failed initial follow-up read offers nb GET-only retry without editable defaults"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up language switch from en preserves the unsaved date and next action without a read","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937601453,"status":"pending","title":"follow-up language switch from en preserves the unsaved date and next action without a read"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up language switch from nb preserves the unsaved date and next action without a read","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937601453,"status":"pending","title":"follow-up language switch from nb preserves the unsaved date and next action without a read"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up en read error stays current without another read","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937601453,"status":"pending","title":"follow-up en read error stays current without another read"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up en save error stays current without another read","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937601453,"status":"pending","title":"follow-up en save error stays current without another read"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up nb read error stays current without another read","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937601453,"status":"pending","title":"follow-up nb read error stays current without another read"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up nb save error stays current without another read","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937601453,"status":"pending","title":"follow-up nb save error stays current without another read"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up loads the existing date and open checklist tasks","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937601453,"status":"pending","title":"follow-up loads the existing date and open checklist tasks"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"saving a follow-up sends the date and next action","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937601453,"status":"pending","title":"saving a follow-up sends the date and next action"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"no follow-up shows an empty state","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794937601453,"status":"pending","title":"no follow-up shows an empty state"}],"endTime":1794937601479,"message":" ● pending linked CV is loading, not an empty selection (en)\n\n TestingLibraryElementError: Unable to find an accessible element with the role \"progressbar\" and name \"Loading...\"\n\n Here are the accessible roles:\n\n banner:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"AI interview coach\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------status:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n combobox:\n\n Name \"Preparation focus\":\n \u001b[36m\u001b[39m\n\n Name \"Document language\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n textbox:\n\n Name \"Additional instructions\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n button:\n\n Name \"Generate preparation\":\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[0mAI interview coach\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mUses the linked CV, job advert and application analysis. Suggestions never overwrite your notes.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mSelect a CV on the CV tab before generating tailored interview preparation.\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[0mPreparation focus\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mComplete interview brief\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[0mPreparation focus\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);\n 329 | const assistant = within(screen.getByRole('region', { name: translations[language].interviewAiTitle }));\n > 330 | expect(assistant.getByRole('progressbar', { name: translations[language].loading })).toBeVisible();\n | ^\n 331 | expect(assistant.queryByText(translations[language].interviewAiSelectCv)).not.toBeInTheDocument();\n 332 | expect(assistant.getByRole('button', { name: translations[language].interviewAiGenerate })).toBeDisabled();\n 333 | await act(async () => finish({ data: { attachedVariantId: null, attachedVariantName: null } }));\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:330:20)\n\n ● pending linked CV is loading, not an empty selection (nb)\n\n TestingLibraryElementError: Unable to find an accessible element with the role \"progressbar\" and name \"Laster...\"\n\n Here are the accessible roles:\n\n banner:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n heading:\n\n Name \"AI-intervjutrening\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n paragraph:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------status:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n alert:\n\n Name \"\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n combobox:\n\n Name \"Fokus for forberedelsen\":\n \u001b[36m\u001b[39m\n\n Name \"Dokumentspråk\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n textbox:\n\n Name \"Tilleggsinstruksjoner\":\n \u001b[36m\u001b[39m\n\n --------------------------------------------------\n button:\n\n Name \"Generer forberedelse\":\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[0mAI-intervjutrening\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mBruker tilknyttet CV, stillingsannonse og søknadsanalyse. Forslag overskriver aldri notatene dine.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mVelg en CV i CV-fanen før du genererer tilpasset intervjuforberedelse.\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[0mFokus for forberedelsen\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mKomplett intervjuforberedelse\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[0mFokus for forberedelsen\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);\n 329 | const assistant = within(screen.getByRole('region', { name: translations[language].interviewAiTitle }));\n > 330 | expect(assistant.getByRole('progressbar', { name: translations[language].loading })).toBeVisible();\n | ^\n 331 | expect(assistant.queryByText(translations[language].interviewAiSelectCv)).not.toBeInTheDocument();\n 332 | expect(assistant.getByRole('button', { name: translations[language].interviewAiGenerate })).toBeDisabled();\n 333 | await act(async () => finish({ data: { attachedVariantId: null, attachedVariantName: null } }));\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:330:20)\n\n ● linked-CV failure has current-language GET-only retry and preserves instructions (en)\n\n Unable to find an element with the text: Could not load this section.. 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[0mAI interview coach\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mUses the linked CV, job advert and application analysis. Suggestions never overwrite your notes.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mSelect a CV on the CV tab before generating tailored interview preparation.\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[0mPreparation focus\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mComplete interview brief\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[0mPreparation focus\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 349 | expect(await assistant.findByText(translations[from].assetsLoadFailed)).toBeVisible();\n | ^\n 350 | expect(assistant.queryByText(translations[from].interviewAiSelectCv)).not.toBeInTheDocument();\n 351 | fireEvent.change(assistant.getByLabelText(translations[from].coverAiAdditionalInstructions), { target: { value: 'Keep my context Øresund' } });\n 352 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\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:349:26)\n\n ● linked-CV failure has current-language GET-only retry and preserves instructions (nb)\n\n Unable to find an element with the text: Kunne ikke laste denne delen.. 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[0mAI-intervjutrening\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mBruker tilknyttet CV, stillingsannonse og søknadsanalyse. Forslag overskriver aldri notatene dine.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mVelg en CV i CV-fanen før du genererer tilpasset intervjuforberedelse.\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[0mFokus for forberedelsen\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mKomplett intervjuforberedelse\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[0mFokus for forberedelsen\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 349 | expect(await assistant.findByText(translations[from].assetsLoadFailed)).toBeVisible();\n | ^\n 350 | expect(assistant.queryByText(translations[from].interviewAiSelectCv)).not.toBeInTheDocument();\n 351 | fireEvent.change(assistant.getByLabelText(translations[from].coverAiAdditionalInstructions), { target: { value: 'Keep my context Øresund' } });\n 352 | await act(async () => window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })));\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:349:26)\n\n ● changing application hides the previous linked CV while the new read is pending (en)\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found Backend CV instead\n\n 372 | view.rerender();\n 373 | const assistant = within(screen.getByRole('region', { name: translations[language].interviewAiTitle }));\n > 374 | expect(assistant.queryByText('Backend CV')).not.toBeInTheDocument();\n | ^\n 375 | expect(assistant.getByRole('progressbar', { name: translations[language].loading })).toBeVisible();\n 376 | await act(async () => finish({ data: { attachedVariantId: 8, attachedVariantName: 'Current application CV' } }));\n 377 | expect(await assistant.findByText('Current application CV')).toBeVisible();\n\n at toBeInTheDocument (src/interview-prep.test.tsx:374:51)\n\n ● changing application hides the previous linked CV while the new read is pending (nb)\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found Backend CV instead\n\n 372 | view.rerender();\n 373 | const assistant = within(screen.getByRole('region', { name: translations[language].interviewAiTitle }));\n > 374 | expect(assistant.queryByText('Backend CV')).not.toBeInTheDocument();\n | ^\n 375 | expect(assistant.getByRole('progressbar', { name: translations[language].loading })).toBeVisible();\n 376 | await act(async () => finish({ data: { attachedVariantId: 8, attachedVariantName: 'Current application CV' } }));\n 377 | expect(await assistant.findByText('Current application CV')).toBeVisible();\n\n at toBeInTheDocument (src/interview-prep.test.tsx:374:51)\n","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\interview-prep.test.tsx","startTime":1794937589999,"status":"failed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/interview-cv-read/red.json.gz b/docs/ui-modernisation/evidence/interview-cv-read/red.json.gz new file mode 100644 index 00000000..fcb38db9 Binary files /dev/null and b/docs/ui-modernisation/evidence/interview-cv-read/red.json.gz differ diff --git a/docs/ui-modernisation/evidence/interview-cv-read/red.txt b/docs/ui-modernisation/evidence/interview-cv-read/red.txt new file mode 100644 index 00000000..d3ad4055 --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-cv-read/red.txt @@ -0,0 +1,1715 @@ + console.error + An update to ApplicationFollowUp 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 + + 423 | try { + 424 | const result = await interviewPrepApi.followUp(jobId); + > 425 | setData(result); + | ^ + 426 | setDate(result.followUpAt ? result.followUpAt.slice(0, 10) : ""); + 427 | setAction(result.nextAction ?? ""); + 428 | setError(null); + + 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 setData (src/components/InterviewPrep.tsx:425:7) + + console.error + An update to ApplicationFollowUp 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 + + 424 | const result = await interviewPrepApi.followUp(jobId); + 425 | setData(result); + > 426 | setDate(result.followUpAt ? result.followUpAt.slice(0, 10) : ""); + | ^ + 427 | setAction(result.nextAction ?? ""); + 428 | setError(null); + 429 | } catch (err) { + + 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 setDate (src/components/InterviewPrep.tsx:426:7) + + console.error + An update to ApplicationFollowUp 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 + + 425 | setData(result); + 426 | setDate(result.followUpAt ? result.followUpAt.slice(0, 10) : ""); + > 427 | setAction(result.nextAction ?? ""); + | ^ + 428 | setError(null); + 429 | } catch (err) { + 430 | setError({ cause: err, fallback: "interviewFollowUpLoadFailed" }); + + 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 setAction (src/components/InterviewPrep.tsx:427:7) + + console.error + An update to ApplicationFollowUp 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 + + 426 | setDate(result.followUpAt ? result.followUpAt.slice(0, 10) : ""); + 427 | setAction(result.nextAction ?? ""); + > 428 | setError(null); + | ^ + 429 | } catch (err) { + 430 | setError({ cause: err, fallback: "interviewFollowUpLoadFailed" }); + 431 | } finally { + + 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 setError (src/components/InterviewPrep.tsx:428:7) + + console.error + An update to ApplicationFollowUp 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 + + 430 | setError({ cause: err, fallback: "interviewFollowUpLoadFailed" }); + 431 | } finally { + > 432 | setLoading(false); + | ^ + 433 | } + 434 | }, [jobId]); + 435 | + + 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 setLoading (src/components/InterviewPrep.tsx:432:7) + + console.error + An update to ApplicationInterviewPrep 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 + + 55 | setLoading(true); + 56 | try { + > 57 | setBoard(await interviewPrepApi.get(jobId)); + | ^ + 58 | setError(null); + 59 | } catch (err) { + 60 | setError({ cause: err, fallback: "interviewPrepLoadFailed" }); + + 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 setBoard (src/components/InterviewPrep.tsx:57:7) + + console.error + An update to ApplicationInterviewPrep 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 + + 56 | try { + 57 | setBoard(await interviewPrepApi.get(jobId)); + > 58 | setError(null); + | ^ + 59 | } catch (err) { + 60 | setError({ cause: err, fallback: "interviewPrepLoadFailed" }); + 61 | } finally { + + 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 setError (src/components/InterviewPrep.tsx:58:7) + + console.error + An update to ApplicationInterviewPrep 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 + + 60 | setError({ cause: err, fallback: "interviewPrepLoadFailed" }); + 61 | } finally { + > 62 | setLoading(false); + | ^ + 63 | } + 64 | }, [jobId]); + 65 | + + 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 setLoading (src/components/InterviewPrep.tsx:62:7) + + console.error + An update to ApplicationFollowUp 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 + + 423 | try { + 424 | const result = await interviewPrepApi.followUp(jobId); + > 425 | setData(result); + | ^ + 426 | setDate(result.followUpAt ? result.followUpAt.slice(0, 10) : ""); + 427 | setAction(result.nextAction ?? ""); + 428 | setError(null); + + 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 setData (src/components/InterviewPrep.tsx:425:7) + + console.error + An update to ApplicationFollowUp 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 + + 424 | const result = await interviewPrepApi.followUp(jobId); + 425 | setData(result); + > 426 | setDate(result.followUpAt ? result.followUpAt.slice(0, 10) : ""); + | ^ + 427 | setAction(result.nextAction ?? ""); + 428 | setError(null); + 429 | } catch (err) { + + 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 setDate (src/components/InterviewPrep.tsx:426:7) + + console.error + An update to ApplicationFollowUp 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 + + 425 | setData(result); + 426 | setDate(result.followUpAt ? result.followUpAt.slice(0, 10) : ""); + > 427 | setAction(result.nextAction ?? ""); + | ^ + 428 | setError(null); + 429 | } catch (err) { + 430 | setError({ cause: err, fallback: "interviewFollowUpLoadFailed" }); + + 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 setAction (src/components/InterviewPrep.tsx:427:7) + + console.error + An update to ApplicationFollowUp 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 + + 426 | setDate(result.followUpAt ? result.followUpAt.slice(0, 10) : ""); + 427 | setAction(result.nextAction ?? ""); + > 428 | setError(null); + | ^ + 429 | } catch (err) { + 430 | setError({ cause: err, fallback: "interviewFollowUpLoadFailed" }); + 431 | } finally { + + 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 setError (src/components/InterviewPrep.tsx:428:7) + + console.error + An update to ApplicationFollowUp 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 + + 430 | setError({ cause: err, fallback: "interviewFollowUpLoadFailed" }); + 431 | } finally { + > 432 | setLoading(false); + | ^ + 433 | } + 434 | }, [jobId]); + 435 | + + 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 setLoading (src/components/InterviewPrep.tsx:432:7) + + console.error + An update to ApplicationInterviewPrep 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 + + 55 | setLoading(true); + 56 | try { + > 57 | setBoard(await interviewPrepApi.get(jobId)); + | ^ + 58 | setError(null); + 59 | } catch (err) { + 60 | setError({ cause: err, fallback: "interviewPrepLoadFailed" }); + + 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 setBoard (src/components/InterviewPrep.tsx:57:7) + + console.error + An update to ApplicationInterviewPrep 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 + + 56 | try { + 57 | setBoard(await interviewPrepApi.get(jobId)); + > 58 | setError(null); + | ^ + 59 | } catch (err) { + 60 | setError({ cause: err, fallback: "interviewPrepLoadFailed" }); + 61 | } finally { + + 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 setError (src/components/InterviewPrep.tsx:58:7) + + console.error + An update to ApplicationInterviewPrep 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 + + 60 | setError({ cause: err, fallback: "interviewPrepLoadFailed" }); + 61 | } finally { + > 62 | setLoading(false); + | ^ + 63 | } + 64 | }, [jobId]); + 65 | + + 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 setLoading (src/components/InterviewPrep.tsx:62:7) + + console.error + An update to ApplicationFollowUp 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 + + 423 | try { + 424 | const result = await interviewPrepApi.followUp(jobId); + > 425 | setData(result); + | ^ + 426 | setDate(result.followUpAt ? result.followUpAt.slice(0, 10) : ""); + 427 | setAction(result.nextAction ?? ""); + 428 | setError(null); + + 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 setData (src/components/InterviewPrep.tsx:425:7) + + console.error + An update to ApplicationFollowUp 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 + + 424 | const result = await interviewPrepApi.followUp(jobId); + 425 | setData(result); + > 426 | setDate(result.followUpAt ? result.followUpAt.slice(0, 10) : ""); + | ^ + 427 | setAction(result.nextAction ?? ""); + 428 | setError(null); + 429 | } catch (err) { + + 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 setDate (src/components/InterviewPrep.tsx:426:7) + + console.error + An update to ApplicationFollowUp 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 + + 425 | setData(result); + 426 | setDate(result.followUpAt ? result.followUpAt.slice(0, 10) : ""); + > 427 | setAction(result.nextAction ?? ""); + | ^ + 428 | setError(null); + 429 | } catch (err) { + 430 | setError({ cause: err, fallback: "interviewFollowUpLoadFailed" }); + + 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 setAction (src/components/InterviewPrep.tsx:427:7) + + console.error + An update to ApplicationFollowUp 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 + + 426 | setDate(result.followUpAt ? result.followUpAt.slice(0, 10) : ""); + 427 | setAction(result.nextAction ?? ""); + > 428 | setError(null); + | ^ + 429 | } catch (err) { + 430 | setError({ cause: err, fallback: "interviewFollowUpLoadFailed" }); + 431 | } finally { + + 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 setError (src/components/InterviewPrep.tsx:428:7) + + console.error + An update to ApplicationFollowUp 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 + + 430 | setError({ cause: err, fallback: "interviewFollowUpLoadFailed" }); + 431 | } finally { + > 432 | setLoading(false); + | ^ + 433 | } + 434 | }, [jobId]); + 435 | + + 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 setLoading (src/components/InterviewPrep.tsx:432:7) + + console.error + An update to ApplicationInterviewPrep 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 + + 55 | setLoading(true); + 56 | try { + > 57 | setBoard(await interviewPrepApi.get(jobId)); + | ^ + 58 | setError(null); + 59 | } catch (err) { + 60 | setError({ cause: err, fallback: "interviewPrepLoadFailed" }); + + 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 setBoard (src/components/InterviewPrep.tsx:57:7) + + console.error + An update to ApplicationInterviewPrep 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 + + 56 | try { + 57 | setBoard(await interviewPrepApi.get(jobId)); + > 58 | setError(null); + | ^ + 59 | } catch (err) { + 60 | setError({ cause: err, fallback: "interviewPrepLoadFailed" }); + 61 | } finally { + + 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 setError (src/components/InterviewPrep.tsx:58:7) + + console.error + An update to ApplicationInterviewPrep 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 + + 60 | setError({ cause: err, fallback: "interviewPrepLoadFailed" }); + 61 | } finally { + > 62 | setLoading(false); + | ^ + 63 | } + 64 | }, [jobId]); + 65 | + + 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 setLoading (src/components/InterviewPrep.tsx:62:7) + + console.error + An update to ApplicationFollowUp 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 + + 423 | try { + 424 | const result = await interviewPrepApi.followUp(jobId); + > 425 | setData(result); + | ^ + 426 | setDate(result.followUpAt ? result.followUpAt.slice(0, 10) : ""); + 427 | setAction(result.nextAction ?? ""); + 428 | setError(null); + + 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 setData (src/components/InterviewPrep.tsx:425:7) + + console.error + An update to ApplicationFollowUp 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 + + 424 | const result = await interviewPrepApi.followUp(jobId); + 425 | setData(result); + > 426 | setDate(result.followUpAt ? result.followUpAt.slice(0, 10) : ""); + | ^ + 427 | setAction(result.nextAction ?? ""); + 428 | setError(null); + 429 | } catch (err) { + + 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 setDate (src/components/InterviewPrep.tsx:426:7) + + console.error + An update to ApplicationFollowUp 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 + + 425 | setData(result); + 426 | setDate(result.followUpAt ? result.followUpAt.slice(0, 10) : ""); + > 427 | setAction(result.nextAction ?? ""); + | ^ + 428 | setError(null); + 429 | } catch (err) { + 430 | setError({ cause: err, fallback: "interviewFollowUpLoadFailed" }); + + 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 setAction (src/components/InterviewPrep.tsx:427:7) + + console.error + An update to ApplicationFollowUp 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 + + 426 | setDate(result.followUpAt ? result.followUpAt.slice(0, 10) : ""); + 427 | setAction(result.nextAction ?? ""); + > 428 | setError(null); + | ^ + 429 | } catch (err) { + 430 | setError({ cause: err, fallback: "interviewFollowUpLoadFailed" }); + 431 | } finally { + + 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 setError (src/components/InterviewPrep.tsx:428:7) + + console.error + An update to ApplicationFollowUp 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 + + 430 | setError({ cause: err, fallback: "interviewFollowUpLoadFailed" }); + 431 | } finally { + > 432 | setLoading(false); + | ^ + 433 | } + 434 | }, [jobId]); + 435 | + + 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 setLoading (src/components/InterviewPrep.tsx:432:7) + + console.error + An update to ApplicationInterviewPrep 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 + + 55 | setLoading(true); + 56 | try { + > 57 | setBoard(await interviewPrepApi.get(jobId)); + | ^ + 58 | setError(null); + 59 | } catch (err) { + 60 | setError({ cause: err, fallback: "interviewPrepLoadFailed" }); + + 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 setBoard (src/components/InterviewPrep.tsx:57:7) + + console.error + An update to ApplicationInterviewPrep 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 + + 56 | try { + 57 | setBoard(await interviewPrepApi.get(jobId)); + > 58 | setError(null); + | ^ + 59 | } catch (err) { + 60 | setError({ cause: err, fallback: "interviewPrepLoadFailed" }); + 61 | } finally { + + 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 setError (src/components/InterviewPrep.tsx:58:7) + + console.error + An update to ApplicationInterviewPrep 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 + + 60 | setError({ cause: err, fallback: "interviewPrepLoadFailed" }); + 61 | } finally { + > 62 | setLoading(false); + | ^ + 63 | } + 64 | }, [jobId]); + 65 | + + 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 setLoading (src/components/InterviewPrep.tsx:62:7) + +FAIL src/interview-prep.test.tsx (11.48 s) + ● pending linked CV is loading, not an empty selection (en) + + TestingLibraryElementError: Unable to find an accessible element with the role "progressbar" and name "Loading..." + + Here are the accessible roles: + + banner: + + Name "": +
+ + -------------------------------------------------- + heading: + + Name "AI interview coach": +

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

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