diff --git a/docs/ui-modernisation/INTERVIEW_AI_CONTEXT.md b/docs/ui-modernisation/INTERVIEW_AI_CONTEXT.md new file mode 100644 index 00000000..47c5cb4b --- /dev/null +++ b/docs/ui-modernisation/INTERVIEW_AI_CONTEXT.md @@ -0,0 +1,11 @@ +# Interview AI application-context lifetime + +Baseline A3 `348f4684`, isolated branch codex/interview-ai-context at E:/Storage/Projects/Active/temp docs/jobjakt-local-build/next-security-patch. Source `0f8b17a`. Uses the qualified locked Next16.4.6/follow-redirects1.16.3 installation. No live model. + +Three deterministic tests failed on original runtime source: a late generation displayed application7 text under application8; a completed suggestion remained available after changing application; a late accepted write called the former board loader again after navigation. Synthetic model/API responses only. The first two are also a risk of offering the wrong application's content for explicit application8 acceptance; no real misdirected write is claimed. + +The sole assistant caller now keys its instance by jobId, scoping instructions, generated-language draft, errors, busy state and suggestions to that application instance. Existing CV reader cleanup remains. A layout-lifetime ref invalidates on committed unmount; an already accepted write can finish at its original target, but cannot invoke the old board-refresh callback afterward. No write is redirected, automatically retried or newly authorised. Current-application explicit accept/reject and normal refresh still use existing paths. UI language and generated-content language remain independent within the current application. + +PASSED: final55 cases/two suites (51 InterviewPrep/four daily connected route cases), non-incremental TypeScript, scoped two-file lint and source diff. Three red failures are included in55;48 skipped cases in the focused red selection are not final-suite skips. An earlier successful run used a passive cleanup; final55 was rerun after using synchronous layout cleanup and is the qualification result. Existing generation, explicit acceptance, failed-add retry, answer drafts, CV retry and follow-up cases remain passing. [Receipts](evidence/interview-ai-context/SOURCE_RECEIPTS.json) bind final source and readable/native evidence. + +NOT RUN: fresh full frontend/backend regression, browser, native device/AT, actual model/semantic quality, provider, security/recovery/release qualification. Parent preparation/follow-up outstanding reads, broader job/session lifetime, AI live fallback copy and other components remain separate proof-required work; this is not whole-application isolation acceptance. Existing PDF metrics/visual acceptance not reopened. No catalogue/schema/renderer/ownership/revision/provider changes, orchestrator, main merge or production action. diff --git a/docs/ui-modernisation/evidence/interview-ai-context/SOURCE_RECEIPTS.json b/docs/ui-modernisation/evidence/interview-ai-context/SOURCE_RECEIPTS.json new file mode 100644 index 00000000..b0c68a53 --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-ai-context/SOURCE_RECEIPTS.json @@ -0,0 +1,54 @@ +{ + "baseline": "348f468478ed2fae1b6a52ff970471ea8ce54dd4", + "sourceCommit": "0f8b17a", + "sourceSha256Lf": { + "job-tracker-ui/src/components/InterviewPrep.tsx": "e1c12d012d0488a8cee533015fff0944028578ca6ee37dd61fe70b60363a5803", + "job-tracker-ui/src/interview-prep.test.tsx": "dfb23ea0682377a7edfe6af147f1046c90841e102ef35a2f62c6c85754058c97", + "job-tracker-ui/package.json": "8b31e44c10b77b6d1e007af04c757c0577f12972ff3f6c7079bbc4c446a0d415", + "job-tracker-ui/package-lock.json": "ac90fbdc79e2e0f23d54748814b41a03f5dcaf8fd27291b3dcb73b2603a83e72" + }, + "nativeReceipts": [ + { + "path": "interview-ai-context-red.json", + "lfSha256": "cd1750809c6757251f0616417b85d206db07ce6b74c3a167bb6f3537c5a10c06", + "rawSha256": "cd1750809c6757251f0616417b85d206db07ce6b74c3a167bb6f3537c5a10c06", + "gzipSha256": "bf634ffd5cebf2f84df570c339cded3cd9e4fba247ccb71662572e9e1536c783", + "nativeEncoding": "utf-8-sig" + }, + { + "path": "interview-ai-context-red.txt", + "lfSha256": "a8673e1828567e5dcf97241f893c56178ba8cc09a90fbd9ed4a96e036527974c", + "rawSha256": "999d08952b06ea3dd0b9021fcc6cd8263e069e24404a18242209ca9c1bf98ad3", + "gzipSha256": "ab7bcecff278cce39f68ed4495cdbd0c827c31f5ccd515f5d12083d081ac4fd6", + "nativeEncoding": "utf-16" + }, + { + "path": "interview-ai-context-final.json", + "lfSha256": "3a24bbb550d5246f9dbb3fa28c6e5570c290263ba80714f6d1ffa7597a3496a8", + "rawSha256": "3a24bbb550d5246f9dbb3fa28c6e5570c290263ba80714f6d1ffa7597a3496a8", + "gzipSha256": "8b54fbfc88a68d714250d36a4cc41af046ecceb8f3b5cc51f06c858c0f307222", + "nativeEncoding": "utf-8-sig" + }, + { + "path": "interview-ai-context-final.txt", + "lfSha256": "a4b08a7b17361517ff242d01d15a2e31f974924adbab26ccf866efc45b886dd0", + "rawSha256": "89dc7976226bf01bbd22702c18ea96ea3e821161c2c6fcb65949e6c2b514b924", + "gzipSha256": "1905b14d96265a2a1fa2ab37f354e74e99569dd15401bd9dfac254fa8a969a14", + "nativeEncoding": "utf-16" + }, + { + "path": "interview-ai-context-typecheck.txt", + "lfSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e", + "nativeEncoding": "utf-8-sig" + }, + { + "path": "interview-ai-context-lint.txt", + "lfSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e", + "nativeEncoding": "utf-8-sig" + } + ] +} diff --git a/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-final.json b/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-final.json new file mode 100644 index 00000000..89b2e8cd --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-final.json @@ -0,0 +1 @@ +{"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":2,"numPassedTests":55,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":2,"numTotalTests":55,"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":1794944593320,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":1219,"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":1794944599060,"status":"passed","title":"pending preparation deletion follows en without a preparation reload or answer loss"},{"ancestorTitles":[],"duration":884,"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":1794944600280,"status":"passed","title":"pending preparation deletion follows nb without a preparation reload or answer loss"},{"ancestorTitles":[],"duration":171,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation read error follows en without another preparation request","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794944601164,"status":"passed","title":"visible preparation read error follows en without another preparation request"},{"ancestorTitles":[],"duration":172,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"visible preparation read error follows nb without another preparation request","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794944601335,"status":"passed","title":"visible preparation read error follows nb without another preparation request"},{"ancestorTitles":[],"duration":705,"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":1794944601507,"status":"passed","title":"visible preparation mutation error follows en without clearing the failure through a reload"},{"ancestorTitles":[],"duration":714,"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":1794944602212,"status":"passed","title":"visible preparation mutation error follows nb without clearing the failure through a reload"},{"ancestorTitles":["en unknown interview categories"],"duration":172,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves constructor as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794944602927,"status":"passed","title":"preserves constructor as a category label"},{"ancestorTitles":["en unknown interview categories"],"duration":163,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves toString as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794944603099,"status":"passed","title":"preserves toString as a category label"},{"ancestorTitles":["en unknown interview categories"],"duration":175,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"en unknown interview categories preserves __proto__ as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794944603262,"status":"passed","title":"preserves __proto__ as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":187,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves constructor as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794944603437,"status":"passed","title":"preserves constructor as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":183,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves toString as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794944603624,"status":"passed","title":"preserves toString as a category label"},{"ancestorTitles":["nb unknown interview categories"],"duration":193,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"nb unknown interview categories preserves __proto__ as a category label","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794944603808,"status":"passed","title":"preserves __proto__ as a category label"},{"ancestorTitles":[],"duration":785,"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":1794944604001,"status":"passed","title":"answer save failure follows en / pending and retains the draft for explicit retry"},{"ancestorTitles":[],"duration":741,"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":1794944604786,"status":"passed","title":"answer save failure follows en / visible and retains the draft for explicit retry"},{"ancestorTitles":[],"duration":683,"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":1794944605527,"status":"passed","title":"answer save failure follows nb / pending and retains the draft for explicit retry"},{"ancestorTitles":[],"duration":825,"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":1794944606210,"status":"passed","title":"answer save failure follows nb / visible and retains the draft for explicit retry"},{"ancestorTitles":[],"duration":208,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"localizes interview categories while preserving user-authored preparation","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794944607035,"status":"passed","title":"localizes interview categories while preserving user-authored preparation"},{"ancestorTitles":[],"duration":205,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prep renders grouped items with progress and marks AI-sourced ones","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794944607243,"status":"passed","title":"prep renders grouped items with progress and marks AI-sourced ones"},{"ancestorTitles":[],"duration":336,"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":1794944607448,"status":"passed","title":"delete tooltip describes its wrapper while the disabled button keeps its item name"},{"ancestorTitles":[],"duration":948,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed manual preparation add retains en question and answers for explicit retry","invocations":1,"location":null,"numPassingAsserts":12,"retryReasons":[],"startAt":1794944607784,"status":"passed","title":"failed manual preparation add retains en question and answers for explicit retry"},{"ancestorTitles":[],"duration":915,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed manual preparation add retains nb question and answers for explicit retry","invocations":1,"location":null,"numPassingAsserts":12,"retryReasons":[],"startAt":1794944608732,"status":"passed","title":"failed manual preparation add retains nb question and answers for explicit retry"},{"ancestorTitles":[],"duration":455,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"adding a prep item posts the chosen category and title","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794944609647,"status":"passed","title":"adding a prep item posts the chosen category and title"},{"ancestorTitles":[],"duration":328,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"starts a structured interview debrief without inventing answers","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794944610103,"status":"passed","title":"starts a structured interview debrief without inventing answers"},{"ancestorTitles":[],"duration":228,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"marking an item ready patches it","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794944610431,"status":"passed","title":"marking an item ready patches it"},{"ancestorTitles":[],"duration":281,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an answer is only saved when the user asks","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794944610660,"status":"passed","title":"an answer is only saved when the user asks"},{"ancestorTitles":[],"duration":389,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"deleting a prep item calls delete","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794944610941,"status":"passed","title":"deleting a prep item calls delete"},{"ancestorTitles":[],"duration":141,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"empty prep shows a useful empty state","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794944611330,"status":"passed","title":"empty prep shows a useful empty state"},{"ancestorTitles":[],"duration":386,"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":1794944611471,"status":"passed","title":"AI preparation uses the linked CV and only saves after explicit acceptance"},{"ancestorTitles":[],"duration":659,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late generation cannot offer another application the previous application suggestion","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794944611857,"status":"passed","title":"late generation cannot offer another application the previous application suggestion"},{"ancestorTitles":[],"duration":568,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"completed AI suggestion is scoped to its application instead of becoming a new application draft","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794944612517,"status":"passed","title":"completed AI suggestion is scoped to its application instead of becoming a new application draft"},{"ancestorTitles":[],"duration":642,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late accepted suggestion does not reload the previous application board into the current application","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794944613085,"status":"passed","title":"late accepted suggestion does not reload the previous application board into the current application"},{"ancestorTitles":[],"duration":245,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending linked CV is loading, not an empty selection (en)","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794944613727,"status":"passed","title":"pending linked CV is loading, not an empty selection (en)"},{"ancestorTitles":[],"duration":232,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending linked CV is loading, not an empty selection (nb)","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794944613972,"status":"passed","title":"pending linked CV is loading, not an empty selection (nb)"},{"ancestorTitles":[],"duration":546,"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":1794944614204,"status":"passed","title":"linked-CV failure has current-language GET-only retry and preserves instructions (en)"},{"ancestorTitles":[],"duration":512,"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":1794944614750,"status":"passed","title":"linked-CV failure has current-language GET-only retry and preserves instructions (nb)"},{"ancestorTitles":[],"duration":493,"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":1794944615262,"status":"passed","title":"changing application hides the previous linked CV while the new read is pending (en)"},{"ancestorTitles":[],"duration":545,"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":1794944615755,"status":"passed","title":"changing application hides the previous linked CV while the new read is pending (nb)"},{"ancestorTitles":[],"duration":119,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prep surfaces a load error","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794944616300,"status":"passed","title":"prep surfaces a load error"},{"ancestorTitles":[],"duration":201,"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":1794944616419,"status":"passed","title":"failed follow-up save retains editable en drafts and retries only the explicit write"},{"ancestorTitles":[],"duration":171,"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":1794944616620,"status":"passed","title":"failed follow-up save retains editable nb drafts and retries only the explicit write"},{"ancestorTitles":[],"duration":94,"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":1794944616791,"status":"passed","title":"failed initial follow-up read offers en GET-only retry without editable defaults"},{"ancestorTitles":[],"duration":94,"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":1794944616885,"status":"passed","title":"failed initial follow-up read offers nb GET-only retry without editable defaults"},{"ancestorTitles":[],"duration":122,"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":1794944616979,"status":"passed","title":"follow-up language switch from en preserves the unsaved date and next action without a read"},{"ancestorTitles":[],"duration":125,"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":1794944617101,"status":"passed","title":"follow-up language switch from nb preserves the unsaved date and next action without a read"},{"ancestorTitles":[],"duration":51,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up en read error stays current without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794944617226,"status":"passed","title":"follow-up en read error stays current without another read"},{"ancestorTitles":[],"duration":142,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up en save error stays current without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794944617277,"status":"passed","title":"follow-up en save error stays current without another read"},{"ancestorTitles":[],"duration":77,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up nb read error stays current without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794944617419,"status":"passed","title":"follow-up nb read error stays current without another read"},{"ancestorTitles":[],"duration":156,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up nb save error stays current without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794944617496,"status":"passed","title":"follow-up nb save error stays current without another read"},{"ancestorTitles":[],"duration":56,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"follow-up loads the existing date and open checklist tasks","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794944617652,"status":"passed","title":"follow-up loads the existing date and open checklist tasks"},{"ancestorTitles":[],"duration":92,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"saving a follow-up sends the date and next action","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794944617708,"status":"passed","title":"saving a follow-up sends the date and next action"},{"ancestorTitles":[],"duration":31,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"no follow-up shows an empty state","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794944617800,"status":"passed","title":"no follow-up shows an empty state"}],"endTime":1794944617833,"message":"","name":"E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\next-security-patch\\job-tracker-ui\\src\\interview-prep.test.tsx","startTime":1794944594943,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":423,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"dashboard attention card opens follow-up workspace","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794944620305,"status":"passed","title":"dashboard attention card opens follow-up workspace"},{"ancestorTitles":[],"duration":223,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"empty dashboard prioritizes onboarding and suppresses meaningless analytics","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794944620728,"status":"passed","title":"empty dashboard prioritizes onboarding and suppresses meaningless analytics"},{"ancestorTitles":[],"duration":103,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"reminders open action routes tailored-cv gaps into the tailored cv workspace","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794944620952,"status":"passed","title":"reminders open action routes tailored-cv gaps into the tailored cv workspace"},{"ancestorTitles":[],"duration":1269,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"job table urgency signals and next actions route into the shared workspace flow","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794944621055,"status":"passed","title":"job table urgency signals and next actions route into the shared workspace flow"}],"endTime":1794944622324,"message":"","name":"E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\next-security-patch\\job-tracker-ui\\src\\daily-control-loop.test.tsx","startTime":1794944617855,"status":"passed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-final.json.gz b/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-final.json.gz new file mode 100644 index 00000000..573e8316 Binary files /dev/null and b/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-final.json.gz differ diff --git a/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-final.txt b/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-final.txt new file mode 100644 index 00000000..71742ee9 --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-final.txt @@ -0,0 +1,13 @@ +node : +At line:1 char:122 ++ ... =$env:TEMP; node node_modules/jest/bin/jest.js --runInBand --runTests ... ++ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + CategoryInfo : NotSpecified: (:String) [], RemoteException + + FullyQualifiedErrorId : NativeCommandError + +Test Suites: 2 passed, 2 total +Tests: 55 passed, 55 total +Snapshots: 0 total +Time: 29.011 s +Ran all test suites within paths "src/interview-prep.test.tsx", "src/daily-control-loop.test.tsx". +Test results written to: ..\..\interview-ai-context-final.json diff --git a/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-final.txt.gz b/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-final.txt.gz new file mode 100644 index 00000000..95c203f9 Binary files /dev/null and b/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-final.txt.gz differ diff --git a/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-lint.txt b/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-lint.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-lint.txt.gz b/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-lint.txt.gz new file mode 100644 index 00000000..ae211a2c Binary files /dev/null and b/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-lint.txt.gz differ diff --git a/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-red.json b/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-red.json new file mode 100644 index 00000000..5a5e7460 --- /dev/null +++ b/docs/ui-modernisation/evidence/interview-ai-context/interview-ai-context-red.json @@ -0,0 +1 @@ +{"numFailedTestSuites":1,"numFailedTests":3,"numPassedTestSuites":0,"numPassedTests":0,"numPendingTestSuites":0,"numPendingTests":48,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":1,"numTotalTests":51,"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":1794944477499,"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"status":"pending","title":"delete tooltip describes its wrapper while the disabled button keeps its item name"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed manual preparation add retains en question and answers for explicit retry","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794944483088,"status":"pending","title":"failed manual preparation add retains en question and answers for explicit retry"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"failed manual preparation add retains nb question and answers for explicit retry","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794944483088,"status":"pending","title":"failed manual preparation add retains nb question and answers for explicit retry"},{"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"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":1794944483088,"status":"pending","title":"AI preparation uses the linked CV and only saves after explicit acceptance"},{"ancestorTitles":[],"duration":833,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Only for application seven
instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, foundOnly for application seven
instead\n at Object.toBeInTheDocument (E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\next-security-patch\\job-tracker-ui\\src\\interview-prep.test.tsx:358:67)"],"fullName":"late generation cannot offer another application the previous application suggestion","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794944483088,"status":"failed","title":"late generation cannot offer another application the previous application suggestion"},{"ancestorTitles":[],"duration":530,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, foundPrepared for application seven only
instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, foundPrepared for application seven only
instead\n at Object.toBeInTheDocument (E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\next-security-patch\\job-tracker-ui\\src\\interview-prep.test.tsx:373:76)"],"fullName":"completed AI suggestion is scoped to its application instead of becoming a new application draft","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794944483943,"status":"failed","title":"completed AI suggestion is scoped to its application instead of becoming a new application draft"},{"ancestorTitles":[],"duration":644,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(received).toHaveLength(expected)\n\nExpected length: 1\nReceived length: 2\nReceived array: [[\"/jobapplications/7/interview-prep\"], [\"/jobapplications/7/interview-prep\"]]","pass":false}}],"failureMessages":["Error: expect(received).toHaveLength(expected)\n\nExpected length: 1\nReceived length: 2\nReceived array: [[\"/jobapplications/7/interview-prep\"], [\"/jobapplications/7/interview-prep\"]]\n at Object.toHaveLength (E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\next-security-patch\\job-tracker-ui\\src\\interview-prep.test.tsx:391:99)"],"fullName":"late accepted suggestion does not reload the previous application board into the current application","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794944484473,"status":"failed","title":"late accepted suggestion does not reload the previous application board into the current application"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending linked CV is loading, not an empty selection (en)","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794944485117,"status":"pending","title":"pending linked CV is loading, not an empty selection (en)"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending linked CV is loading, not an empty selection (nb)","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794944485117,"status":"pending","title":"pending linked CV is loading, not an empty selection (nb)"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"linked-CV failure has current-language GET-only retry and preserves instructions (en)","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794944485117,"status":"pending","title":"linked-CV failure has current-language GET-only retry and preserves instructions (en)"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"linked-CV failure has current-language GET-only retry and preserves instructions (nb)","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794944485117,"status":"pending","title":"linked-CV failure has current-language GET-only retry and preserves instructions (nb)"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"changing application hides the previous linked CV while the new read is pending (en)","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794944485117,"status":"pending","title":"changing application hides the previous linked CV while the new read is pending (en)"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"changing application hides the previous linked CV while the new read is pending (nb)","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794944485117,"status":"pending","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":1794944485117,"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":1794944485117,"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":1794944485117,"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":1794944485117,"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":1794944485117,"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":1794944485117,"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":1794944485117,"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":1794944485117,"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":1794944485117,"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":1794944485117,"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":1794944485117,"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":1794944485117,"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":1794944485117,"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":1794944485117,"status":"pending","title":"no follow-up shows an empty state"}],"endTime":1794944485145,"message":" ● late generation cannot offer another application the previous application suggestion\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, foundOnly for application seven
instead\n\n 356 | await act(async () => finish({ data: { result: { text: 'Only for application seven' } } }));\n 357 | const assistant = within(screen.getByRole('region', { name: translations.en.interviewAiTitle }));\n > 358 | expect(assistant.queryByText('Only for application seven')).not.toBeInTheDocument();\n | ^\n 359 | expect(assistant.queryByRole('button', { name: translations.en.interviewAiAddToPrep })).not.toBeInTheDocument();\n 360 | expect(assistant.getByLabelText(translations.en.coverAiAdditionalInstructions)).toHaveValue('');\n 361 | expect(mockedApi.post).toHaveBeenCalledTimes(1);\n\n at Object.toBeInTheDocument (src/interview-prep.test.tsx:358:67)\n\n ● completed AI suggestion is scoped to its application instead of becoming a new application draft\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, foundPrepared for application seven only
instead\n\n 371 | view.rerender(Only for application seven
instead + + 356 | await act(async () => finish({ data: { result: { text: 'Only for application seven' } } })); + 357 | const assistant = within(screen.getByRole('region', { name: translations.en.interviewAiTitle })); + > 358 | expect(assistant.queryByText('Only for application seven')).not.toBeInTheDocument(); + | ^ + 359 | expect(assistant.queryByRole('button', { name: translations.en.interviewAiAddToPrep +})).not.toBeInTheDocument(); + 360 | expect(assistant.getByLabelText(translations.en.coverAiAdditionalInstructions)).toHaveValue(''); + 361 | expect(mockedApi.post).toHaveBeenCalledTimes(1); + + at Object.toBeInTheDocument (src/interview-prep.test.tsx:358:67) + + ● completed AI suggestion is scoped to its application instead of becoming a new application draft + + expect(element).not.toBeInTheDocument() + + expected document not to contain element, foundPrepared for application seven only
instead + + 371 | view.rerender(