From 6c8a2f67f86c23775b969bac321e3b07961fad89 Mon Sep 17 00:00:00 2001 From: cesnimda Date: Tue, 17 Nov 2026 07:46:29 +0100 Subject: [PATCH] docs(attachments): qualify download and preview completion guards --- .../ATTACHMENT_BLOB_LIFETIME.md | 11 + .../attachment-blob/SOURCE_RECEIPTS.json | 88 + .../attachment-blob/corrected-red.json | 1 + .../attachment-blob/corrected-red.json.gz | Bin 0 -> 4674 bytes .../attachment-blob/corrected-red.txt | 1945 +++++++++++++++++ .../attachment-blob/corrected-red.txt.gz | Bin 0 -> 4478 bytes .../evidence/attachment-blob/final.json | 1 + .../evidence/attachment-blob/final.json.gz | Bin 0 -> 2451 bytes .../evidence/attachment-blob/final.txt | 7 + .../evidence/attachment-blob/final.txt.gz | Bin 0 -> 247 bytes .../evidence/attachment-blob/graph.txt | 18 + .../evidence/attachment-blob/graph.txt.gz | Bin 0 -> 985 bytes .../evidence/attachment-blob/green.json | 1 + .../evidence/attachment-blob/green.json.gz | Bin 0 -> 2442 bytes .../evidence/attachment-blob/green.txt | 7 + .../evidence/attachment-blob/green.txt.gz | Bin 0 -> 246 bytes .../evidence/attachment-blob/lint.txt | 0 .../evidence/attachment-blob/lint.txt.gz | Bin 0 -> 20 bytes .../evidence/attachment-blob/red.json | 1 + .../evidence/attachment-blob/red.json.gz | Bin 0 -> 4996 bytes .../evidence/attachment-blob/red.txt | 640 ++++++ .../evidence/attachment-blob/red.txt.gz | Bin 0 -> 3382 bytes .../evidence/attachment-blob/typecheck.txt | 0 .../evidence/attachment-blob/typecheck.txt.gz | Bin 0 -> 20 bytes 24 files changed, 2720 insertions(+) create mode 100644 docs/ui-modernisation/ATTACHMENT_BLOB_LIFETIME.md create mode 100644 docs/ui-modernisation/evidence/attachment-blob/SOURCE_RECEIPTS.json create mode 100644 docs/ui-modernisation/evidence/attachment-blob/corrected-red.json create mode 100644 docs/ui-modernisation/evidence/attachment-blob/corrected-red.json.gz create mode 100644 docs/ui-modernisation/evidence/attachment-blob/corrected-red.txt create mode 100644 docs/ui-modernisation/evidence/attachment-blob/corrected-red.txt.gz create mode 100644 docs/ui-modernisation/evidence/attachment-blob/final.json create mode 100644 docs/ui-modernisation/evidence/attachment-blob/final.json.gz create mode 100644 docs/ui-modernisation/evidence/attachment-blob/final.txt create mode 100644 docs/ui-modernisation/evidence/attachment-blob/final.txt.gz create mode 100644 docs/ui-modernisation/evidence/attachment-blob/graph.txt create mode 100644 docs/ui-modernisation/evidence/attachment-blob/graph.txt.gz create mode 100644 docs/ui-modernisation/evidence/attachment-blob/green.json create mode 100644 docs/ui-modernisation/evidence/attachment-blob/green.json.gz create mode 100644 docs/ui-modernisation/evidence/attachment-blob/green.txt create mode 100644 docs/ui-modernisation/evidence/attachment-blob/green.txt.gz create mode 100644 docs/ui-modernisation/evidence/attachment-blob/lint.txt create mode 100644 docs/ui-modernisation/evidence/attachment-blob/lint.txt.gz create mode 100644 docs/ui-modernisation/evidence/attachment-blob/red.json create mode 100644 docs/ui-modernisation/evidence/attachment-blob/red.json.gz create mode 100644 docs/ui-modernisation/evidence/attachment-blob/red.txt create mode 100644 docs/ui-modernisation/evidence/attachment-blob/red.txt.gz create mode 100644 docs/ui-modernisation/evidence/attachment-blob/typecheck.txt create mode 100644 docs/ui-modernisation/evidence/attachment-blob/typecheck.txt.gz diff --git a/docs/ui-modernisation/ATTACHMENT_BLOB_LIFETIME.md b/docs/ui-modernisation/ATTACHMENT_BLOB_LIFETIME.md new file mode 100644 index 00000000..5146e155 --- /dev/null +++ b/docs/ui-modernisation/ATTACHMENT_BLOB_LIFETIME.md @@ -0,0 +1,11 @@ +# Attachment download/preview completion context + +17 November 2026. Source `0ed7a6cd` on `codex/a3-ui-10`, based on `13769a19`. + +The shared blob reader checks the captured mounted job/session context before creating an object URL. Download/preview actions capture that context before the request; obsolete failures cannot notify, and current failures use current-language copy. Existing responseType, filenames, preview type, download expiry and current preview cleanup are retained. No server/file data is changed. + +Fourteen corrected regressions FAILED on original `13769a19`: download/preview success/failure after unmount, job change or session invalidation, plus current-language failures. The first red run also had test cleanup errors from old download expiry timers after URL mocks were restored. The fixture now clears only its recorded5000ms timers before restoring mocks. Original source was temporarily loaded from Git for the corrected red run and fixed source restored byte-for-byte in finally. Both raw runs retained; do not count the first as clean qualification. + +Final69 cases/four suites PASSED; earlier69 overlaps. TypeScript, scoped ESLint, diff check and AST update PASSED (19,289 nodes/47,415 edges). Native/gzip/source evidence: `evidence/attachment-blob/SOURCE_RECEIPTS.json`. + +Existing current PDF preview cases passed. Tests use synthetic blob data/mocked API/session, no real private download or provider access. Same-context competing previews, already-open preview on job change, upload/metadata completion and final integrated/browser/device/security/release acceptance remain separate. Prior Next build remains FAILED. Rollback: revert this source commit; no data migration. diff --git a/docs/ui-modernisation/evidence/attachment-blob/SOURCE_RECEIPTS.json b/docs/ui-modernisation/evidence/attachment-blob/SOURCE_RECEIPTS.json new file mode 100644 index 00000000..451ed710 --- /dev/null +++ b/docs/ui-modernisation/evidence/attachment-blob/SOURCE_RECEIPTS.json @@ -0,0 +1,88 @@ +{ + "sourceCommit": "0ed7a6cd3559cdd6d4ebcd71f58efe2f710f6ca3", + "sourcesLfSha256": { + "job-tracker-ui/src/attachment-action-lifetime.test.tsx": "8c5ece36cacb46b2caa5d9b73c5c2a0153823c649630cc14d1fa7fa44d55431f", + "job-tracker-ui/src/components/Attachments.tsx": "b554217bbf791fd1b0b4f5c89f987966d39101e2327cd69c720e85fe6a1482d3" + }, + "evidenceLfSha256": { + "red.json": "ad9e8eb1ddf6940adea457f1aff6bfde425ff65a84ec73746c63c3b30d475657", + "red.txt": "8b9e65a424ffb986b1284c9c24c24f6a48bf27ee93ddf0e679e8ab3163b17069", + "green.json": "df04a846a835855d871ced4c334aa8cde3b16909882ae759c66f12c48b112dbc", + "green.txt": "7beacd136cf0a87c6db90989e28d8bbde908c81d73a40a782f91f0001805cbdb", + "corrected-red.json": "962830735ae5b66c8024bc65f4ae373a2a9d72c7d5e592be42cdc0acd38cee51", + "corrected-red.txt": "730bd27fc340025ee8c51b72d7ac069dcb9fcda561d546a09caf1d83c79c9b76", + "final.json": "6852b2d7f0a759d139b5a16ebf0c5a3887665897a365650bb8f5d7c87fd763a1", + "final.txt": "8add7fad45a87f261949a27924b11c4c4fdf0bc38444c74edd192d39b0d5f919", + "typecheck.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "graph.txt": "13b3067df34480f0923604afd20fb8e26b3c7cf80189500f80761d9d36e87b3a" + }, + "nativeReceipts": [ + { + "path": "red.json", + "gzipPath": "red.json.gz", + "rawSha256": "ad9e8eb1ddf6940adea457f1aff6bfde425ff65a84ec73746c63c3b30d475657", + "gzipSha256": "cf5e23c846730346ae6c3927cf1099e044083690780ef76e9251797d635c17fa" + }, + { + "path": "red.txt", + "gzipPath": "red.txt.gz", + "rawSha256": "de1319a63ed333b36854fc7112bba81d4d48149a54752a8d08f527745500d0d0", + "gzipSha256": "e6418d0f27008142bf06fab5a2b837949e1432375b470739f5812d0345a4d2ba" + }, + { + "path": "green.json", + "gzipPath": "green.json.gz", + "rawSha256": "df04a846a835855d871ced4c334aa8cde3b16909882ae759c66f12c48b112dbc", + "gzipSha256": "014a0edf80fc92d7c072f898e1337039bb6236b244569af5e742fb5238e2cab2" + }, + { + "path": "green.txt", + "gzipPath": "green.txt.gz", + "rawSha256": "ae7c38506ff60fecfca5751f15279e7f49c039207e5ac579ea0d2e760106d039", + "gzipSha256": "9afc5243e83d4c12511dd739d00be6d2e22a1c1a8d18a05f90a6541917bcf89e" + }, + { + "path": "corrected-red.json", + "gzipPath": "corrected-red.json.gz", + "rawSha256": "962830735ae5b66c8024bc65f4ae373a2a9d72c7d5e592be42cdc0acd38cee51", + "gzipSha256": "dd0504397e63444e107ac0a47a9bd1b448241865662d3ca63eee8261175b1c5d" + }, + { + "path": "corrected-red.txt", + "gzipPath": "corrected-red.txt.gz", + "rawSha256": "730bd27fc340025ee8c51b72d7ac069dcb9fcda561d546a09caf1d83c79c9b76", + "gzipSha256": "cd854aa38ac64d2677d20abe93c3a07738d2b279d85933e827fbab083ee87bf1" + }, + { + "path": "final.json", + "gzipPath": "final.json.gz", + "rawSha256": "6852b2d7f0a759d139b5a16ebf0c5a3887665897a365650bb8f5d7c87fd763a1", + "gzipSha256": "cb2b6c724f9b96ebf6548459674e99a03abd187aeeffae61c359a8021eb08d89" + }, + { + "path": "final.txt", + "gzipPath": "final.txt.gz", + "rawSha256": "336ebd9c6557d8e738c1eb9a70476ff6810dc289d9106b23fec728b77f6fe62f", + "gzipSha256": "36a5f93ff7ab8c4f44e439219b235c1b0101ea8f9ac6e2ee36dd01ebf5deb14e" + }, + { + "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": "e61e6a94482486b1f780b79125d2d16e3734c6a52b4d62d4e96f613178269aa8", + "gzipSha256": "2f5aae121d66e39f8f213e1ec80736d444baa012a9e852165d1c8f3178f47cf6" + } + ] +} diff --git a/docs/ui-modernisation/evidence/attachment-blob/corrected-red.json b/docs/ui-modernisation/evidence/attachment-blob/corrected-red.json new file mode 100644 index 00000000..329caeda --- /dev/null +++ b/docs/ui-modernisation/evidence/attachment-blob/corrected-red.json @@ -0,0 +1 @@ +{"numFailedTestSuites":1,"numFailedTests":14,"numPassedTestSuites":0,"numPassedTests":0,"numPendingTestSuites":0,"numPendingTests":24,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":1,"numTotalTests":38,"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":1794897757484,"success":false,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old attachment read resolve cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"old attachment read resolve cannot replace the next application"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old attachment read reject cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"old attachment read reject cannot replace the next application"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-rename read resolve cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"old post-rename read resolve cannot replace the next application"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-rename read reject cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"old post-rename read reject cannot replace the next application"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-delete read resolve cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"old post-delete read resolve cannot replace the next application"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-delete read reject cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"old post-delete read reject cannot replace the next application"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename decision after unmount cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"attachment rename decision after unmount cannot mutate the previous context"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename decision after job change cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"attachment rename decision after job change cannot mutate the previous context"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename decision after session cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"attachment rename decision after session cannot mutate the previous context"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete decision after unmount cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"attachment delete decision after unmount cannot mutate the previous context"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete decision after job change cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"attachment delete decision after job change cannot mutate the previous context"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete decision after session cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"attachment delete decision after session cannot mutate the previous context"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename delayed resolve uses current language","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"attachment rename delayed resolve uses current language"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename delayed reject uses current language","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"attachment rename delayed reject uses current language"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete delayed resolve uses current language","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"attachment delete delayed resolve uses current language"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete delayed reject uses current language","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"attachment delete delayed reject uses current language"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment rename after unmount / resolve cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"late attachment rename after unmount / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment rename after unmount / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"late attachment rename after unmount / reject cannot reload or notify"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment rename after job change / resolve cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"late attachment rename after job change / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment rename after job change / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"late attachment rename after job change / reject cannot reload or notify"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after unmount / resolve cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"late attachment delete after unmount / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after unmount / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"late attachment delete after unmount / reject cannot reload or notify"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after job change / resolve cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"late attachment delete after job change / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after job change / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897760907,"status":"pending","title":"late attachment delete after job change / reject cannot reload or notify"},{"ancestorTitles":[],"duration":266,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}","pass":true}}],"failureMessages":["Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}\n at toHaveBeenCalled (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:139:37)"],"fullName":"late attachment Download after unmount / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794897760907,"status":"failed","title":"late attachment Download after unmount / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":97,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Download failed.
instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Download failed.
instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:142:79)"],"fullName":"late attachment Download after unmount / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897761181,"status":"failed","title":"late attachment Download after unmount / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":139,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}","pass":true}}],"failureMessages":["Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}\n at toHaveBeenCalled (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:139:37)"],"fullName":"late attachment Download after job change / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794897761278,"status":"failed","title":"late attachment Download after job change / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":137,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Download failed.
instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Download failed.
instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:142:79)"],"fullName":"late attachment Download after job change / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897761417,"status":"failed","title":"late attachment Download after job change / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":65,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}","pass":true}}],"failureMessages":["Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}\n at toHaveBeenCalled (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:139:37)"],"fullName":"late attachment Download after session / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794897761554,"status":"failed","title":"late attachment Download after session / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":85,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Download failed.
instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Download failed.
instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:142:79)"],"fullName":"late attachment Download after session / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897761619,"status":"failed","title":"late attachment Download after session / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":65,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}","pass":true}}],"failureMessages":["Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}\n at toHaveBeenCalled (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:139:37)"],"fullName":"late attachment Preview after unmount / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794897761704,"status":"failed","title":"late attachment Preview after unmount / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":72,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Preview failed.
instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Preview failed.
instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:143:78)"],"fullName":"late attachment Preview after unmount / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897761769,"status":"failed","title":"late attachment Preview after unmount / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":149,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}","pass":true}}],"failureMessages":["Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}\n at toHaveBeenCalled (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:139:37)"],"fullName":"late attachment Preview after job change / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794897761841,"status":"failed","title":"late attachment Preview after job change / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":125,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Preview failed.
instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Preview failed.
instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:143:78)"],"fullName":"late attachment Preview after job change / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897761990,"status":"failed","title":"late attachment Preview after job change / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":96,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}","pass":true}}],"failureMessages":["Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}\n at toHaveBeenCalled (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:139:37)"],"fullName":"late attachment Preview after session / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794897762115,"status":"failed","title":"late attachment Preview after session / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":89,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Preview failed.
instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Preview failed.
instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:143:78)"],"fullName":"late attachment Preview after session / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897762212,"status":"failed","title":"late attachment Preview after session / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":4104,"failing":false,"failureDetails":[{"name":"TestingLibraryElementError"}],"failureMessages":["Error: Unable to find an element with the text: Nedlasting mislyktes.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\n\nIgnored nodes: comments, script, style\n\u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mVedlegg (1)\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mLast opp CV-er, søknadsbrev, porteføljer og støttedokumenter for denne søknaden.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m0 bilder\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 PDF-er\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mMaks 10 MB hver\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[0mLast opp\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[0mDra og slipp filer her\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0meller bruk opplastingsknappen for å velge dokumenter fra enheten din.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInnhold lastet.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mNavn\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mType\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFiltype\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n ...\n at waitForWrapper (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\wait-for.js:163:27)\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\query-helpers.js:86:33\n at findByText (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:160:23)"],"fullName":"delayed attachment Download failure uses the current locale","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897762301,"status":"failed","title":"delayed attachment Download failure uses the current locale"},{"ancestorTitles":[],"duration":4108,"failing":false,"failureDetails":[{"name":"TestingLibraryElementError"}],"failureMessages":["Error: Unable to find an element with the text: Forhåndsvisning mislyktes.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\n\nIgnored nodes: comments, script, style\n\u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mVedlegg (1)\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mLast opp CV-er, søknadsbrev, porteføljer og støttedokumenter for denne søknaden.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m0 bilder\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 PDF-er\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mMaks 10 MB hver\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[0mLast opp\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[0mDra og slipp filer her\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0meller bruk opplastingsknappen for å velge dokumenter fra enheten din.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInnhold lastet.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mNavn\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mType\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFiltype\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n ...\n at waitForWrapper (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\wait-for.js:163:27)\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\query-helpers.js:86:33\n at findByText (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:160:23)"],"fullName":"delayed attachment Preview failure uses the current locale","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897766405,"status":"failed","title":"delayed attachment Preview failure uses the current locale"}],"endTime":1794897770543,"message":" ● late attachment Download after unmount / resolve cannot expose an obsolete blob\n\n expect(jest.fn()).not.toHaveBeenCalled()\n\n Expected number of calls: 0\n Received number of calls: 1\n\n 1: {}\n\n 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); });\n 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); });\n > 139 | expect(URL.createObjectURL).not.toHaveBeenCalled();\n | ^\n 140 | expect(click).not.toHaveBeenCalled();\n 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n\n at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:139:37)\n\n ● late attachment Download after unmount / reject cannot expose an obsolete blob\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found
Download failed.
instead\n\n 140 | expect(click).not.toHaveBeenCalled();\n 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n > 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n | ^\n 143 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();\n 144 | } finally {\n 145 | view.unmount(); click.mockRestore();\n\n at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:142:79)\n\n ● late attachment Download after job change / resolve cannot expose an obsolete blob\n\n expect(jest.fn()).not.toHaveBeenCalled()\n\n Expected number of calls: 0\n Received number of calls: 1\n\n 1: {}\n\n 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); });\n 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); });\n > 139 | expect(URL.createObjectURL).not.toHaveBeenCalled();\n | ^\n 140 | expect(click).not.toHaveBeenCalled();\n 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n\n at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:139:37)\n\n ● late attachment Download after job change / reject cannot expose an obsolete blob\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found
Download failed.
instead\n\n 140 | expect(click).not.toHaveBeenCalled();\n 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n > 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n | ^\n 143 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();\n 144 | } finally {\n 145 | view.unmount(); click.mockRestore();\n\n at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:142:79)\n\n ● late attachment Download after session / resolve cannot expose an obsolete blob\n\n expect(jest.fn()).not.toHaveBeenCalled()\n\n Expected number of calls: 0\n Received number of calls: 1\n\n 1: {}\n\n 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); });\n 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); });\n > 139 | expect(URL.createObjectURL).not.toHaveBeenCalled();\n | ^\n 140 | expect(click).not.toHaveBeenCalled();\n 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n\n at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:139:37)\n\n ● late attachment Download after session / reject cannot expose an obsolete blob\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found
Download failed.
instead\n\n 140 | expect(click).not.toHaveBeenCalled();\n 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n > 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n | ^\n 143 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();\n 144 | } finally {\n 145 | view.unmount(); click.mockRestore();\n\n at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:142:79)\n\n ● late attachment Preview after unmount / resolve cannot expose an obsolete blob\n\n expect(jest.fn()).not.toHaveBeenCalled()\n\n Expected number of calls: 0\n Received number of calls: 1\n\n 1: {}\n\n 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); });\n 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); });\n > 139 | expect(URL.createObjectURL).not.toHaveBeenCalled();\n | ^\n 140 | expect(click).not.toHaveBeenCalled();\n 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n\n at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:139:37)\n\n ● late attachment Preview after unmount / reject cannot expose an obsolete blob\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found
Preview failed.
instead\n\n 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n > 143 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();\n | ^\n 144 | } finally {\n 145 | view.unmount(); click.mockRestore();\n 146 | timers.mock.calls.forEach((call, index) => { if (call[1] === 5000) window.clearTimeout(timers.mock.results[index].value); });\n\n at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:143:78)\n\n ● late attachment Preview after job change / resolve cannot expose an obsolete blob\n\n expect(jest.fn()).not.toHaveBeenCalled()\n\n Expected number of calls: 0\n Received number of calls: 1\n\n 1: {}\n\n 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); });\n 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); });\n > 139 | expect(URL.createObjectURL).not.toHaveBeenCalled();\n | ^\n 140 | expect(click).not.toHaveBeenCalled();\n 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n\n at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:139:37)\n\n ● late attachment Preview after job change / reject cannot expose an obsolete blob\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found
Preview failed.
instead\n\n 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n > 143 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();\n | ^\n 144 | } finally {\n 145 | view.unmount(); click.mockRestore();\n 146 | timers.mock.calls.forEach((call, index) => { if (call[1] === 5000) window.clearTimeout(timers.mock.results[index].value); });\n\n at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:143:78)\n\n ● late attachment Preview after session / resolve cannot expose an obsolete blob\n\n expect(jest.fn()).not.toHaveBeenCalled()\n\n Expected number of calls: 0\n Received number of calls: 1\n\n 1: {}\n\n 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); });\n 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); });\n > 139 | expect(URL.createObjectURL).not.toHaveBeenCalled();\n | ^\n 140 | expect(click).not.toHaveBeenCalled();\n 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n\n at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:139:37)\n\n ● late attachment Preview after session / reject cannot expose an obsolete blob\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found
Preview failed.
instead\n\n 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n > 143 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();\n | ^\n 144 | } finally {\n 145 | view.unmount(); click.mockRestore();\n 146 | timers.mock.calls.forEach((call, index) => { if (call[1] === 5000) window.clearTimeout(timers.mock.results[index].value); });\n\n at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:143:78)\n\n ● delayed attachment Download failure uses the current locale\n\n Unable to find an element with the text: Nedlasting mislyktes.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\n\n Ignored nodes: comments, script, style\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mVedlegg (1)\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mLast opp CV-er, søknadsbrev, porteføljer og støttedokumenter for denne søknaden.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m0 bilder\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 PDF-er\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mMaks 10 MB hver\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[0mLast opp\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[0mDra og slipp filer her\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0meller bruk opplastingsknappen for å velge dokumenter fra enheten din.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInnhold lastet.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mNavn\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mType\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFiltype\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n ...\n\n 158 | await act(async () => pending.reject(new Error('synthetic blob failure')));\n 159 | const key = action === 'Download' ? 'attachmentsDownloadFailed' : 'attachmentsPreviewFailed';\n > 160 | expect(await screen.findByText(translations.nb[key])).toBeVisible();\n | ^\n 161 | expect(screen.queryByText(translations.en[key])).not.toBeInTheDocument();\n 162 | });\n 163 |\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/attachment-action-lifetime.test.tsx:160:23)\n\n ● delayed attachment Preview failure uses the current locale\n\n Unable to find an element with the text: Forhåndsvisning mislyktes.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\n\n Ignored nodes: comments, script, style\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mVedlegg (1)\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mLast opp CV-er, søknadsbrev, porteføljer og støttedokumenter for denne søknaden.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m0 bilder\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 PDF-er\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mMaks 10 MB hver\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[0mLast opp\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[0mDra og slipp filer her\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0meller bruk opplastingsknappen for å velge dokumenter fra enheten din.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInnhold lastet.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mNavn\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mType\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFiltype\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n ...\n\n 158 | await act(async () => pending.reject(new Error('synthetic blob failure')));\n 159 | const key = action === 'Download' ? 'attachmentsDownloadFailed' : 'attachmentsPreviewFailed';\n > 160 | expect(await screen.findByText(translations.nb[key])).toBeVisible();\n | ^\n 161 | expect(screen.queryByText(translations.en[key])).not.toBeInTheDocument();\n 162 | });\n 163 |\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/attachment-action-lifetime.test.tsx:160:23)\n","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx","startTime":1794897758331,"status":"failed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/attachment-blob/corrected-red.json.gz b/docs/ui-modernisation/evidence/attachment-blob/corrected-red.json.gz new file mode 100644 index 0000000000000000000000000000000000000000..17a45ff0f73fe0626d52dd72b0af9495bd491636 GIT binary patch literal 4674 zcmbu?8I5#GcZW!aNVie~ zg8c41zX$i6`}BSuyv}*Q&-)+v0OAO7{(X;#j-ji*o1l*!ImKOj17}h^LI+XQDc+|8 zCl|hxSTU*hGKlG;MaYLFl{hZ?XXr}rI}${T?(@^6KOxBhANi7QAGrB6Ias_s-6$W2 zl_}E@y^{~UGw^`yR>Bt-z6|2tOV#s|@w4o^v}Dmp6x8Niu$fg^TJq)4+0NIm{6)2% zGwGQmGIbC`U8JrN>%hOaoWJ|Hv=Y{-%9al~CS&sor#s3h$lFf6=j+W=baOuQhm|9` z-%V-mYN>*C+|)=jQg5ckd}0MK*>HmEvKhQpNazNmHf0bP!PfevmyE%k_qvOIe0F;?e;$0^-4)UQjupY3R=COBf;@2Sq!5xv@zZKYF`Z3oUdyGL*;uy(T+U zx-i?~AA7ex-Ey;)VPTl>$*7EprTZh|t?^0Ulj85q!3rv*3ty-lLp2)WB8K3~4Nrvf z^5sDQT*0{7P}VegmFqhCr9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J6g`Hvn~X)n7C` zNGcy>%5&>x!}2x=^d&?_{`CS~uOlhTjC}(lIdZ@EP>*RUXyg>|H5-?I6Q1TYVo%Js zwOe&uckJPULfz&PUt#HkVl8e3-+RmSecc!Ptj*jG`^Q=3yudm;K0s9XwP?r(V5cnL zJm}7GV(?D#6VNU@el#uKdd*pMvQL((^GG`g$MC=it1ya~{#2zQrD@8Cob%T-{aeo= zV(P3ZJ$3fWYv(1p898`ir5&T;mKtNsoueQs&DiOj+BvW^=#_zvJJ-gJj09x#8v!@v z$DPhG-CoSBvlkB9Y)%@B1cnP7G{hS%p9l^2Q&2z&8Wvl|k6I`2P-Va6(V~&ngf`2N zlT`GZ%jj2WVdr4yb|`a2R#XFpY{kvnnw_4(K$Da0uby=dmOoFnoW?VY8x*Z7f!|%n zKh;S%uFX}LdjUcPcHas;iE=eyo!_#m;!C5_kc1lkY~|VY9S>WVpnE^h?Efm66z0-; zw?YnUI`6$r&?k2D3Xr@iGWi>uaHrXRvsCU+_0d*EFmCV1 zgwCs@-rB^`t0(c=YOj_J$#nWWWFXXyu)8aViz{D$38V1BmqK-uRpmZ_pYH42@I3g@=N=Pq4Sz8Vdg9Yrcaw;o_cyuh_{h2`?TdK zmQALmQ7T^03D|sZjhLE}8Zb$9$WI7_@2=*Jg`CEsCFyY3}?~yW<=K^*B*%93|=VipJ9_jfXR;d3K z(^>t%?}@fg2K4ioX-586ECh|5w#$ATkX3o}H?ipap;rWC;3M$Ut}}QTBZM{@)PIok zr8B`lrIOD@DSp*a|NWSFZn%2cvE6BDy-UHCB%WOm(?Bpo!$YU+-S7rZN{Dg=j< Qp*P@E&B?Y@c3hnQ130n{NdN!< literal 0 HcmV?d00001 diff --git a/docs/ui-modernisation/evidence/attachment-blob/corrected-red.txt b/docs/ui-modernisation/evidence/attachment-blob/corrected-red.txt new file mode 100644 index 00000000..0903fef7 --- /dev/null +++ b/docs/ui-modernisation/evidence/attachment-blob/corrected-red.txt @@ -0,0 +1,1945 @@ + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/dom/dist/wait-for.js:71:16 + at node_modules/@testing-library/react/dist/act-compat.js:47:24 + at process.env.NODE_ENV.exports.act (node_modules/react/cjs/react.development.js:814:22) + at node_modules/@testing-library/react/dist/act-compat.js:46:25 + at unstable_advanceTimersWrapper (node_modules/@testing-library/react/dist/pure.js:78:35) + at node_modules/@testing-library/dom/dist/wait-for.js:65:15 + at waitFor (node_modules/@testing-library/dom/dist/wait-for.js:36:10) + at node_modules/@testing-library/dom/dist/wait-for.js:164:54 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:87:28) + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:164:35) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByRole (src/attachment-action-lifetime.test.tsx:134:34) + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + 132 | const view = render(page()); + 133 | try { + > 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + | ^ + 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:134:21 + + console.warn + A function to advance timers was called but the timers APIs are not replaced with fake timers. Call `jest.useFakeTimers()` in this test file or enable fake timers for all tests by setting 'fakeTimers': {'enableGlobally': true} in Jest configuration file. + Stack Trace: + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + Error: + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:654:7) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + + 133 | try { + 134 | fireEvent.click(await screen.findByRole('button', { name: `${action}: ${file.fileName}` })); + > 135 | await waitFor(() => expect(mockedApi.get).toHaveBeenCalledWith('/attachments/download/7', { responseType: 'blob' })); + | ^ + 136 | if (boundary === 'session') mockSessionActive = false; + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + + at FakeTimers._checkFakeTimers (node_modules/@jest/fake-timers/build/index.js:652:28) + at FakeTimers.advanceTimersByTime (node_modules/@jest/fake-timers/build/index.js:578:14) + at node_modules/@testing-library/react/dist/pure.js:96:16 + at Object.asyncWrapper (node_modules/@testing-library/react/dist/pure.js:91:13) + at src/attachment-action-lifetime.test.tsx:135:5 + +FAIL src/attachment-action-lifetime.test.tsx (12.212 s) + ● late attachment Download after unmount / resolve cannot expose an obsolete blob + + expect(jest.fn()).not.toHaveBeenCalled() + + Expected number of calls: 0 + Received number of calls: 1 + + 1: {} + + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + > 139 | expect(URL.createObjectURL).not.toHaveBeenCalled(); + | ^ + 140 | expect(click).not.toHaveBeenCalled(); + 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + + at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:139:37) + + ● late attachment Download after unmount / reject cannot expose an obsolete blob + + expect(element).not.toBeInTheDocument() + + expected document not to contain element, found
Download failed.
instead + + 140 | expect(click).not.toHaveBeenCalled(); + 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + > 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + | ^ + 143 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument(); + 144 | } finally { + 145 | view.unmount(); click.mockRestore(); + + at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:142:79) + + ● late attachment Download after job change / resolve cannot expose an obsolete blob + + expect(jest.fn()).not.toHaveBeenCalled() + + Expected number of calls: 0 + Received number of calls: 1 + + 1: {} + + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + > 139 | expect(URL.createObjectURL).not.toHaveBeenCalled(); + | ^ + 140 | expect(click).not.toHaveBeenCalled(); + 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + + at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:139:37) + + ● late attachment Download after job change / reject cannot expose an obsolete blob + + expect(element).not.toBeInTheDocument() + + expected document not to contain element, found
Download failed.
instead + + 140 | expect(click).not.toHaveBeenCalled(); + 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + > 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + | ^ + 143 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument(); + 144 | } finally { + 145 | view.unmount(); click.mockRestore(); + + at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:142:79) + + ● late attachment Download after session / resolve cannot expose an obsolete blob + + expect(jest.fn()).not.toHaveBeenCalled() + + Expected number of calls: 0 + Received number of calls: 1 + + 1: {} + + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + > 139 | expect(URL.createObjectURL).not.toHaveBeenCalled(); + | ^ + 140 | expect(click).not.toHaveBeenCalled(); + 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + + at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:139:37) + + ● late attachment Download after session / reject cannot expose an obsolete blob + + expect(element).not.toBeInTheDocument() + + expected document not to contain element, found
Download failed.
instead + + 140 | expect(click).not.toHaveBeenCalled(); + 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + > 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + | ^ + 143 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument(); + 144 | } finally { + 145 | view.unmount(); click.mockRestore(); + + at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:142:79) + + ● late attachment Preview after unmount / resolve cannot expose an obsolete blob + + expect(jest.fn()).not.toHaveBeenCalled() + + Expected number of calls: 0 + Received number of calls: 1 + + 1: {} + + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + > 139 | expect(URL.createObjectURL).not.toHaveBeenCalled(); + | ^ + 140 | expect(click).not.toHaveBeenCalled(); + 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + + at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:139:37) + + ● late attachment Preview after unmount / reject cannot expose an obsolete blob + + expect(element).not.toBeInTheDocument() + + expected document not to contain element, found
Preview failed.
instead + + 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + > 143 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument(); + | ^ + 144 | } finally { + 145 | view.unmount(); click.mockRestore(); + 146 | timers.mock.calls.forEach((call, index) => { if (call[1] === 5000) window.clearTimeout(timers.mock.results[index].value); }); + + at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:143:78) + + ● late attachment Preview after job change / resolve cannot expose an obsolete blob + + expect(jest.fn()).not.toHaveBeenCalled() + + Expected number of calls: 0 + Received number of calls: 1 + + 1: {} + + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + > 139 | expect(URL.createObjectURL).not.toHaveBeenCalled(); + | ^ + 140 | expect(click).not.toHaveBeenCalled(); + 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + + at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:139:37) + + ● late attachment Preview after job change / reject cannot expose an obsolete blob + + expect(element).not.toBeInTheDocument() + + expected document not to contain element, found
Preview failed.
instead + + 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + > 143 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument(); + | ^ + 144 | } finally { + 145 | view.unmount(); click.mockRestore(); + 146 | timers.mock.calls.forEach((call, index) => { if (call[1] === 5000) window.clearTimeout(timers.mock.results[index].value); }); + + at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:143:78) + + ● late attachment Preview after session / resolve cannot expose an obsolete blob + + expect(jest.fn()).not.toHaveBeenCalled() + + Expected number of calls: 0 + Received number of calls: 1 + + 1: {} + + 137 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 138 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + > 139 | expect(URL.createObjectURL).not.toHaveBeenCalled(); + | ^ + 140 | expect(click).not.toHaveBeenCalled(); + 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + + at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:139:37) + + ● late attachment Preview after session / reject cannot expose an obsolete blob + + expect(element).not.toBeInTheDocument() + + expected document not to contain element, found
Preview failed.
instead + + 141 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + 142 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + > 143 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument(); + | ^ + 144 | } finally { + 145 | view.unmount(); click.mockRestore(); + 146 | timers.mock.calls.forEach((call, index) => { if (call[1] === 5000) window.clearTimeout(timers.mock.results[index].value); }); + + at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:143:78) + + ● delayed attachment Download failure uses the current locale + + Unable to find an element with the text: Nedlasting mislyktes.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. + + Ignored nodes: comments, script, style +  + 
 +  +  +  +  + Vedlegg (1) + 

 +  + Last opp CV-er, søknadsbrev, porteføljer og støttedokumenter for denne søknaden. + 

 +  +  +  + 0 bilder +  + 
 +  +  + 1 PDF-er +  +  +  +  + Maks 10 MB hver +  +  +  +  +  +  +  +  +  +  + Last opp +  +  +  +  +  + Dra og slipp filer her + 

 +  + eller bruk opplastingsknappen for å velge dokumenter fra enheten din. + 

 +  +  + Innhold lastet. +  +  +  +  +  +  + Navn +  +  + Type +  +  + Filtype +  +  + ... + + 158 | await act(async () => pending.reject(new Error('synthetic blob failure'))); + 159 | const key = action === 'Download' ? 'attachmentsDownloadFailed' : 'attachmentsPreviewFailed'; + > 160 | expect(await screen.findByText(translations.nb[key])).toBeVisible(); + | ^ + 161 | expect(screen.queryByText(translations.en[key])).not.toBeInTheDocument(); + 162 | }); + 163 | + + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByText (src/attachment-action-lifetime.test.tsx:160:23) + + ● delayed attachment Preview failure uses the current locale + + Unable to find an element with the text: Forhåndsvisning mislyktes.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. + + Ignored nodes: comments, script, style +  + 
 +  +  +  +  + Vedlegg (1) + 

 +  + Last opp CV-er, søknadsbrev, porteføljer og støttedokumenter for denne søknaden. + 

 +  +  +  + 0 bilder +  + 
 +  +  + 1 PDF-er +  +  +  +  + Maks 10 MB hver +  +  +  +  +  +  +  +  +  +  + Last opp +  +  +  +  +  + Dra og slipp filer her + 

 +  + eller bruk opplastingsknappen for å velge dokumenter fra enheten din. + 

 +  +  + Innhold lastet. +  +  +  +  +  +  + Navn +  +  + Type +  +  + Filtype +  +  + ... + + 158 | await act(async () => pending.reject(new Error('synthetic blob failure'))); + 159 | const key = action === 'Download' ? 'attachmentsDownloadFailed' : 'attachmentsPreviewFailed'; + > 160 | expect(await screen.findByText(translations.nb[key])).toBeVisible(); + | ^ + 161 | expect(screen.queryByText(translations.en[key])).not.toBeInTheDocument(); + 162 | }); + 163 | + + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByText (src/attachment-action-lifetime.test.tsx:160:23) + +Test Suites: 1 failed, 1 total +Tests: 14 failed, 24 skipped, 38 total +Snapshots: 0 total +Time: 13.064 s +Ran all test suites matching src/attachment-action-lifetime.test.tsx with tests matching "obsolete blob|delayed attachment (Download|Preview)". +Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\attachment-blob-corrected-red.json diff --git a/docs/ui-modernisation/evidence/attachment-blob/corrected-red.txt.gz b/docs/ui-modernisation/evidence/attachment-blob/corrected-red.txt.gz new file mode 100644 index 0000000000000000000000000000000000000000..1169df60e70c0865909dcce43d95752dacb4e6f1 GIT binary patch literal 4478 zcmb`FbyU<_*T*Rd5iTX&5)v}>kb;1u1JcY;QUXKiz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8$a40PHETJ#Qh1 zyLqqCu&}r@MQ>!p|5I@^zR0tB_s^S_!*S?Wy{$M~B$YIhUQcz}2deQzKDZ!(4DYmC z0!RsWOr)RYjxQXcQbe3*gFpIio-K+oE7-s!MP)k_tZ?Awxk$!=TPcue&2sznb*`G* z?d~a7s2hOcO&V4lxkY_Ms@?dK*eVne)Y5*{!|&uBeG{7!ld>Dxn>AS_>d(h3X(Xq! zBiBHAY@v_zmyvqx)hPf-rhDIrFSZ&IYDZJrLQj)E=0&+@t+80BSO@0uZSx$6?E^L+ zVLE*i{~Sq&kZ^Ths$(sqd%0>nLgf*#q0aZk%{rPJ9)@h+7m4Y3@Ha zyQtzn6aVI7sgFxEW<_VCl{wM)9@|=y!qE!3A60ynA3Tk`pOr#X!NRS|Lq%5bY|?p+ zx2>Q>P3CpYt$Hv?&UbJhm;_}}dlx%LDw}mpEUaaC#DK@a7wr2ex_VsOWKx0w)1Rt(0;R zD+gX9KwjOQPpl-M2mBf5dmX?~^6nG|?If;ml=mU+<{6*w&Ri&L=a3uO9pK{pAB`3z AHvj+t literal 0 HcmV?d00001 diff --git a/docs/ui-modernisation/evidence/attachment-blob/final.json b/docs/ui-modernisation/evidence/attachment-blob/final.json new file mode 100644 index 00000000..e77e5f02 --- /dev/null +++ b/docs/ui-modernisation/evidence/attachment-blob/final.json @@ -0,0 +1 @@ +{"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":4,"numPassedTests":69,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":4,"numTotalTests":69,"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":1794897815295,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":123,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending attachment read uses en to nb failure copy without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897818680,"status":"passed","title":"pending attachment read uses en to nb failure copy without another read"},{"ancestorTitles":[],"duration":43,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending attachment read uses nb to en failure copy without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897818804,"status":"passed","title":"pending attachment read uses nb to en failure copy without another read"},{"ancestorTitles":[],"duration":512,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending attachment rename follows en to nb without changing file data","invocations":1,"location":null,"numPassingAsserts":13,"retryReasons":[],"startAt":1794897818847,"status":"passed","title":"pending attachment rename follows en to nb without changing file data"},{"ancestorTitles":[],"duration":402,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending attachment rename follows nb to en without changing file data","invocations":1,"location":null,"numPassingAsserts":13,"retryReasons":[],"startAt":1794897819359,"status":"passed","title":"pending attachment rename follows nb to en without changing file data"},{"ancestorTitles":[],"duration":387,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending attachment delete follows en to nb without changing file data","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794897819761,"status":"passed","title":"pending attachment delete follows en to nb without changing file data"},{"ancestorTitles":[],"duration":371,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending attachment delete follows nb to en without changing file data","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794897820148,"status":"passed","title":"pending attachment delete follows nb to en without changing file data"},{"ancestorTitles":[],"duration":61,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment size follows the UI locale (en)","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794897820520,"status":"passed","title":"attachment size follows the UI locale (en)"},{"ancestorTitles":[],"duration":46,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment size follows the UI locale (nb)","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794897820581,"status":"passed","title":"attachment size follows the UI locale (nb)"},{"ancestorTitles":[],"duration":123,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"PDF preview identifies the document in en","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794897820627,"status":"passed","title":"PDF preview identifies the document in en"},{"ancestorTitles":[],"duration":123,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"PDF preview identifies the document in nb","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794897820751,"status":"passed","title":"PDF preview identifies the document in nb"},{"ancestorTitles":[],"duration":31,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachments empty state renders drag and drop guidance","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794897820874,"status":"passed","title":"attachments empty state renders drag and drop guidance"},{"ancestorTitles":[],"duration":244,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachments metadata controls update purpose and ai usage","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794897820905,"status":"passed","title":"attachments metadata controls update purpose and ai usage"},{"ancestorTitles":[],"duration":60,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment failures remain explicit and retry restores the real empty state","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897821149,"status":"passed","title":"attachment failures remain explicit and retry restores the real empty state"}],"endTime":1794897821210,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachments.test.tsx","startTime":1794897816156,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":109,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old attachment read resolve cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897821888,"status":"passed","title":"old attachment read resolve cannot replace the next application"},{"ancestorTitles":[],"duration":58,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old attachment read reject cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897821997,"status":"passed","title":"old attachment read reject cannot replace the next application"},{"ancestorTitles":[],"duration":252,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-rename read resolve cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897822055,"status":"passed","title":"old post-rename read resolve cannot replace the next application"},{"ancestorTitles":[],"duration":231,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-rename read reject cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897822307,"status":"passed","title":"old post-rename read reject cannot replace the next application"},{"ancestorTitles":[],"duration":216,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-delete read resolve cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897822538,"status":"passed","title":"old post-delete read resolve cannot replace the next application"},{"ancestorTitles":[],"duration":202,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-delete read reject cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897822754,"status":"passed","title":"old post-delete read reject cannot replace the next application"},{"ancestorTitles":[],"duration":125,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename decision after unmount cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794897822956,"status":"passed","title":"attachment rename decision after unmount cannot mutate the previous context"},{"ancestorTitles":[],"duration":102,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename decision after job change cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794897823082,"status":"passed","title":"attachment rename decision after job change cannot mutate the previous context"},{"ancestorTitles":[],"duration":112,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename decision after session cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794897823184,"status":"passed","title":"attachment rename decision after session cannot mutate the previous context"},{"ancestorTitles":[],"duration":106,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete decision after unmount cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794897823296,"status":"passed","title":"attachment delete decision after unmount cannot mutate the previous context"},{"ancestorTitles":[],"duration":159,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete decision after job change cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794897823402,"status":"passed","title":"attachment delete decision after job change cannot mutate the previous context"},{"ancestorTitles":[],"duration":94,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete decision after session cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794897823561,"status":"passed","title":"attachment delete decision after session cannot mutate the previous context"},{"ancestorTitles":[],"duration":256,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename delayed resolve uses current language","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897823655,"status":"passed","title":"attachment rename delayed resolve uses current language"},{"ancestorTitles":[],"duration":232,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename delayed reject uses current language","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897823911,"status":"passed","title":"attachment rename delayed reject uses current language"},{"ancestorTitles":[],"duration":231,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete delayed resolve uses current language","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897824143,"status":"passed","title":"attachment delete delayed resolve uses current language"},{"ancestorTitles":[],"duration":202,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete delayed reject uses current language","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897824374,"status":"passed","title":"attachment delete delayed reject uses current language"},{"ancestorTitles":[],"duration":203,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment rename after unmount / resolve cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897824576,"status":"passed","title":"late attachment rename after unmount / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":185,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment rename after unmount / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897824779,"status":"passed","title":"late attachment rename after unmount / reject cannot reload or notify"},{"ancestorTitles":[],"duration":271,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment rename after job change / resolve cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897824964,"status":"passed","title":"late attachment rename after job change / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":274,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment rename after job change / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897825235,"status":"passed","title":"late attachment rename after job change / reject cannot reload or notify"},{"ancestorTitles":[],"duration":195,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after unmount / resolve cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897825510,"status":"passed","title":"late attachment delete after unmount / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":170,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after unmount / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897825705,"status":"passed","title":"late attachment delete after unmount / reject cannot reload or notify"},{"ancestorTitles":[],"duration":238,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after job change / resolve cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897825875,"status":"passed","title":"late attachment delete after job change / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":256,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after job change / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897826113,"status":"passed","title":"late attachment delete after job change / reject cannot reload or notify"},{"ancestorTitles":[],"duration":79,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Download after unmount / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897826369,"status":"passed","title":"late attachment Download after unmount / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":72,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Download after unmount / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897826448,"status":"passed","title":"late attachment Download after unmount / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":111,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Download after job change / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897826520,"status":"passed","title":"late attachment Download after job change / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":116,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Download after job change / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897826631,"status":"passed","title":"late attachment Download after job change / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":88,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Download after session / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897826747,"status":"passed","title":"late attachment Download after session / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":53,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Download after session / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897826835,"status":"passed","title":"late attachment Download after session / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":63,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Preview after unmount / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897826888,"status":"passed","title":"late attachment Preview after unmount / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":59,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Preview after unmount / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897826951,"status":"passed","title":"late attachment Preview after unmount / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":84,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Preview after job change / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897827010,"status":"passed","title":"late attachment Preview after job change / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":62,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Preview after job change / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897827095,"status":"passed","title":"late attachment Preview after job change / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":43,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Preview after session / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897827157,"status":"passed","title":"late attachment Preview after session / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":42,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Preview after session / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897827200,"status":"passed","title":"late attachment Preview after session / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":79,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"delayed attachment Download failure uses the current locale","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794897827242,"status":"passed","title":"delayed attachment Download failure uses the current locale"},{"ancestorTitles":[],"duration":106,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"delayed attachment Preview failure uses the current locale","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794897827321,"status":"passed","title":"delayed attachment Preview failure uses the current locale"}],"endTime":1794897827428,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx","startTime":1794897821219,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":348,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending confirm resolves metadata from en to nb and settles once","invocations":1,"location":null,"numPassingAsserts":12,"retryReasons":[],"startAt":1794897828140,"status":"passed","title":"pending confirm resolves metadata from en to nb and settles once"},{"ancestorTitles":[],"duration":323,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending confirm resolves metadata from nb to en and settles once","invocations":1,"location":null,"numPassingAsserts":12,"retryReasons":[],"startAt":1794897828489,"status":"passed","title":"pending confirm resolves metadata from nb to en and settles once"},{"ancestorTitles":[],"duration":325,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending prompt resolves metadata from en to nb and settles once","invocations":1,"location":null,"numPassingAsserts":18,"retryReasons":[],"startAt":1794897828812,"status":"passed","title":"pending prompt resolves metadata from en to nb and settles once"},{"ancestorTitles":[],"duration":326,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending prompt resolves metadata from nb to en and settles once","invocations":1,"location":null,"numPassingAsserts":18,"retryReasons":[],"startAt":1794897829137,"status":"passed","title":"pending prompt resolves metadata from nb to en and settles once"},{"ancestorTitles":[],"duration":59,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"confirm metadata falls back to interpolated English without I18n context","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897829463,"status":"passed","title":"confirm metadata falls back to interpolated English without I18n context"},{"ancestorTitles":[],"duration":123,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prompt metadata falls back to interpolated English without I18n context","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897829522,"status":"passed","title":"prompt metadata falls back to interpolated English without I18n context"},{"ancestorTitles":[],"duration":64,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"confirm leaves literal \"\" verbatim during locale changes","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897829645,"status":"passed","title":"confirm leaves literal \"\" verbatim during locale changes"},{"ancestorTitles":[],"duration":154,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prompt leaves literal \"\" verbatim during locale changes","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897829709,"status":"passed","title":"prompt leaves literal \"\" verbatim during locale changes"},{"ancestorTitles":[],"duration":92,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"confirm leaves literal \"confirmAction\" verbatim during locale changes","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897829864,"status":"passed","title":"confirm leaves literal \"confirmAction\" verbatim during locale changes"},{"ancestorTitles":[],"duration":155,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prompt leaves literal \"enterValue\" verbatim during locale changes","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897829956,"status":"passed","title":"prompt leaves literal \"enterValue\" verbatim during locale changes"}],"endTime":1794897830112,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\dialog-text.test.tsx","startTime":1794897827437,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":82,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment Upload activates the same native input from Enter, Space and pointer","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897831476,"status":"passed","title":"attachment Upload activates the same native input from Enter, Space and pointer"},{"ancestorTitles":[],"duration":34,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"Import JSON activates its own native input from Enter, Space and pointer","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897831558,"status":"passed","title":"Import JSON activates its own native input from Enter, Space and pointer"},{"ancestorTitles":[],"duration":29,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"Convert CSV to Import JSON activates its own native input from Enter, Space and pointer","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897831592,"status":"passed","title":"Convert CSV to Import JSON activates its own native input from Enter, Space and pointer"},{"ancestorTitles":[],"duration":399,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"Add Job attachment bucket 0 retains keyboard selection and distinct pending files","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794897831621,"status":"passed","title":"Add Job attachment bucket 0 retains keyboard selection and distinct pending files"},{"ancestorTitles":[],"duration":321,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"Add Job attachment bucket 1 retains keyboard selection and distinct pending files","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794897832020,"status":"passed","title":"Add Job attachment bucket 1 retains keyboard selection and distinct pending files"},{"ancestorTitles":[],"duration":280,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"Add Job attachment bucket 2 retains keyboard selection and distinct pending files","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794897832342,"status":"passed","title":"Add Job attachment bucket 2 retains keyboard selection and distinct pending files"},{"ancestorTitles":[],"duration":420,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"Add Job attachment bucket 3 retains keyboard selection and distinct pending files","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794897832622,"status":"passed","title":"Add Job attachment bucket 3 retains keyboard selection and distinct pending files"},{"ancestorTitles":[],"duration":110,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment selection retains files and job ownership, disables activation while uploading and clears selection after completion","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897833042,"status":"passed","title":"attachment selection retains files and job ownership, disables activation while uploading and clears selection after completion"}],"endTime":1794897833152,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\file-picker-activation.test.tsx","startTime":1794897830120,"status":"passed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/attachment-blob/final.json.gz b/docs/ui-modernisation/evidence/attachment-blob/final.json.gz new file mode 100644 index 0000000000000000000000000000000000000000..9484ed907318f9370c7929d9ae66ca17b5687a3f GIT binary patch literal 2451 zcmV;E32gQsiwFP!000023e{apbK|%XzUNnJP= zdRcxf`b5g|<)iK&%Av@Q>N3ibl-TUB!jeor^6P)D79}Hjx#41Q^ZSA%2~E@olQg-@6C&v1W=*n^UM%D6M3f=H5nG}CS5VCJ9ePZ~hF1a+#>Ivf>iNahB4rOe zR`8$}e6`5-SBo14)g5gXD!Wzk)+SU?QS3fbQmWUK!AKf!#R-X_A6lwhRHcNhEFWqV zk{W|De80LxyE_K!fE5q}?ul6sEw?l4Eo8XNx`*unX=iW`t$CL5#}jKgK#ezq-OG2R z8$r<8NjK85qszJ*v}V1v2pX1djmG)WR;J=Sa=fS?=Q<)>=G+N`!8lK7M#Ttr9%@n^ z__!tI9VF18Jiud7KA4&7QEpq<4f|1U#>#y|jGy2v)BirBgq{W6eMFKt0QCc9f9*!A ztx2nAHwGsyU}|_}e^l<+YH034Y=Aon^D=kFLgr8JKA^my4=H^_X#(KVbxLbc36CoU zH)YUHhULz;8v_M>l=GvGt%jv8@UQ{u0HsC;W8B+8*SF2Z4oUn}1|kV9N|Y1?TsKSL z2hY)cl_nBbHyRyH8pFWVYrU-?U*^%;~+77iw=WH48VD^uep!Y429_J~~(l`|gn&Jcgm5BCD43fg^)Ly!A z?dfriu^VajK)vPo4hX>XUycyj*v4{9swNU@gvwdX;oF<#@(#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~hOVn_y!5f0a^xo4Ef z_L!vrkz{DOST4{5Emlz77D2VL@$OGnsz(XRK~uQMcRd{g?*Ln8GmvZ4r02$MU_}~6 zJP5UsJ+RsCZ``WXVPc-c<`tr*WY95aZ&-t-(zE?SvWiYj`GtMWCh(t4njK5+pPedc zPEwNb`)k>ET*{II_k5(*KT8hHZyveJ>uF192@lX~)`J+OT+Pd%(gzA%Y7Tv;3Lf7} z9bTa?xjYC!29P;d9qy247dY4rba$~DkwqilFw}Q_+~&Lx=%+9L{`mxRDj*<#WV4~) z^BN~%jR~Q#PSa5S0X_m8kU($0{32t<{}VMtjbZUnGHJAi$dFoYlLSdWeA1v-6*ysm zEP2cuNm+@$(cOxZLZ+@6Rh@TzkYQSil*Ixal3?|>2ZlT>(7}H5n6Y_jbOu83(5k>Q zRE2FdFCsKAjfSrZt)W$6&rual^E{P#X>?|12UmqNM^*TCM^!k3sRCp3$DBSxJD^r* z6i~V10y;d%3^r+gC2^CLx>t9J@}TeDy RyZ!!`{{dZiwI5Mx008QDt{ngX literal 0 HcmV?d00001 diff --git a/docs/ui-modernisation/evidence/attachment-blob/final.txt b/docs/ui-modernisation/evidence/attachment-blob/final.txt new file mode 100644 index 00000000..ea4af04a --- /dev/null +++ b/docs/ui-modernisation/evidence/attachment-blob/final.txt @@ -0,0 +1,7 @@ + +Test Suites: 4 passed, 4 total +Tests: 69 passed, 69 total +Snapshots: 0 total +Time: 17.861 s +Ran all test suites matching src/attachment-action-lifetime.test.tsx|src/attachments.test.tsx|src/dialog-text.test.tsx|src/file-picker-activation.test.tsx. +Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\attachment-blob-final.json diff --git a/docs/ui-modernisation/evidence/attachment-blob/final.txt.gz b/docs/ui-modernisation/evidence/attachment-blob/final.txt.gz new file mode 100644 index 0000000000000000000000000000000000000000..d8128f67e61ad6266bb78468c469c16f71e2a714 GIT binary patch literal 247 zcmVMpWCLbgU#pIPFhesGtgsQt)X;kEN^=D_h^UDs*@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modernisation/evidence/attachment-blob/green.json new file mode 100644 index 00000000..05e2c542 --- /dev/null +++ b/docs/ui-modernisation/evidence/attachment-blob/green.json @@ -0,0 +1 @@ +{"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":4,"numPassedTests":69,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":4,"numTotalTests":69,"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":1794897701498,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":136,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending attachment read uses en to nb failure copy without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897704847,"status":"passed","title":"pending attachment read uses en to nb failure copy without another read"},{"ancestorTitles":[],"duration":42,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending attachment read uses nb to en failure copy without another read","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897704984,"status":"passed","title":"pending attachment read uses nb to en failure copy without another read"},{"ancestorTitles":[],"duration":525,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending attachment rename follows en to nb without changing file data","invocations":1,"location":null,"numPassingAsserts":13,"retryReasons":[],"startAt":1794897705026,"status":"passed","title":"pending attachment rename follows en to nb without changing file data"},{"ancestorTitles":[],"duration":401,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending attachment rename follows nb to en without changing file data","invocations":1,"location":null,"numPassingAsserts":13,"retryReasons":[],"startAt":1794897705552,"status":"passed","title":"pending attachment rename follows nb to en without changing file data"},{"ancestorTitles":[],"duration":400,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending attachment delete follows en to nb without changing file data","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794897705953,"status":"passed","title":"pending attachment delete follows en to nb without changing file data"},{"ancestorTitles":[],"duration":389,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending attachment delete follows nb to en without changing file data","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794897706353,"status":"passed","title":"pending attachment delete follows nb to en without changing file data"},{"ancestorTitles":[],"duration":63,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment size follows the UI locale (en)","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794897706742,"status":"passed","title":"attachment size follows the UI locale (en)"},{"ancestorTitles":[],"duration":44,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment size follows the UI locale (nb)","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794897706805,"status":"passed","title":"attachment size follows the UI locale (nb)"},{"ancestorTitles":[],"duration":140,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"PDF preview identifies the document in en","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794897706849,"status":"passed","title":"PDF preview identifies the document in en"},{"ancestorTitles":[],"duration":123,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"PDF preview identifies the document in nb","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794897706989,"status":"passed","title":"PDF preview identifies the document in nb"},{"ancestorTitles":[],"duration":31,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachments empty state renders drag and drop guidance","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794897707112,"status":"passed","title":"attachments empty state renders drag and drop guidance"},{"ancestorTitles":[],"duration":231,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachments metadata controls update purpose and ai usage","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794897707143,"status":"passed","title":"attachments metadata controls update purpose and ai usage"},{"ancestorTitles":[],"duration":62,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment failures remain explicit and retry restores the real empty state","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897707374,"status":"passed","title":"attachment failures remain explicit and retry restores the real empty state"}],"endTime":1794897707437,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachments.test.tsx","startTime":1794897702316,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":142,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old attachment read resolve cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897708177,"status":"passed","title":"old attachment read resolve cannot replace the next application"},{"ancestorTitles":[],"duration":60,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old attachment read reject cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897708319,"status":"passed","title":"old attachment read reject cannot replace the next application"},{"ancestorTitles":[],"duration":266,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-rename read resolve cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897708379,"status":"passed","title":"old post-rename read resolve cannot replace the next application"},{"ancestorTitles":[],"duration":230,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-rename read reject cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897708645,"status":"passed","title":"old post-rename read reject cannot replace the next application"},{"ancestorTitles":[],"duration":225,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-delete read resolve cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897708875,"status":"passed","title":"old post-delete read resolve cannot replace the next application"},{"ancestorTitles":[],"duration":192,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-delete read reject cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897709100,"status":"passed","title":"old post-delete read reject cannot replace the next application"},{"ancestorTitles":[],"duration":104,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename decision after unmount cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794897709292,"status":"passed","title":"attachment rename decision after unmount cannot mutate the previous context"},{"ancestorTitles":[],"duration":123,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename decision after job change cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794897709396,"status":"passed","title":"attachment rename decision after job change cannot mutate the previous context"},{"ancestorTitles":[],"duration":111,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename decision after session cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794897709519,"status":"passed","title":"attachment rename decision after session cannot mutate the previous context"},{"ancestorTitles":[],"duration":110,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete decision after unmount cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794897709630,"status":"passed","title":"attachment delete decision after unmount cannot mutate the previous context"},{"ancestorTitles":[],"duration":159,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete decision after job change cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794897709740,"status":"passed","title":"attachment delete decision after job change cannot mutate the previous context"},{"ancestorTitles":[],"duration":121,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete decision after session cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794897709899,"status":"passed","title":"attachment delete decision after session cannot mutate the previous context"},{"ancestorTitles":[],"duration":242,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename delayed resolve uses current language","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897710020,"status":"passed","title":"attachment rename delayed resolve uses current language"},{"ancestorTitles":[],"duration":246,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename delayed reject uses current language","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897710262,"status":"passed","title":"attachment rename delayed reject uses current language"},{"ancestorTitles":[],"duration":220,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete delayed resolve uses current language","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897710508,"status":"passed","title":"attachment delete delayed resolve uses current language"},{"ancestorTitles":[],"duration":260,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete delayed reject uses current language","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897710728,"status":"passed","title":"attachment delete delayed reject uses current language"},{"ancestorTitles":[],"duration":208,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment rename after unmount / resolve cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897710988,"status":"passed","title":"late attachment rename after unmount / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":201,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment rename after unmount / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897711197,"status":"passed","title":"late attachment rename after unmount / reject cannot reload or notify"},{"ancestorTitles":[],"duration":223,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment rename after job change / resolve cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897711398,"status":"passed","title":"late attachment rename after job change / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":245,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment rename after job change / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897711621,"status":"passed","title":"late attachment rename after job change / reject cannot reload or notify"},{"ancestorTitles":[],"duration":195,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after unmount / resolve cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897711866,"status":"passed","title":"late attachment delete after unmount / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":187,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after unmount / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897712061,"status":"passed","title":"late attachment delete after unmount / reject cannot reload or notify"},{"ancestorTitles":[],"duration":243,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after job change / resolve cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897712248,"status":"passed","title":"late attachment delete after job change / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":254,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after job change / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897712491,"status":"passed","title":"late attachment delete after job change / reject cannot reload or notify"},{"ancestorTitles":[],"duration":73,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Download after unmount / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897712746,"status":"passed","title":"late attachment Download after unmount / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":94,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Download after unmount / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897712819,"status":"passed","title":"late attachment Download after unmount / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":148,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Download after job change / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897712913,"status":"passed","title":"late attachment Download after job change / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":168,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Download after job change / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897713061,"status":"passed","title":"late attachment Download after job change / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":83,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Download after session / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897713229,"status":"passed","title":"late attachment Download after session / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":108,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Download after session / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897713312,"status":"passed","title":"late attachment Download after session / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":92,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Preview after unmount / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897713421,"status":"passed","title":"late attachment Preview after unmount / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":93,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Preview after unmount / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897713513,"status":"passed","title":"late attachment Preview after unmount / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":127,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Preview after job change / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897713606,"status":"passed","title":"late attachment Preview after job change / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":125,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Preview after job change / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897713733,"status":"passed","title":"late attachment Preview after job change / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":84,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Preview after session / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897713858,"status":"passed","title":"late attachment Preview after session / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":92,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Preview after session / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897713942,"status":"passed","title":"late attachment Preview after session / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":95,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"delayed attachment Download failure uses the current locale","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794897714034,"status":"passed","title":"delayed attachment Download failure uses the current locale"},{"ancestorTitles":[],"duration":162,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"delayed attachment Preview failure uses the current locale","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794897714129,"status":"passed","title":"delayed attachment Preview failure uses the current locale"}],"endTime":1794897714293,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx","startTime":1794897707448,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":338,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending confirm resolves metadata from en to nb and settles once","invocations":1,"location":null,"numPassingAsserts":12,"retryReasons":[],"startAt":1794897715185,"status":"passed","title":"pending confirm resolves metadata from en to nb and settles once"},{"ancestorTitles":[],"duration":324,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending confirm resolves metadata from nb to en and settles once","invocations":1,"location":null,"numPassingAsserts":12,"retryReasons":[],"startAt":1794897715523,"status":"passed","title":"pending confirm resolves metadata from nb to en and settles once"},{"ancestorTitles":[],"duration":356,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending prompt resolves metadata from en to nb and settles once","invocations":1,"location":null,"numPassingAsserts":18,"retryReasons":[],"startAt":1794897715847,"status":"passed","title":"pending prompt resolves metadata from en to nb and settles once"},{"ancestorTitles":[],"duration":326,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending prompt resolves metadata from nb to en and settles once","invocations":1,"location":null,"numPassingAsserts":18,"retryReasons":[],"startAt":1794897716203,"status":"passed","title":"pending prompt resolves metadata from nb to en and settles once"},{"ancestorTitles":[],"duration":69,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"confirm metadata falls back to interpolated English without I18n context","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897716529,"status":"passed","title":"confirm metadata falls back to interpolated English without I18n context"},{"ancestorTitles":[],"duration":130,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prompt metadata falls back to interpolated English without I18n context","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897716598,"status":"passed","title":"prompt metadata falls back to interpolated English without I18n context"},{"ancestorTitles":[],"duration":93,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"confirm leaves literal \"\" verbatim during locale changes","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897716728,"status":"passed","title":"confirm leaves literal \"\" verbatim during locale changes"},{"ancestorTitles":[],"duration":139,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prompt leaves literal \"\" verbatim during locale changes","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897716821,"status":"passed","title":"prompt leaves literal \"\" verbatim during locale changes"},{"ancestorTitles":[],"duration":78,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"confirm leaves literal \"confirmAction\" verbatim during locale changes","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897716960,"status":"passed","title":"confirm leaves literal \"confirmAction\" verbatim during locale changes"},{"ancestorTitles":[],"duration":140,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prompt leaves literal \"enterValue\" verbatim during locale changes","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897717038,"status":"passed","title":"prompt leaves literal \"enterValue\" verbatim during locale changes"}],"endTime":1794897717179,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\dialog-text.test.tsx","startTime":1794897714312,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":81,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment Upload activates the same native input from Enter, Space and pointer","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897718546,"status":"passed","title":"attachment Upload activates the same native input from Enter, Space and pointer"},{"ancestorTitles":[],"duration":33,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"Import JSON activates its own native input from Enter, Space and pointer","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897718628,"status":"passed","title":"Import JSON activates its own native input from Enter, Space and pointer"},{"ancestorTitles":[],"duration":27,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"Convert CSV to Import JSON activates its own native input from Enter, Space and pointer","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897718661,"status":"passed","title":"Convert CSV to Import JSON activates its own native input from Enter, Space and pointer"},{"ancestorTitles":[],"duration":409,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"Add Job attachment bucket 0 retains keyboard selection and distinct pending files","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794897718688,"status":"passed","title":"Add Job attachment bucket 0 retains keyboard selection and distinct pending files"},{"ancestorTitles":[],"duration":293,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"Add Job attachment bucket 1 retains keyboard selection and distinct pending files","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794897719098,"status":"passed","title":"Add Job attachment bucket 1 retains keyboard selection and distinct pending files"},{"ancestorTitles":[],"duration":267,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"Add Job attachment bucket 2 retains keyboard selection and distinct pending files","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794897719391,"status":"passed","title":"Add Job attachment bucket 2 retains keyboard selection and distinct pending files"},{"ancestorTitles":[],"duration":389,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"Add Job attachment bucket 3 retains keyboard selection and distinct pending files","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794897719658,"status":"passed","title":"Add Job attachment bucket 3 retains keyboard selection and distinct pending files"},{"ancestorTitles":[],"duration":116,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment selection retains files and job ownership, disables activation while uploading and clears selection after completion","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794897720048,"status":"passed","title":"attachment selection retains files and job ownership, disables activation while uploading and clears selection after completion"}],"endTime":1794897720164,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\file-picker-activation.test.tsx","startTime":1794897717187,"status":"passed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/attachment-blob/green.json.gz b/docs/ui-modernisation/evidence/attachment-blob/green.json.gz new file mode 100644 index 0000000000000000000000000000000000000000..c1cef87b770033b8b31dc0c2941bcd21b57ea639 GIT binary patch literal 2442 zcmV;533c`#iwFP!000023e{a%bK|%Xe$TH!>1k7C&+&T&t$`HUugJeA!O5=ZoQ%#EVG-#8=KCWhQo_e!PkG)6dJQ{+xGphe~<_9 zw}%h#j;4e9$-C?QYrlh}5_9<#C|z8*aT+9P96N51CUB+BG9rKw$!ib|=#!s`s7poK z??4M^lFNe8Cyf*yk)WDF?zzlsj@5n8fgd%LfmVN{@Ewux$M%tJ+rOZDe7$?mx-QFK zu>!iN8p}XfN}Szn2$hHvoTFM0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Pj(#2N9lU#jsz{x*rz+g> zR1w8vtHL`)Rru}e%k4`u;c?@ygZEES6;ar8RQRK*!gcL$)_;VyL#@$hplZbhOn8tP z+!WQB!i`t@S~Df8hwg6FG3vFB9Q8@;@K^@f3m1n%>(AC1WHu$~e_)qchUGap(hC$^7uj~6u@9kQt>&yD@Jrsi0iHW7uQml*Qw2Wu~cBzpk>02qaHX8-^I literal 0 HcmV?d00001 diff --git a/docs/ui-modernisation/evidence/attachment-blob/lint.txt b/docs/ui-modernisation/evidence/attachment-blob/lint.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/ui-modernisation/evidence/attachment-blob/lint.txt.gz b/docs/ui-modernisation/evidence/attachment-blob/lint.txt.gz new file mode 100644 index 0000000000000000000000000000000000000000..ae211a2cb77f6830fe3b183a87963fc514435a29 GIT binary patch literal 20 Scmb2|=3oE;CN5?$4I%&z1pvYT literal 0 HcmV?d00001 diff --git a/docs/ui-modernisation/evidence/attachment-blob/red.json b/docs/ui-modernisation/evidence/attachment-blob/red.json new file mode 100644 index 00000000..fb053b16 --- /dev/null +++ b/docs/ui-modernisation/evidence/attachment-blob/red.json @@ -0,0 +1 @@ +{"numFailedTestSuites":1,"numFailedTests":14,"numPassedTestSuites":0,"numPassedTests":0,"numPendingTestSuites":0,"numPendingTests":24,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":1,"numTotalTests":38,"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":1794897629463,"success":false,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old attachment read resolve cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633948,"status":"pending","title":"old attachment read resolve cannot replace the next application"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old attachment read reject cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633948,"status":"pending","title":"old attachment read reject cannot replace the next application"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-rename read resolve cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"old post-rename read resolve cannot replace the next application"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-rename read reject cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"old post-rename read reject cannot replace the next application"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-delete read resolve cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"old post-delete read resolve cannot replace the next application"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-delete read reject cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"old post-delete read reject cannot replace the next application"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename decision after unmount cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"attachment rename decision after unmount cannot mutate the previous context"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename decision after job change cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"attachment rename decision after job change cannot mutate the previous context"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename decision after session cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"attachment rename decision after session cannot mutate the previous context"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete decision after unmount cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"attachment delete decision after unmount cannot mutate the previous context"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete decision after job change cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"attachment delete decision after job change cannot mutate the previous context"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete decision after session cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"attachment delete decision after session cannot mutate the previous context"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename delayed resolve uses current language","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"attachment rename delayed resolve uses current language"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename delayed reject uses current language","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"attachment rename delayed reject uses current language"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete delayed resolve uses current language","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"attachment delete delayed resolve uses current language"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete delayed reject uses current language","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"attachment delete delayed reject uses current language"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment rename after unmount / resolve cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"late attachment rename after unmount / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment rename after unmount / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"late attachment rename after unmount / reject cannot reload or notify"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment rename after job change / resolve cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"late attachment rename after job change / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment rename after job change / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"late attachment rename after job change / reject cannot reload or notify"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after unmount / resolve cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"late attachment delete after unmount / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after unmount / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"late attachment delete after unmount / reject cannot reload or notify"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after job change / resolve cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"late attachment delete after job change / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":null,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after job change / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897633949,"status":"pending","title":"late attachment delete after job change / reject cannot reload or notify"},{"ancestorTitles":[],"duration":316,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}","pass":true}}],"failureMessages":["Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}\n at toHaveBeenCalled (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:138:37)"],"fullName":"late attachment Download after unmount / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794897633949,"status":"failed","title":"late attachment Download after unmount / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":180,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Download failed.
instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Download failed.
instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:141:79)"],"fullName":"late attachment Download after unmount / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897634278,"status":"failed","title":"late attachment Download after unmount / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":202,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}","pass":true}}],"failureMessages":["Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}\n at toHaveBeenCalled (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:138:37)"],"fullName":"late attachment Download after job change / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794897634458,"status":"failed","title":"late attachment Download after job change / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":182,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Download failed.
instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Download failed.
instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:141:79)"],"fullName":"late attachment Download after job change / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897634660,"status":"failed","title":"late attachment Download after job change / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":82,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}","pass":true}}],"failureMessages":["Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}\n at toHaveBeenCalled (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:138:37)"],"fullName":"late attachment Download after session / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794897634842,"status":"failed","title":"late attachment Download after session / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":119,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Download failed.
instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Download failed.
instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:141:79)"],"fullName":"late attachment Download after session / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794897634924,"status":"failed","title":"late attachment Download after session / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":85,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}","pass":true}}],"failureMessages":["Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}\n at toHaveBeenCalled (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:138:37)"],"fullName":"late attachment Preview after unmount / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794897635043,"status":"failed","title":"late attachment Preview after unmount / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":85,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Preview failed.
instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Preview failed.
instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:142:78)"],"fullName":"late attachment Preview after unmount / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897635128,"status":"failed","title":"late attachment Preview after unmount / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":201,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}","pass":true}}],"failureMessages":["Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}\n at toHaveBeenCalled (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:138:37)"],"fullName":"late attachment Preview after job change / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794897635213,"status":"failed","title":"late attachment Preview after job change / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":161,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Preview failed.
instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Preview failed.
instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:142:78)"],"fullName":"late attachment Preview after job change / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897635414,"status":"failed","title":"late attachment Preview after job change / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":121,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}","pass":true}}],"failureMessages":["Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: {}\n at toHaveBeenCalled (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:138:37)"],"fullName":"late attachment Preview after session / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794897635576,"status":"failed","title":"late attachment Preview after session / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":88,"failing":false,"failureDetails":[{"matcherResult":{"pass":true,"message":"expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Preview failed.
instead"}}],"failureMessages":["Error: expect(element).not.toBeInTheDocument()\n\nexpected document not to contain element, found
Preview failed.
instead\n at toBeInTheDocument (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:142:78)"],"fullName":"late attachment Preview after session / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794897635697,"status":"failed","title":"late attachment Preview after session / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":4111,"failing":false,"failureDetails":[{},{},{"name":"TestingLibraryElementError"}],"failureMessages":["TypeError: URL.revokeObjectURL is not a function\n at revokeObjectURL (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\components\\Attachments.tsx:236:35)\n at Timeout.task [as _onTimeout] (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jsdom\\lib\\jsdom\\browser\\Window.js:579:19)\n at listOnTimeout (node:internal/timers:635:17)\n at processTimers (node:internal/timers:571:7)","TypeError: URL.revokeObjectURL is not a function\n at revokeObjectURL (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\components\\Attachments.tsx:236:35)\n at Timeout.task [as _onTimeout] (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jsdom\\lib\\jsdom\\browser\\Window.js:579:19)\n at listOnTimeout (node:internal/timers:635:17)\n at processTimers (node:internal/timers:571:7)","Error: Unable to find an element with the text: Nedlasting mislyktes.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\n\nIgnored nodes: comments, script, style\n\u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mVedlegg (1)\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mLast opp CV-er, søknadsbrev, porteføljer og støttedokumenter for denne søknaden.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m0 bilder\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 PDF-er\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mMaks 10 MB hver\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[0mLast opp\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[0mDra og slipp filer her\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0meller bruk opplastingsknappen for å velge dokumenter fra enheten din.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInnhold lastet.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mNavn\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mType\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFiltype\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n ...\n at waitForWrapper (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\wait-for.js:163:27)\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\query-helpers.js:86:33\n at findByText (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:157:23)"],"fullName":"delayed attachment Download failure uses the current locale","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897635785,"status":"failed","title":"delayed attachment Download failure uses the current locale"},{"ancestorTitles":[],"duration":4126,"failing":false,"failureDetails":[{},{"name":"TestingLibraryElementError"}],"failureMessages":["TypeError: URL.revokeObjectURL is not a function\n at revokeObjectURL (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\components\\Attachments.tsx:236:35)\n at Timeout.task [as _onTimeout] (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\jsdom\\lib\\jsdom\\browser\\Window.js:579:19)\n at listOnTimeout (node:internal/timers:635:17)\n at processTimers (node:internal/timers:571:7)","Error: Unable to find an element with the text: Forhåndsvisning mislyktes.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\n\nIgnored nodes: comments, script, style\n\u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mVedlegg (1)\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mLast opp CV-er, søknadsbrev, porteføljer og støttedokumenter for denne søknaden.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m0 bilder\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 PDF-er\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mMaks 10 MB hver\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[0mLast opp\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[0mDra og slipp filer her\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0meller bruk opplastingsknappen for å velge dokumenter fra enheten din.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInnhold lastet.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mNavn\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mType\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFiltype\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n ...\n at waitForWrapper (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\wait-for.js:163:27)\n at C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\node_modules\\@testing-library\\dom\\dist\\query-helpers.js:86:33\n at findByText (C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx:157:23)"],"fullName":"delayed attachment Preview failure uses the current locale","invocations":1,"location":null,"numPassingAsserts":0,"retryReasons":[],"startAt":1794897639896,"status":"failed","title":"delayed attachment Preview failure uses the current locale"}],"endTime":1794897644062,"message":" ● late attachment Download after unmount / resolve cannot expose an obsolete blob\n\n expect(jest.fn()).not.toHaveBeenCalled()\n\n Expected number of calls: 0\n Received number of calls: 1\n\n 1: {}\n\n 136 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); });\n 137 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); });\n > 138 | expect(URL.createObjectURL).not.toHaveBeenCalled();\n | ^\n 139 | expect(click).not.toHaveBeenCalled();\n 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n\n at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:138:37)\n\n ● late attachment Download after unmount / reject cannot expose an obsolete blob\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found
Download failed.
instead\n\n 139 | expect(click).not.toHaveBeenCalled();\n 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n > 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n | ^\n 142 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();\n 143 | } finally {\n 144 | view.unmount(); click.mockRestore();\n\n at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:141:79)\n\n ● late attachment Download after job change / resolve cannot expose an obsolete blob\n\n expect(jest.fn()).not.toHaveBeenCalled()\n\n Expected number of calls: 0\n Received number of calls: 1\n\n 1: {}\n\n 136 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); });\n 137 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); });\n > 138 | expect(URL.createObjectURL).not.toHaveBeenCalled();\n | ^\n 139 | expect(click).not.toHaveBeenCalled();\n 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n\n at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:138:37)\n\n ● late attachment Download after job change / reject cannot expose an obsolete blob\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found
Download failed.
instead\n\n 139 | expect(click).not.toHaveBeenCalled();\n 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n > 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n | ^\n 142 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();\n 143 | } finally {\n 144 | view.unmount(); click.mockRestore();\n\n at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:141:79)\n\n ● late attachment Download after session / resolve cannot expose an obsolete blob\n\n expect(jest.fn()).not.toHaveBeenCalled()\n\n Expected number of calls: 0\n Received number of calls: 1\n\n 1: {}\n\n 136 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); });\n 137 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); });\n > 138 | expect(URL.createObjectURL).not.toHaveBeenCalled();\n | ^\n 139 | expect(click).not.toHaveBeenCalled();\n 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n\n at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:138:37)\n\n ● late attachment Download after session / reject cannot expose an obsolete blob\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found
Download failed.
instead\n\n 139 | expect(click).not.toHaveBeenCalled();\n 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n > 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n | ^\n 142 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();\n 143 | } finally {\n 144 | view.unmount(); click.mockRestore();\n\n at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:141:79)\n\n ● late attachment Preview after unmount / resolve cannot expose an obsolete blob\n\n expect(jest.fn()).not.toHaveBeenCalled()\n\n Expected number of calls: 0\n Received number of calls: 1\n\n 1: {}\n\n 136 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); });\n 137 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); });\n > 138 | expect(URL.createObjectURL).not.toHaveBeenCalled();\n | ^\n 139 | expect(click).not.toHaveBeenCalled();\n 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n\n at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:138:37)\n\n ● late attachment Preview after unmount / reject cannot expose an obsolete blob\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found
Preview failed.
instead\n\n 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n > 142 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();\n | ^\n 143 | } finally {\n 144 | view.unmount(); click.mockRestore();\n 145 | URL.createObjectURL = originalCreate; URL.revokeObjectURL = originalRevoke;\n\n at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:142:78)\n\n ● late attachment Preview after job change / resolve cannot expose an obsolete blob\n\n expect(jest.fn()).not.toHaveBeenCalled()\n\n Expected number of calls: 0\n Received number of calls: 1\n\n 1: {}\n\n 136 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); });\n 137 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); });\n > 138 | expect(URL.createObjectURL).not.toHaveBeenCalled();\n | ^\n 139 | expect(click).not.toHaveBeenCalled();\n 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n\n at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:138:37)\n\n ● late attachment Preview after job change / reject cannot expose an obsolete blob\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found
Preview failed.
instead\n\n 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n > 142 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();\n | ^\n 143 | } finally {\n 144 | view.unmount(); click.mockRestore();\n 145 | URL.createObjectURL = originalCreate; URL.revokeObjectURL = originalRevoke;\n\n at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:142:78)\n\n ● late attachment Preview after session / resolve cannot expose an obsolete blob\n\n expect(jest.fn()).not.toHaveBeenCalled()\n\n Expected number of calls: 0\n Received number of calls: 1\n\n 1: {}\n\n 136 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); });\n 137 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); });\n > 138 | expect(URL.createObjectURL).not.toHaveBeenCalled();\n | ^\n 139 | expect(click).not.toHaveBeenCalled();\n 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n\n at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:138:37)\n\n ● late attachment Preview after session / reject cannot expose an obsolete blob\n\n expect(element).not.toBeInTheDocument()\n\n expected document not to contain element, found
Preview failed.
instead\n\n 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();\n 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();\n > 142 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();\n | ^\n 143 | } finally {\n 144 | view.unmount(); click.mockRestore();\n 145 | URL.createObjectURL = originalCreate; URL.revokeObjectURL = originalRevoke;\n\n at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:142:78)\n\n ● delayed attachment Download failure uses the current locale\n\n TypeError: URL.revokeObjectURL is not a function\n\n 234 | link.click();\n 235 | link.remove();\n > 236 | window.setTimeout(() => URL.revokeObjectURL(url), 5000);\n | ^\n 237 | } catch (error) {\n 238 | toast(getApiErrorMessage(error, t(\"attachmentsDownloadFailed\")), \"error\");\n 239 | }\n\n at revokeObjectURL (src/components/Attachments.tsx:236:35)\n at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:579:19)\n\n ● delayed attachment Download failure uses the current locale\n\n TypeError: URL.revokeObjectURL is not a function\n\n 234 | link.click();\n 235 | link.remove();\n > 236 | window.setTimeout(() => URL.revokeObjectURL(url), 5000);\n | ^\n 237 | } catch (error) {\n 238 | toast(getApiErrorMessage(error, t(\"attachmentsDownloadFailed\")), \"error\");\n 239 | }\n\n at revokeObjectURL (src/components/Attachments.tsx:236:35)\n at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:579:19)\n\n ● delayed attachment Download failure uses the current locale\n\n Unable to find an element with the text: Nedlasting mislyktes.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\n\n Ignored nodes: comments, script, style\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mVedlegg (1)\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mLast opp CV-er, søknadsbrev, porteføljer og støttedokumenter for denne søknaden.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m0 bilder\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 PDF-er\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mMaks 10 MB hver\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[0mLast opp\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[0mDra og slipp filer her\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0meller bruk opplastingsknappen for å velge dokumenter fra enheten din.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInnhold lastet.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mNavn\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mType\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFiltype\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n ...\n\n 155 | await act(async () => pending.reject(new Error('synthetic blob failure')));\n 156 | const key = action === 'Download' ? 'attachmentsDownloadFailed' : 'attachmentsPreviewFailed';\n > 157 | expect(await screen.findByText(translations.nb[key])).toBeVisible();\n | ^\n 158 | expect(screen.queryByText(translations.en[key])).not.toBeInTheDocument();\n 159 | });\n 160 |\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/attachment-action-lifetime.test.tsx:157:23)\n\n ● delayed attachment Preview failure uses the current locale\n\n TypeError: URL.revokeObjectURL is not a function\n\n 234 | link.click();\n 235 | link.remove();\n > 236 | window.setTimeout(() => URL.revokeObjectURL(url), 5000);\n | ^\n 237 | } catch (error) {\n 238 | toast(getApiErrorMessage(error, t(\"attachmentsDownloadFailed\")), \"error\");\n 239 | }\n\n at revokeObjectURL (src/components/Attachments.tsx:236:35)\n at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:579:19)\n\n ● delayed attachment Preview failure uses the current locale\n\n Unable to find an element with the text: Forhåndsvisning mislyktes.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\n\n Ignored nodes: comments, script, style\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mVedlegg (1)\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mLast opp CV-er, søknadsbrev, porteføljer og støttedokumenter for denne søknaden.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m0 bilder\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m
\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0m1 PDF-er\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mMaks 10 MB hver\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[0mLast opp\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[0mDra og slipp filer her\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0meller bruk opplastingsknappen for å velge dokumenter fra enheten din.\u001b[0m\n \u001b[36m

\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mInnhold lastet.\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mNavn\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mType\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n \u001b[0mFiltype\u001b[0m\n \u001b[36m\u001b[39m\n \u001b[36m\u001b[39m\n ...\n\n 155 | await act(async () => pending.reject(new Error('synthetic blob failure')));\n 156 | const key = action === 'Download' ? 'attachmentsDownloadFailed' : 'attachmentsPreviewFailed';\n > 157 | expect(await screen.findByText(translations.nb[key])).toBeVisible();\n | ^\n 158 | expect(screen.queryByText(translations.en[key])).not.toBeInTheDocument();\n 159 | });\n 160 |\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/attachment-action-lifetime.test.tsx:157:23)\n","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx","startTime":1794897630325,"status":"failed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/attachment-blob/red.json.gz b/docs/ui-modernisation/evidence/attachment-blob/red.json.gz new file mode 100644 index 0000000000000000000000000000000000000000..46193a793b6bd0654dd072527c9f8e3dd5577a93 GIT binary patch literal 4996 zcmbu?RX`H}qXl3=8bpwi4H%+;l+q=Pk{C#{(Kx~(HR+hN0wUerE!|zx-7rc*x<=D>KG!t*wm`1 z#kM=`M{)hw=2?6ddF&hW88Ew}1hD*1p%7!hB*x8qjqDl7o6qF-fu)-}Q+ zZLv$^9ySy}LpM>lRM7Xe%xPHJ){uuL59jRwkw3O6F5uLP(v@fZ5;mRo$G6IQ>BMe_ ze|;6>nQ=3udQ>RCE#96pT#+E3PAwO_(88(tv>8J-SLG3>o>8vsXX7rDQKfaOGEl*7 zE6-@qeY2xa(3R&pSMk^ry61nCCFS%apU6ZN@IIj)oz+EyzY^oylOvx8GVX&TeCo_3 z^o)4F#yFhhsArJ|Y%z0W7~Q{R!Y^0+k`>|ZYh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Fq|?krE!(+sq2nMY`%(FaGqLMUma{9NKDgr_%zo|0 zhGqfByZLU$wr-|$03N9N>leK5`4;`ON)~?aN9lr7Cr-2;N4@aB{rJzh6t0A;+YyD& zp#Q&st9L{NG!u(f*^8_pal^S+`~Tl~bVRA>vd-Dt7a2GG=WX{r>K%7+N7xtr_ibZo zO?)yReEk~N;^jRnz<9}~Vu9?GX!fotZ@jm&{|Fw4o#5o~{gRcb@K__I7ZWa#ALg`w z5a7!D9IpD#X&GA8SdYNuw7INnz2hWa`&aPINR|V|@6>fQbWk^*P!zBKmFNCZ5YxBY V!yWkjuG9m_iNCAN?hVeP{{io9 (node_modules/@jest/environment-jsdom-abstract/build/index.js:87:23) + at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28) + at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:584:9) + + console.error + Error: Uncaught [TypeError: URL.revokeObjectURL is not a function] + at reportException (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24) + at Timeout.task [as _onTimeout] (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\node_modules\jsdom\lib\jsdom\browser\Window.js:584:9) + at listOnTimeout (node:internal/timers:635:17) + at processTimers (node:internal/timers:571:7) { + detail: TypeError: URL.revokeObjectURL is not a function + at revokeObjectURL (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\src\components\Attachments.tsx:236:35) + at Timeout.task [as _onTimeout] (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\node_modules\jsdom\lib\jsdom\browser\Window.js:579:19) + at listOnTimeout (node:internal/timers:635:17) + at processTimers (node:internal/timers:571:7), + type: 'unhandled exception' + } + + at VirtualConsole. (node_modules/@jest/environment-jsdom-abstract/build/index.js:87:23) + at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28) + at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:584:9) + + console.error + Error: Uncaught [TypeError: URL.revokeObjectURL is not a function] + at reportException (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24) + at Timeout.task [as _onTimeout] (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\node_modules\jsdom\lib\jsdom\browser\Window.js:584:9) + at listOnTimeout (node:internal/timers:635:17) + at processTimers (node:internal/timers:571:7) { + detail: TypeError: URL.revokeObjectURL is not a function + at revokeObjectURL (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\src\components\Attachments.tsx:236:35) + at Timeout.task [as _onTimeout] (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\node_modules\jsdom\lib\jsdom\browser\Window.js:579:19) + at listOnTimeout (node:internal/timers:635:17) + at processTimers (node:internal/timers:571:7), + type: 'unhandled exception' + } + + at VirtualConsole. (node_modules/@jest/environment-jsdom-abstract/build/index.js:87:23) + at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28) + at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:584:9) + +FAIL src/attachment-action-lifetime.test.tsx (13.737 s) + ● late attachment Download after unmount / resolve cannot expose an obsolete blob + + expect(jest.fn()).not.toHaveBeenCalled() + + Expected number of calls: 0 + Received number of calls: 1 + + 1: {} + + 136 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 137 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + > 138 | expect(URL.createObjectURL).not.toHaveBeenCalled(); + | ^ + 139 | expect(click).not.toHaveBeenCalled(); + 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + + at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:138:37) + + ● late attachment Download after unmount / reject cannot expose an obsolete blob + + expect(element).not.toBeInTheDocument() + + expected document not to contain element, found
Download failed.
instead + + 139 | expect(click).not.toHaveBeenCalled(); + 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + > 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + | ^ + 142 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument(); + 143 | } finally { + 144 | view.unmount(); click.mockRestore(); + + at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:141:79) + + ● late attachment Download after job change / resolve cannot expose an obsolete blob + + expect(jest.fn()).not.toHaveBeenCalled() + + Expected number of calls: 0 + Received number of calls: 1 + + 1: {} + + 136 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 137 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + > 138 | expect(URL.createObjectURL).not.toHaveBeenCalled(); + | ^ + 139 | expect(click).not.toHaveBeenCalled(); + 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + + at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:138:37) + + ● late attachment Download after job change / reject cannot expose an obsolete blob + + expect(element).not.toBeInTheDocument() + + expected document not to contain element, found
Download failed.
instead + + 139 | expect(click).not.toHaveBeenCalled(); + 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + > 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + | ^ + 142 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument(); + 143 | } finally { + 144 | view.unmount(); click.mockRestore(); + + at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:141:79) + + ● late attachment Download after session / resolve cannot expose an obsolete blob + + expect(jest.fn()).not.toHaveBeenCalled() + + Expected number of calls: 0 + Received number of calls: 1 + + 1: {} + + 136 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 137 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + > 138 | expect(URL.createObjectURL).not.toHaveBeenCalled(); + | ^ + 139 | expect(click).not.toHaveBeenCalled(); + 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + + at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:138:37) + + ● late attachment Download after session / reject cannot expose an obsolete blob + + expect(element).not.toBeInTheDocument() + + expected document not to contain element, found
Download failed.
instead + + 139 | expect(click).not.toHaveBeenCalled(); + 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + > 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + | ^ + 142 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument(); + 143 | } finally { + 144 | view.unmount(); click.mockRestore(); + + at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:141:79) + + ● late attachment Preview after unmount / resolve cannot expose an obsolete blob + + expect(jest.fn()).not.toHaveBeenCalled() + + Expected number of calls: 0 + Received number of calls: 1 + + 1: {} + + 136 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 137 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + > 138 | expect(URL.createObjectURL).not.toHaveBeenCalled(); + | ^ + 139 | expect(click).not.toHaveBeenCalled(); + 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + + at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:138:37) + + ● late attachment Preview after unmount / reject cannot expose an obsolete blob + + expect(element).not.toBeInTheDocument() + + expected document not to contain element, found
Preview failed.
instead + + 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + > 142 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument(); + | ^ + 143 | } finally { + 144 | view.unmount(); click.mockRestore(); + 145 | URL.createObjectURL = originalCreate; URL.revokeObjectURL = originalRevoke; + + at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:142:78) + + ● late attachment Preview after job change / resolve cannot expose an obsolete blob + + expect(jest.fn()).not.toHaveBeenCalled() + + Expected number of calls: 0 + Received number of calls: 1 + + 1: {} + + 136 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 137 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + > 138 | expect(URL.createObjectURL).not.toHaveBeenCalled(); + | ^ + 139 | expect(click).not.toHaveBeenCalled(); + 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + + at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:138:37) + + ● late attachment Preview after job change / reject cannot expose an obsolete blob + + expect(element).not.toBeInTheDocument() + + expected document not to contain element, found
Preview failed.
instead + + 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + > 142 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument(); + | ^ + 143 | } finally { + 144 | view.unmount(); click.mockRestore(); + 145 | URL.createObjectURL = originalCreate; URL.revokeObjectURL = originalRevoke; + + at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:142:78) + + ● late attachment Preview after session / resolve cannot expose an obsolete blob + + expect(jest.fn()).not.toHaveBeenCalled() + + Expected number of calls: 0 + Received number of calls: 1 + + 1: {} + + 136 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); }); + 137 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); }); + > 138 | expect(URL.createObjectURL).not.toHaveBeenCalled(); + | ^ + 139 | expect(click).not.toHaveBeenCalled(); + 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + + at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:138:37) + + ● late attachment Preview after session / reject cannot expose an obsolete blob + + expect(element).not.toBeInTheDocument() + + expected document not to contain element, found
Preview failed.
instead + + 140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument(); + 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument(); + > 142 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument(); + | ^ + 143 | } finally { + 144 | view.unmount(); click.mockRestore(); + 145 | URL.createObjectURL = originalCreate; URL.revokeObjectURL = originalRevoke; + + at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:142:78) + + ● delayed attachment Download failure uses the current locale + + TypeError: URL.revokeObjectURL is not a function + + 234 | link.click(); + 235 | link.remove(); + > 236 | window.setTimeout(() => URL.revokeObjectURL(url), 5000); + | ^ + 237 | } catch (error) { + 238 | toast(getApiErrorMessage(error, t("attachmentsDownloadFailed")), "error"); + 239 | } + + at revokeObjectURL (src/components/Attachments.tsx:236:35) + at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:579:19) + + ● delayed attachment Download failure uses the current locale + + TypeError: URL.revokeObjectURL is not a function + + 234 | link.click(); + 235 | link.remove(); + > 236 | window.setTimeout(() => URL.revokeObjectURL(url), 5000); + | ^ + 237 | } catch (error) { + 238 | toast(getApiErrorMessage(error, t("attachmentsDownloadFailed")), "error"); + 239 | } + + at revokeObjectURL (src/components/Attachments.tsx:236:35) + at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:579:19) + + ● delayed attachment Download failure uses the current locale + + Unable to find an element with the text: Nedlasting mislyktes.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. + + Ignored nodes: comments, script, style + +
+
+
+
+

+ Vedlegg (1) +

+

+ Last opp CV-er, søknadsbrev, porteføljer og støttedokumenter for denne søknaden. +

+
+
+ + 0 bilder + +
+
+ + 1 PDF-er + +
+
+ + Maks 10 MB hver + +
+
+
+ + +
+
+

+ Dra og slipp filer her +

+

+ eller bruk opplastingsknappen for å velge dokumenter fra enheten din. +

+
+ + Innhold lastet. + +
+ + + + + + +
+ Navn + + Type + + Filtype + + ... + + 155 | await act(async () => pending.reject(new Error('synthetic blob failure'))); + 156 | const key = action === 'Download' ? 'attachmentsDownloadFailed' : 'attachmentsPreviewFailed'; + > 157 | expect(await screen.findByText(translations.nb[key])).toBeVisible(); + | ^ + 158 | expect(screen.queryByText(translations.en[key])).not.toBeInTheDocument(); + 159 | }); + 160 | + + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByText (src/attachment-action-lifetime.test.tsx:157:23) + + ● delayed attachment Preview failure uses the current locale + + TypeError: URL.revokeObjectURL is not a function + + 234 | link.click(); + 235 | link.remove(); + > 236 | window.setTimeout(() => URL.revokeObjectURL(url), 5000); + | ^ + 237 | } catch (error) { + 238 | toast(getApiErrorMessage(error, t("attachmentsDownloadFailed")), "error"); + 239 | } + + at revokeObjectURL (src/components/Attachments.tsx:236:35) + at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:579:19) + + ● delayed attachment Preview failure uses the current locale + + Unable to find an element with the text: Forhåndsvisning mislyktes.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. + + Ignored nodes: comments, script, style + +
+
+
+
+

+ Vedlegg (1) +

+

+ Last opp CV-er, søknadsbrev, porteføljer og støttedokumenter for denne søknaden. +

+
+
+ + 0 bilder + +
+
+ + 1 PDF-er + +
+
+ + Maks 10 MB hver + +
+
+
+ + +
+
+

+ Dra og slipp filer her +

+

+ eller bruk opplastingsknappen for å velge dokumenter fra enheten din. +

+
+ + Innhold lastet. + +
+ + + + + + +
+ Navn + + Type + + Filtype + + ... + + 155 | await act(async () => pending.reject(new Error('synthetic blob failure'))); + 156 | const key = action === 'Download' ? 'attachmentsDownloadFailed' : 'attachmentsPreviewFailed'; + > 157 | expect(await screen.findByText(translations.nb[key])).toBeVisible(); + | ^ + 158 | expect(screen.queryByText(translations.en[key])).not.toBeInTheDocument(); + 159 | }); + 160 | + + at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27) + at node_modules/@testing-library/dom/dist/query-helpers.js:86:33 + at findByText (src/attachment-action-lifetime.test.tsx:157:23) + +Test Suites: 1 failed, 1 total +Tests: 14 failed, 24 skipped, 38 total +Snapshots: 0 total +Time: 14.607 s +Ran all test suites matching src/attachment-action-lifetime.test.tsx with tests matching "obsolete blob|delayed attachment (Download|Preview)". +Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\attachment-blob-red.json diff --git a/docs/ui-modernisation/evidence/attachment-blob/red.txt.gz b/docs/ui-modernisation/evidence/attachment-blob/red.txt.gz new file mode 100644 index 0000000000000000000000000000000000000000..cbf85222ba4fa55b110a137e4cdbc72160a1e4d6 GIT binary patch literal 3382 zcmV-64axE!iwFP!000023hf9LGAoC!0{z;Z_OLA(wSeIT6DqR(vos3bwgVol z<~)+83A&8=`adqHRCO9GnBW2G%7}$v*p5Vbsk##}->ZWt=p~Ax-vd3?a+r3)Pyu`l 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(%TOb z&O%{GlluW5ekTj+PbkSBoPbjrOsRr39@{=NZSz>7^4)9_M{8U0Ide;+bv*C01=v`~ zeWteO_t=bD^)DvNt+j%q1w)cik-W;B9tFXa`yN5DP-PZ*+VQDp!~> z!ppJ4SZ_5EMq%co1&Er)-LNa}IUuZuuqcPg?y=SKwXrjMP+g(K)dfQg@+n_#d@~zB zQWF9$6@SC0#`fxilk~n6y=^q$$3-&Yk(iFch%6LdRwJ6LiD&G9sgz@tF2^7b<>_@! z96#HOp!}Gjrr(0=#l&-)<1frK_8R_5OgpQtHSK+2rXMh0{l)mU7MHWuVEP3ZH%&9w zobM$4pYmsA_CL%5iy*Km=59aDl4}lklEx8!4W1%1x*{heY1SrB-DLfUBl350w6`sD zM23agLO=az)1~hujiR(ipRkj5>al%M)~FAhmq694S}ktKzhDwu0tdF@H$C-EKacq1 z4+ms8Kl+?Q2Rl#s2b;PL@~+T?LM9(@@vFe9M{IwqSA2F0CQy7h0?y-g>>PPasyc3i z)1kn|k=1Pto4tHr>OdedherA(Uh%hrb%(814$emE*J#;y(ytb~qK%b*>O}WWb?@}6 z^iHp7bO*Oi!F#74eh)mkU^37RRNX+;4OHDg)$JkOK-CRYtq|Qn)eThLK-CRY-9Xh1 zRNX+;4OHDg)eThLK-CRY-9Xh1RNX+;4OHDg)eY4B4b*cOBhMlznDF~J(hun$!|n(jWrBFK3w1MgTq>*N92z`JhcOYZir+N z8IzE-kFdja=wDh&I%P=YW^bkN1qts;8g>I|n8Ny1@gccC z96eK9*b_Q>A~^b}9Nhtm7IdWOJjCx%kobqgF6@~y;vSz7|1qpljsqmc5Yz)5;ytea M19o~8`AT~L05{@h9RL6T literal 0 HcmV?d00001 diff --git a/docs/ui-modernisation/evidence/attachment-blob/typecheck.txt b/docs/ui-modernisation/evidence/attachment-blob/typecheck.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/ui-modernisation/evidence/attachment-blob/typecheck.txt.gz b/docs/ui-modernisation/evidence/attachment-blob/typecheck.txt.gz new file mode 100644 index 0000000000000000000000000000000000000000..ae211a2cb77f6830fe3b183a87963fc514435a29 GIT binary patch literal 20 Scmb2|=3oE;CN5?$4I%&z1pvYT literal 0 HcmV?d00001