From 1e9105dfd7f2f8e27c0879eaf0e20c13e17d6c96 Mon Sep 17 00:00:00 2001 From: cesnimda Date: Tue, 17 Nov 2026 15:23:52 +0100 Subject: [PATCH] docs(documents): retain preview download regression evidence --- .../ATTACHMENT_PREVIEW_DOWNLOAD.md | 11 + .../SOURCE_RECEIPTS.json | 63 ++ .../attachment-preview-download/graph.txt | 18 + .../attachment-preview-download/graph.txt.gz | Bin 0 -> 985 bytes .../attachment-preview-download/green.json | 1 + .../attachment-preview-download/green.json.gz | Bin 0 -> 3300 bytes .../attachment-preview-download/green.txt | 7 + .../attachment-preview-download/green.txt.gz | Bin 0 -> 256 bytes .../attachment-preview-download/lint.txt | 0 .../attachment-preview-download/lint.txt.gz | Bin 0 -> 20 bytes .../attachment-preview-download/red.json | 1 + .../attachment-preview-download/red.json.gz | Bin 0 -> 1991 bytes .../attachment-preview-download/red.txt | 553 ++++++++++++++++++ .../attachment-preview-download/red.txt.gz | Bin 0 -> 1771 bytes .../attachment-preview-download/typecheck.txt | 0 .../typecheck.txt.gz | Bin 0 -> 20 bytes 16 files changed, 654 insertions(+) create mode 100644 docs/ui-modernisation/ATTACHMENT_PREVIEW_DOWNLOAD.md create mode 100644 docs/ui-modernisation/evidence/attachment-preview-download/SOURCE_RECEIPTS.json create mode 100644 docs/ui-modernisation/evidence/attachment-preview-download/graph.txt create mode 100644 docs/ui-modernisation/evidence/attachment-preview-download/graph.txt.gz create mode 100644 docs/ui-modernisation/evidence/attachment-preview-download/green.json create mode 100644 docs/ui-modernisation/evidence/attachment-preview-download/green.json.gz create mode 100644 docs/ui-modernisation/evidence/attachment-preview-download/green.txt create mode 100644 docs/ui-modernisation/evidence/attachment-preview-download/green.txt.gz create mode 100644 docs/ui-modernisation/evidence/attachment-preview-download/lint.txt create mode 100644 docs/ui-modernisation/evidence/attachment-preview-download/lint.txt.gz create mode 100644 docs/ui-modernisation/evidence/attachment-preview-download/red.json create mode 100644 docs/ui-modernisation/evidence/attachment-preview-download/red.json.gz create mode 100644 docs/ui-modernisation/evidence/attachment-preview-download/red.txt create mode 100644 docs/ui-modernisation/evidence/attachment-preview-download/red.txt.gz create mode 100644 docs/ui-modernisation/evidence/attachment-preview-download/typecheck.txt create mode 100644 docs/ui-modernisation/evidence/attachment-preview-download/typecheck.txt.gz diff --git a/docs/ui-modernisation/ATTACHMENT_PREVIEW_DOWNLOAD.md b/docs/ui-modernisation/ATTACHMENT_PREVIEW_DOWNLOAD.md new file mode 100644 index 00000000..4bd448bd --- /dev/null +++ b/docs/ui-modernisation/ATTACHMENT_PREVIEW_DOWNLOAD.md @@ -0,0 +1,11 @@ +# Download the actual previewed attachment + +17 November 2026. Source `419fd49569b07f545b0d420f954047f564df7a0c`, branch `codex/a3-ui-10`, baseline `3623d1b5`. + +The preview dialog reconstructed the attachment with ID0 for Download, requesting `/attachments/download/0`. Retain the previewed attachment ID alongside its existing URL/type/name and pass that ID to the unchanged download handler. No endpoint, session/lifetime guard, blob handling, filename, renderer or storage contract changes. + +Both original EN/NB regressions FAILED with the wrong download ID. Final **103 cases/four complete affected suites PASSED**, zero failures/skips; non-incremental TypeScript, two-file lint, diff check and AST update PASSED (19,324 nodes/47,465 edges). Existing preview request ordering and job/session/unmount checks run in the same package. Counts overlap preceding attachment/dialog packages and are not cumulative full regression. + +Source/native/gzip bindings: `evidence/attachment-preview-download/SOURCE_RECEIPTS.json`. Blob and anchor clicks are mocked synthetic JSDOM checks; no real files, live API/provider, browser/device or physical PDF qualification. The prior Next build remains FAILED and final A3/security/release gates stay open. Rollback: revert this source commit; no migration. + +Follow-up investigation reproduced two separate same-application reload ordering failures after successive renames. Those tests are outside this source/evidence snapshot and need their own fix and verification; metadata write ordering remains unqualified. diff --git a/docs/ui-modernisation/evidence/attachment-preview-download/SOURCE_RECEIPTS.json b/docs/ui-modernisation/evidence/attachment-preview-download/SOURCE_RECEIPTS.json new file mode 100644 index 00000000..030206c0 --- /dev/null +++ b/docs/ui-modernisation/evidence/attachment-preview-download/SOURCE_RECEIPTS.json @@ -0,0 +1,63 @@ +{ + "sourceCommit": "419fd49569b07f545b0d420f954047f564df7a0c", + "sourcesLfSha256": { + "job-tracker-ui/src/components/Attachments.tsx": "4af6e607a79f9749ff3b41a30ab3d43fcd25c78075d6caee2f034f5ecea71c9e", + "job-tracker-ui/src/attachment-action-lifetime.test.tsx": "11018367cf0c8bf85ddcb0ff9aaa7893f798db7cd21a8bfa773f36becc268cbf", + "job-tracker-ui/src/attachments.test.tsx": "20b023eedce62a660149c8436426bae0c5d2b2410b318069ab7f798fca6bc51b", + "job-tracker-ui/src/file-picker-activation.test.tsx": "accb87f94a7b36373eec6583a391a17ede7e7779cf18d81d4a86b43e0bd6afbe", + "job-tracker-ui/src/dialog-text.test.tsx": "60db06fb84238d356c6f7be657f6dcf0dc47c0b51cc5e89d001d6f9024fe44fe" + }, + "evidenceLfSha256": { + "red.json": "64ea05652ff7c3b303db5ac7eed43c7fc017e410a2a0a28d4c293c14336bb32e", + "red.txt": "048e1da13fb9c542ca882f517bb34b2ab7bbd9ee57115bda5f9a5321056d8702", + "green.json": "725434427fb475fa01ef25bed01da464714c1756be5ed0fb7600ce6447a2a95f", + "green.txt": "187dcf1dd08deb262cd9cbba20d802437e98f62d167b49bf78fc76b5723d725c", + "typecheck.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "graph.txt": "a2bfd9d6649fbd08095359780f5e146f2437a8cad6cb189fe5c33e73e0fbfc34" + }, + "nativeReceipts": [ + { + "path": "red.json", + "gzipPath": "red.json.gz", + "rawSha256": "64ea05652ff7c3b303db5ac7eed43c7fc017e410a2a0a28d4c293c14336bb32e", + "gzipSha256": "a8448345431f3aeebca29acac46ea6b37c2900f3a9a9b21d11efd0676c49c740" + }, + { + "path": "red.txt", + "gzipPath": "red.txt.gz", + "rawSha256": "a55b5e4d1e874a0af67dd56f714220259f58d221a1459337bcadfa1a01a80e36", + "gzipSha256": "1aa9c1d524f4cddb97afb99f071b8f1620f6393ea209ba10bd33f0cc083b3448" + }, + { + "path": "green.json", + "gzipPath": "green.json.gz", + "rawSha256": "725434427fb475fa01ef25bed01da464714c1756be5ed0fb7600ce6447a2a95f", + "gzipSha256": "96b27bce4d52c0b2c7d198cd878d1a54c7cf010b293121961aabb8df6e3119c8" + }, + { + "path": "green.txt", + "gzipPath": "green.txt.gz", + "rawSha256": "e46b198a3ef5a1ae2a3fbbf98eecc382ea5f0c0456ba3b662cc3e38854a8dd8f", + "gzipSha256": "2cf7ac38a375f27eeaf2af939c10cd308203467b33ff82ce35f8e1369535421a" + }, + { + "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": "85cdd3e8b70066329b7ce1de6caceb277be685e1e31e45f4eaeb444b45ceb2cd", + "gzipSha256": "234111d71c6bd480736d544dbe064a0feddc573c62b7278041300e592b4463cf" + } + ] +} diff --git a/docs/ui-modernisation/evidence/attachment-preview-download/graph.txt b/docs/ui-modernisation/evidence/attachment-preview-download/graph.txt new file mode 100644 index 00000000..1ec2fa0b --- /dev/null +++ b/docs/ui-modernisation/evidence/attachment-preview-download/graph.txt @@ -0,0 +1,18 @@ +Re-extracting code files in . (no LLM needed)... +[graphify watch] 737 file(s) not classified (no supported extension or shebang), skipped: .dockerignore, .env.example, .git, .gitattributes, .gitignore, 1440-en-dark-converted.gz (+731 more) + AST cache: 2620/3071 files served from cache (85%); 451 to extract + AST extraction: 100/451 uncached files (22%) [16 workers] + AST extraction: 200/451 uncached files (44%) [16 workers] + AST extraction: 300/451 uncached files (66%) [16 workers] + AST extraction: 400/451 uncached files (88%) [16 workers] + AST extraction: 451/451 uncached files (100%) [16 workers] + warning: 8 .sql file(s) contributed nothing to the graph because a dependency is missing: tree_sitter_sql not installed. Install it with: pip install "graphifyy[sql]" (#1745) + warning: 145 code file(s) yielded no symbols (0.15 MB) — a data file, or source this extractor models no symbols for: JobTrackerApi.Tests/PdfBrowserStub/Program.cs, JobTrackerApi/Program.cs, JobTrackerApi/Properties/AssemblyInfo.cs, browser-extension/tests/capture-url.test.mjs, docs/audits/2026-09-07/validation/evidence/b05-excel-probe.ps1 (+140 more) +[graphify watch] community set changed since labeling (0 saved labels, 1196 communities now; renamed 131 community(ies) by their hub). Run `graphify label` to refresh names with the LLM. +Graph has 19324 nodes (above 5000 limit). Building aggregated community view... +graph.html written (aggregated: 1196 community nodes, 3036 cross-community edges) +Tip: run with --obsidian for full node-level detail. +[graphify watch] Rebuilt: 19324 nodes, 47465 edges, 1196 communities +[graphify watch] graph.json, graph.html and GRAPH_REPORT.md updated in graphify-out +Code graph updated. For doc/paper/image changes run /graphify --update in your AI assistant. +Tip: set GEMINI_API_KEY or GOOGLE_API_KEY to use Gemini for semantic extraction. diff --git a/docs/ui-modernisation/evidence/attachment-preview-download/graph.txt.gz b/docs/ui-modernisation/evidence/attachment-preview-download/graph.txt.gz new file mode 100644 index 0000000000000000000000000000000000000000..c0cb7adac0c613a92d431fa8f125bc0285770e68 GIT binary patch literal 985 zcmV;~119_*iwFP!000023XN6UZsRr(eGia-7;LeCjaoNbwiEA@Q>3ojq%pjCDS{wN zNn?o{id0F;UiYaV(J$d}2rDko0GAL# zM=H3wx(10@V9^c3@bu)a)U2uaY6}}?^XeYPgR#eSOc$iGkPBuEUvVrv-n31lw51hY zgwk*&L1{1*W=xjd9+*eoG+0a^EL8r8nwL^(>_Lcf9pX1uH^Qw-Zg;=TTFtZ8qS>tv z@kyG-0m`6Y`Z36rT%)@+EdPSekK;iCHAQt#PXMN$Zy{%Sg%jwH`f)Uf$H`u`LA|C- zS6bD(5a^r@KXyMsI!wSS*w^a7awwgW6G-AXa#5}Hz+%tX>GwZ&;Vv1$Mrl%K?q37< z-vFoSJHUfCz@yPS!08*{v$OYrhsmp8s>Lhl4bzfbHi0t;&7b0E8hWe!ix$p6m2)E1 z+EVqs*C4~3wFZGffep$6WxfS&pyp&WM`$(TgW=YqesIjrhFluUgdhjNeD@c)g$=jW z1RCBP&f&ws&)YkK-hY7356L(kc3)(iq{FA?a5--|io)j$W?N@Ukm@*0hH!n+g@6D4 z$K}c_^YK0Jch%|~NfhP1FCp#L#7WR+EGwla@Tt%5*h$U z-VPmiA=^5OaSc_QbwgOT622T$@vL8*4K=PbnhG3`@&577q_IfDaOVA4F$2l@pr6v6 zh4Vkl)EZ$J$1w8q6{-UK{gE z%t(TrJXhL-bexWcyQ{u`f>&5}`o0<^d+h@;0msXq&=UiM~V! zmO!;Mdw+6`xSI_7m=Jy@Eo925VdU_L*Q~_7bBxy>9TN$H9mw%+sVQMP2lv6EX&`O5 zFPAgk?DBg4`}|?Lm_Ph>`G@P_+0D)D>hicl=5SMKhBcSmSCe{*NO=BiND||J4#xSP HWCs8Mj|1tP literal 0 HcmV?d00001 diff --git a/docs/ui-modernisation/evidence/attachment-preview-download/green.json b/docs/ui-modernisation/evidence/attachment-preview-download/green.json new file mode 100644 index 00000000..83448d48 --- /dev/null +++ b/docs/ui-modernisation/evidence/attachment-preview-download/green.json @@ -0,0 +1 @@ +{"numFailedTestSuites":0,"numFailedTests":0,"numPassedTestSuites":4,"numPassedTests":103,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":4,"numTotalTests":103,"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":1794925255569,"success":true,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":332,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"preview download keeps the attachment identity and filename (en)","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794925258755,"status":"passed","title":"preview download keeps the attachment identity and filename (en)"},{"ancestorTitles":[],"duration":121,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"preview download keeps the attachment identity and filename (nb)","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794925259087,"status":"passed","title":"preview download keeps the attachment identity and filename (nb)"},{"ancestorTitles":[],"duration":71,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old attachment read resolve cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794925259208,"status":"passed","title":"old attachment read resolve cannot replace the next application"},{"ancestorTitles":[],"duration":76,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old attachment read reject cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794925259279,"status":"passed","title":"old attachment read reject cannot replace the next application"},{"ancestorTitles":[],"duration":235,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-rename read resolve cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794925259355,"status":"passed","title":"old post-rename read resolve cannot replace the next application"},{"ancestorTitles":[],"duration":233,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-rename read reject cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794925259591,"status":"passed","title":"old post-rename read reject cannot replace the next application"},{"ancestorTitles":[],"duration":230,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-delete read resolve cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794925259824,"status":"passed","title":"old post-delete read resolve cannot replace the next application"},{"ancestorTitles":[],"duration":199,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old post-delete read reject cannot replace the next application","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794925260054,"status":"passed","title":"old post-delete read reject cannot replace the next application"},{"ancestorTitles":[],"duration":113,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename decision after unmount cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794925260254,"status":"passed","title":"attachment rename decision after unmount cannot mutate the previous context"},{"ancestorTitles":[],"duration":164,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename decision after job change cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794925260367,"status":"passed","title":"attachment rename decision after job change cannot mutate the previous context"},{"ancestorTitles":[],"duration":77,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename decision after session cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794925260532,"status":"passed","title":"attachment rename decision after session cannot mutate the previous context"},{"ancestorTitles":[],"duration":82,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete decision after unmount cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794925260609,"status":"passed","title":"attachment delete decision after unmount cannot mutate the previous context"},{"ancestorTitles":[],"duration":101,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete decision after job change cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794925260691,"status":"passed","title":"attachment delete decision after job change cannot mutate the previous context"},{"ancestorTitles":[],"duration":79,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete decision after session cannot mutate the previous context","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794925260792,"status":"passed","title":"attachment delete decision after session cannot mutate the previous context"},{"ancestorTitles":[],"duration":232,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename delayed resolve uses current language","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794925260871,"status":"passed","title":"attachment rename delayed resolve uses current language"},{"ancestorTitles":[],"duration":212,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment rename delayed reject uses current language","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794925261103,"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":1794925261315,"status":"passed","title":"attachment delete delayed resolve uses current language"},{"ancestorTitles":[],"duration":201,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment delete delayed reject uses current language","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794925261546,"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":1794925261747,"status":"passed","title":"late attachment rename after unmount / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":191,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment rename after unmount / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925261950,"status":"passed","title":"late attachment rename after unmount / reject cannot reload or notify"},{"ancestorTitles":[],"duration":248,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment rename after job change / resolve cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925262141,"status":"passed","title":"late attachment rename after job change / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":233,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment rename after job change / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925262389,"status":"passed","title":"late attachment rename after job change / reject cannot reload or notify"},{"ancestorTitles":[],"duration":176,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after unmount / resolve cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925262622,"status":"passed","title":"late attachment delete after unmount / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":172,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after unmount / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925262798,"status":"passed","title":"late attachment delete after unmount / reject cannot reload or notify"},{"ancestorTitles":[],"duration":232,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after job change / resolve cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925262970,"status":"passed","title":"late attachment delete after job change / resolve cannot reload or notify"},{"ancestorTitles":[],"duration":202,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment delete after job change / reject cannot reload or notify","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925263202,"status":"passed","title":"late attachment delete after job change / reject cannot reload or notify"},{"ancestorTitles":[],"duration":58,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Download after unmount / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925263405,"status":"passed","title":"late attachment Download after unmount / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":68,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Download after unmount / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925263463,"status":"passed","title":"late attachment Download after unmount / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":101,"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":1794925263531,"status":"passed","title":"late attachment Download after job change / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":88,"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":1794925263632,"status":"passed","title":"late attachment Download after job change / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":40,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Download after session / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925263720,"status":"passed","title":"late attachment Download after session / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":47,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Download after session / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925263760,"status":"passed","title":"late attachment Download after session / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":61,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Preview after unmount / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925263808,"status":"passed","title":"late attachment Preview after unmount / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":65,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Preview after unmount / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925263869,"status":"passed","title":"late attachment Preview after unmount / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":129,"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":1794925263934,"status":"passed","title":"late attachment Preview after job change / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":105,"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":1794925264063,"status":"passed","title":"late attachment Preview after job change / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":62,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Preview after session / resolve cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925264168,"status":"passed","title":"late attachment Preview after session / resolve cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":57,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment Preview after session / reject cannot expose an obsolete blob","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925264230,"status":"passed","title":"late attachment Preview after session / reject cannot expose an obsolete blob"},{"ancestorTitles":[],"duration":114,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"delayed attachment Download failure uses the current locale","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794925264287,"status":"passed","title":"delayed attachment Download failure uses the current locale"},{"ancestorTitles":[],"duration":92,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"delayed attachment Preview failure uses the current locale","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794925264401,"status":"passed","title":"delayed attachment Preview failure uses the current locale"},{"ancestorTitles":[],"duration":75,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment upload after unmount / resolve has no stale completion","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925264494,"status":"passed","title":"late attachment upload after unmount / resolve has no stale completion"},{"ancestorTitles":[],"duration":37,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment upload after unmount / reject has no stale completion","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925264569,"status":"passed","title":"late attachment upload after unmount / reject has no stale completion"},{"ancestorTitles":[],"duration":73,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment upload after job change / resolve has no stale completion","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925264606,"status":"passed","title":"late attachment upload after job change / resolve has no stale completion"},{"ancestorTitles":[],"duration":62,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment upload after job change / reject has no stale completion","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925264679,"status":"passed","title":"late attachment upload after job change / reject has no stale completion"},{"ancestorTitles":[],"duration":44,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment upload after session / resolve has no stale completion","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925264741,"status":"passed","title":"late attachment upload after session / resolve has no stale completion"},{"ancestorTitles":[],"duration":63,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment upload after session / reject has no stale completion","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925264785,"status":"passed","title":"late attachment upload after session / reject has no stale completion"},{"ancestorTitles":[],"duration":76,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment metadata after unmount / resolve has no stale completion","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925264848,"status":"passed","title":"late attachment metadata after unmount / resolve has no stale completion"},{"ancestorTitles":[],"duration":78,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment metadata after unmount / reject has no stale completion","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925264924,"status":"passed","title":"late attachment metadata after unmount / reject has no stale completion"},{"ancestorTitles":[],"duration":122,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment metadata after job change / resolve has no stale completion","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925265002,"status":"passed","title":"late attachment metadata after job change / resolve has no stale completion"},{"ancestorTitles":[],"duration":121,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment metadata after job change / reject has no stale completion","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925265124,"status":"passed","title":"late attachment metadata after job change / reject has no stale completion"},{"ancestorTitles":[],"duration":80,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment metadata after session / resolve has no stale completion","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925265245,"status":"passed","title":"late attachment metadata after session / resolve has no stale completion"},{"ancestorTitles":[],"duration":78,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"late attachment metadata after session / reject has no stale completion","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925265325,"status":"passed","title":"late attachment metadata after session / reject has no stale completion"},{"ancestorTitles":[],"duration":145,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"delayed attachment upload / resolve uses current-language mutation feedback","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794925265403,"status":"passed","title":"delayed attachment upload / resolve uses current-language mutation feedback"},{"ancestorTitles":[],"duration":87,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"delayed attachment upload / reject uses current-language mutation feedback","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794925265548,"status":"passed","title":"delayed attachment upload / reject uses current-language mutation feedback"},{"ancestorTitles":[],"duration":78,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"delayed attachment metadata / resolve uses current-language mutation feedback","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794925265635,"status":"passed","title":"delayed attachment metadata / resolve uses current-language mutation feedback"},{"ancestorTitles":[],"duration":62,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"delayed attachment metadata / reject uses current-language mutation feedback","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794925265713,"status":"passed","title":"delayed attachment metadata / reject uses current-language mutation feedback"},{"ancestorTitles":[],"duration":183,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old upload resolve cannot clear a new application upload busy state","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794925265775,"status":"passed","title":"old upload resolve cannot clear a new application upload busy state"},{"ancestorTitles":[],"duration":232,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"old upload reject cannot clear a new application upload busy state","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794925265958,"status":"passed","title":"old upload reject cannot clear a new application upload busy state"},{"ancestorTitles":[],"duration":128,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"switching application clears old attachment actions while the next list is pending","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794925266190,"status":"passed","title":"switching application clears old attachment actions while the next list is pending"},{"ancestorTitles":[],"duration":399,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"switching application closes and releases its already-open attachment preview","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794925266318,"status":"passed","title":"switching application closes and releases its already-open attachment preview"},{"ancestorTitles":[],"duration":105,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"older preview resolve cannot replace or notify over the latest requested file","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794925266717,"status":"passed","title":"older preview resolve cannot replace or notify over the latest requested file"},{"ancestorTitles":[],"duration":142,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"older preview reject cannot replace or notify over the latest requested file","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794925266822,"status":"passed","title":"older preview reject cannot replace or notify over the latest requested file"}],"endTime":1794925266966,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx","startTime":1794925256353,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":74,"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":1794925267664,"status":"passed","title":"pending attachment read uses en to nb failure copy without another read"},{"ancestorTitles":[],"duration":45,"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":1794925267738,"status":"passed","title":"pending attachment read uses nb to en failure copy without another read"},{"ancestorTitles":[],"duration":415,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending attachment rename follows en to nb without changing file data","invocations":1,"location":null,"numPassingAsserts":13,"retryReasons":[],"startAt":1794925267783,"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":1794925268198,"status":"passed","title":"pending attachment rename follows nb to en without changing file data"},{"ancestorTitles":[],"duration":369,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending attachment delete follows en to nb without changing file data","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794925268601,"status":"passed","title":"pending attachment delete follows en to nb without changing file data"},{"ancestorTitles":[],"duration":385,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending attachment delete follows nb to en without changing file data","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794925268971,"status":"passed","title":"pending attachment delete follows nb to en without changing file data"},{"ancestorTitles":[],"duration":60,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment size follows the UI locale (en)","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794925269357,"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":1794925269417,"status":"passed","title":"attachment size follows the UI locale (nb)"},{"ancestorTitles":[],"duration":124,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"PDF preview identifies the document in en","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794925269464,"status":"passed","title":"PDF preview identifies the document in en"},{"ancestorTitles":[],"duration":139,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"PDF preview identifies the document in nb","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794925269588,"status":"passed","title":"PDF preview identifies the document in nb"},{"ancestorTitles":[],"duration":45,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachments empty state renders drag and drop guidance","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794925269727,"status":"passed","title":"attachments empty state renders drag and drop guidance"},{"ancestorTitles":[],"duration":232,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachments metadata controls update purpose and ai usage","invocations":1,"location":null,"numPassingAsserts":9,"retryReasons":[],"startAt":1794925269772,"status":"passed","title":"attachments metadata controls update purpose and ai usage"},{"ancestorTitles":[],"duration":61,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"attachment failures remain explicit and retry restores the real empty state","invocations":1,"location":null,"numPassingAsserts":5,"retryReasons":[],"startAt":1794925270004,"status":"passed","title":"attachment failures remain explicit and retry restores the real empty state"}],"endTime":1794925270066,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachments.test.tsx","startTime":1794925266975,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":325,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending confirm resolves metadata from en to nb and settles once","invocations":1,"location":null,"numPassingAsserts":12,"retryReasons":[],"startAt":1794925270721,"status":"passed","title":"pending confirm resolves metadata from en to nb and settles once"},{"ancestorTitles":[],"duration":290,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending confirm resolves metadata from nb to en and settles once","invocations":1,"location":null,"numPassingAsserts":12,"retryReasons":[],"startAt":1794925271046,"status":"passed","title":"pending confirm resolves metadata from nb to en and settles once"},{"ancestorTitles":[],"duration":324,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending prompt resolves metadata from en to nb and settles once","invocations":1,"location":null,"numPassingAsserts":18,"retryReasons":[],"startAt":1794925271336,"status":"passed","title":"pending prompt resolves metadata from en to nb and settles once"},{"ancestorTitles":[],"duration":310,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"pending prompt resolves metadata from nb to en and settles once","invocations":1,"location":null,"numPassingAsserts":18,"retryReasons":[],"startAt":1794925271661,"status":"passed","title":"pending prompt resolves metadata from nb to en and settles once"},{"ancestorTitles":[],"duration":47,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"confirm metadata falls back to interpolated English without I18n context","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794925271971,"status":"passed","title":"confirm metadata falls back to interpolated English without I18n context"},{"ancestorTitles":[],"duration":121,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prompt metadata falls back to interpolated English without I18n context","invocations":1,"location":null,"numPassingAsserts":4,"retryReasons":[],"startAt":1794925272018,"status":"passed","title":"prompt metadata falls back to interpolated English without I18n context"},{"ancestorTitles":[],"duration":77,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"confirm leaves literal \"\" verbatim during locale changes","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925272139,"status":"passed","title":"confirm leaves literal \"\" verbatim during locale changes"},{"ancestorTitles":[],"duration":110,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prompt leaves literal \"\" verbatim during locale changes","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925272216,"status":"passed","title":"prompt leaves literal \"\" verbatim during locale changes"},{"ancestorTitles":[],"duration":76,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"confirm leaves literal \"confirmAction\" verbatim during locale changes","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925272326,"status":"passed","title":"confirm leaves literal \"confirmAction\" verbatim during locale changes"},{"ancestorTitles":[],"duration":123,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"prompt leaves literal \"enterValue\" verbatim during locale changes","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794925272402,"status":"passed","title":"prompt leaves literal \"enterValue\" verbatim during locale changes"},{"ancestorTitles":[],"duration":76,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"fallback parameter in pending confirm follows en to nb","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794925272525,"status":"passed","title":"fallback parameter in pending confirm follows en to nb"},{"ancestorTitles":[],"duration":65,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"fallback parameter in pending confirm follows nb to en","invocations":1,"location":null,"numPassingAsserts":7,"retryReasons":[],"startAt":1794925272601,"status":"passed","title":"fallback parameter in pending confirm follows nb to en"},{"ancestorTitles":[],"duration":136,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"fallback parameter in pending prompt follows en to nb","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794925272666,"status":"passed","title":"fallback parameter in pending prompt follows en to nb"},{"ancestorTitles":[],"duration":141,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"fallback parameter in pending prompt follows nb to en","invocations":1,"location":null,"numPassingAsserts":8,"retryReasons":[],"startAt":1794925272802,"status":"passed","title":"fallback parameter in pending prompt follows nb to en"},{"ancestorTitles":[],"duration":60,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"fallback parameter in confirm resolves English without context","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794925272944,"status":"passed","title":"fallback parameter in confirm resolves English without context"},{"ancestorTitles":[],"duration":121,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"fallback parameter in prompt resolves English without context","invocations":1,"location":null,"numPassingAsserts":2,"retryReasons":[],"startAt":1794925273004,"status":"passed","title":"fallback parameter in prompt resolves English without context"},{"ancestorTitles":[],"duration":1,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"fallback parameter preserves primitive \"\" verbatim","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794925273125,"status":"passed","title":"fallback parameter preserves primitive \"\" verbatim"},{"ancestorTitles":[],"duration":0,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"fallback parameter preserves primitive 0 verbatim","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794925273126,"status":"passed","title":"fallback parameter preserves primitive 0 verbatim"},{"ancestorTitles":[],"duration":0,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"fallback parameter preserves primitive \"jobTableCompany\" verbatim","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794925273126,"status":"passed","title":"fallback parameter preserves primitive \"jobTableCompany\" verbatim"},{"ancestorTitles":[],"duration":0,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"fallback parameter preserves primitive \"Søknad 東京 🧑‍💻 & {count}\" verbatim","invocations":1,"location":null,"numPassingAsserts":1,"retryReasons":[],"startAt":1794925273126,"status":"passed","title":"fallback parameter preserves primitive \"Søknad 東京 🧑‍💻 & {count}\" verbatim"}],"endTime":1794925273127,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\dialog-text.test.tsx","startTime":1794925270074,"status":"passed","summary":""},{"assertionResults":[{"ancestorTitles":[],"duration":85,"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":1794925274362,"status":"passed","title":"attachment Upload activates the same native input from Enter, Space and pointer"},{"ancestorTitles":[],"duration":29,"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":1794925274448,"status":"passed","title":"Import JSON activates its own native input from Enter, Space and pointer"},{"ancestorTitles":[],"duration":24,"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":1794925274478,"status":"passed","title":"Convert CSV to Import JSON activates its own native input from Enter, Space and pointer"},{"ancestorTitles":[],"duration":383,"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":1794925274502,"status":"passed","title":"Add Job attachment bucket 0 retains keyboard selection and distinct pending files"},{"ancestorTitles":[],"duration":294,"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":1794925274885,"status":"passed","title":"Add Job attachment bucket 1 retains keyboard selection and distinct pending files"},{"ancestorTitles":[],"duration":233,"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":1794925275179,"status":"passed","title":"Add Job attachment bucket 2 retains keyboard selection and distinct pending files"},{"ancestorTitles":[],"duration":366,"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":1794925275413,"status":"passed","title":"Add Job attachment bucket 3 retains keyboard selection and distinct pending files"},{"ancestorTitles":[],"duration":114,"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":1794925275779,"status":"passed","title":"attachment selection retains files and job ownership, disables activation while uploading and clears selection after completion"}],"endTime":1794925275894,"message":"","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\file-picker-activation.test.tsx","startTime":1794925273137,"status":"passed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/attachment-preview-download/green.json.gz b/docs/ui-modernisation/evidence/attachment-preview-download/green.json.gz new file mode 100644 index 0000000000000000000000000000000000000000..adff0c18c6ae5556d65d7d169b2539e9b35dba0f GIT binary patch literal 3300 zcmV)(wiwFP!000023e}xUkK4!*fbaPg4IP4AVC3cdF~|mR{6M@(HijR2S>-^H zJtKN3HkaL;8O1P=KafLm5B8W#F1ZECG5;h8a^9biYLe1OGa9N%Hk(`+uq}!dtG=o( zR=;W-eJn#7BRzgcCMWr9^V~$9Z-6Bs&(%;9MUzjI*8LKPA?z+@ZJ}@ zV{eL-#cTW`&q@C9igzR;2dBRyEJz;8u{*pKgJd}UWspV*Kj+)uoy}+(WOPN??EK>_ zh$0-7zZk{Q`z#6=o}FI=3B_l#3sAnu_dWv)`gC_e`SA^2lj|b~ejQU*-K{+OK3xYa zTr-wnDsuw=a|8N>PzZlzk%Bam)qaDD3avsfD1aya(o@*8x)b7G$BERt}xChVk?XS z#)5FQ#wkN_1b@eDgTS(g15M#-^chY+pPkL(^qPdFT-*uHW=Z{NcAmn0cJ2z2J}ni6 zv+T23j#<8Wg9BP#R(cBO_mu6?^IY35kF$buSxcvfJ2K8hhVY-xPJz}9eFC7<<*=ZA z&2t9>&4oV=+LgqaB+ zYr@=Db^*%Hkd!~*kWB!x>$it2Ec$82hH1-#oDs_AdDW8C__AooFq>m@Z{bBin}dQL z)}2K;+rHj`vs8c9Bx8;Mf*9B-@iCrdCq@XAyDFYR{AvXn)8_mdN>LGyNu@vF| zK$a+61?eRo-2$fL_Od`bRRr=tSCI`UT**I;Z2+5hn0pwYg&wErdxmuSb+nvl0CF^6 zkbZAH1OkwzE5bja0OT}hk&;yr2td9f8%!ktxxUfM08#^xVH(55|0LMpyVSS2P)u)h8zHJG|$!B#(EK%1+eN0u$Gyyda8Okyx)y#gUBMjI$*dS+gEi{x7&sV zNxrHnz&e(%+LqImYCm7qBy}wl9^4-`sl#mOi-+S6<={NY5qyd-Hr*gQf{pO z1(9JBT`}~-!3dSieOr^lyio%IKes#u$oF#2ab4ZeExj}LR$3?=^ll^cXbx|fo-d1h zPoLLi&7IwsxqbvqDYnBOqYd_sDu_Tg6hj}+)m`6{!n|*6H&q~?PHgvGtuuDnv0WPh z{b&wvmg>qO-_z&qfzp}h+x0RhA|t-d2!$(CM3(RcS96(=<*@iI&2EFguP&#p;HbC4 zzTb>v1jm$Q1QAsf4vwFYyeV>yVhG#Rdl;gNIs)@V-WawRy-hf#A z@El)`2_&UShOfc|lgpBP)9P-9VUi?Wvqvz+*bTzc+I1XyD9{mRElKjPLC(U z02z|)s0`-VeQh;Q&DQ|!=Bj~f(s6R#5Cz`6SFDfR zr}6s6V05>hF)Cb3(_6w76TbK0IvrII@O4u$^YI+r^=v7~`^NQwmglVD;wWIjwDK3vYSr=Vtb_n} zPdWGTeBC!JN!WXOyKWdtuumqDv9)%qMf&KWuq;eFu}5=!Tkqxga`PEaQ^I~48I5gN zb`SD0a~egFeiB)YZ5pz$_l@+HJ=l;}or`^ObT`p_yYZ#kY{=EQz&Kh4;nkqKcWkS9 zrF|M*&Ltq}W{{o$cAnf^PU@i*=m%a7DShC(DWTm0#iBhXZl< zCl)6{+qXSo+TFw#=|f2h@AM{S;R=4`K%`Psitd&B3&N5ox>?1^UInQnrVPatWmToz zK|_qA`;9Z!1E?b~4<)Pi*kjTY9us+C&>Vv%{6oy(K*H;LZRWge@V;Jk!O=lWayX{$ zb+JP?O%yI<0v~}c$hKzdBQ@%F+hY*9hO@cr@IDRYXM9({zqqR5I%qLC$JN~vaY&*j zB7H4m7!w>TUpEa4c+ERKr7H3XM1Y8NSR>nUdk1{@67HT>6rY_h7VkkHx>!6T zaLatLcoLEb-!2w6B)?)g#_&}X=OENPhX>F)$mVg%@MUGt#o{ZnL@b9~3&XV^$Z}qP zm>2P4LGy62xNEBODwxib_yY6N=ufx`PZ+(O9k1=p_lz7vM~n43$TwV*(&O4!_jV;s z*wx|xLAl#9KZP*G2uhc`g(D%!HV9(giWKl*0gJA{nEd=fpN6jEG>$CF(m`OF)K)+p zWCe*q?vbgxrq`Kz3mpWg>qBBMs{ve)Bq29@-m(?79FpeO@aTkiAFdm8-4vznnXRd} zRzYMplc9?F&R51_?&-eQkGY5n0tvR`55~OS89lh4dxFTF=0%KhG!Q`U*{YBa=H{Zv zeYYoaIbQB)(u<1G`1f~G^4#+Mt9nUmj~9>#F30svTeNQPDKQ12vZIt;=XZ*Tva@s< z?8M$4Qch3HfcN_O%Uy4$dY{QfT(75&NLWun|SD5YuX z-4qQkk(-l*qUz0EC@b=Mqfdl_7`iu|OH=xyTwOzyYdfjcZQb6B-1Vsx?7j|o#JS}o zr7^3=M}Y?)wF8OjCI+3tWZz$g9NTg=O%r|ZL2o^d4sC%1(-_*KC&scI@JoA`v8-|( zjm#t*8pB1LueYPYd(Gq`C+oYe1GgN-jLU>b=WwYTg1+V&LJ4?h=>;OEuPG(H>oKS$ zt!vH2eS1qU(6KZm571^HQN~ocv?mDKG=)HS6<&a|uBqfK+o44{JC5F;b02?}Raa-* zPcTT zg5K99l|nEi-*{0@QB%H#H4RGJ#%Tr*+;X1a1@Eq(p|=^|xxwcOGE$DM4muNWnU3h& zkEQ4$GFd9e3a{1~$r<|U?Qg%{lbLS_BRA<}@LSEB`lTr$^5#f6+#yClsA1^Y+i!Sp z=tp7(x6uqk=_ImJTGAlr(;wwEZ4G|yXEq=5eZDz(5BF*XbP{nilBUL6uxTpap8>#n!?tbE0@aG zMr8MlGqfqpDVoA+u0|qX8-)e#_cs9SMB7STN>d8TYsbL@4|)cxI6LEV^DZRaJ`(vw zRrQ0a21U8c1um=WCG06(7Uoh@KFqb<<~B68?#Fv)w#OenWA)Cs+VdyW*uJ8EGh#+D;XhDgU5 z`tbEnYt)<$xbKd*?C?b_Pz_FqOL&DInaMs)N}{087JqWqdnryEG3#HZ3fOZKSFYHS zuA{#o9E<#Pd;`u7pBMnW2bmx9@)$Z4)3{IrC-aOVXqt|KC^X_?P~KfhrnY>}O865nH#00;f{05p0N&ntd-D1HX~oxLLwf#FpSBGP?+|Va4vNvF=0*mBgK}C zuzsJrNegv7*l1X{@zUZ=l#d3zx(v=+{cla5= expect(downloads).toEqual([file.fileName]));\n > 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']);\n | ^\n 61 | expect(mockedApi.post).not.toHaveBeenCalled();\n 62 | expect(mockedApi.patch).not.toHaveBeenCalled();\n 63 | expect(mockedApi.delete).not.toHaveBeenCalled();\n\n at toEqual (src/attachment-action-lifetime.test.tsx:60:112)\n\n ● preview download keeps the attachment identity and filename (nb)\n\n expect(received).toEqual(expected) // deep equality\n\n - Expected - 1\n + Received + 1\n\n Array [\n \"/attachments/download/7\",\n - \"/attachments/download/7\",\n + \"/attachments/download/0\",\n ]\n\n 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload }));\n 59 | await waitFor(() => expect(downloads).toEqual([file.fileName]));\n > 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']);\n | ^\n 61 | expect(mockedApi.post).not.toHaveBeenCalled();\n 62 | expect(mockedApi.patch).not.toHaveBeenCalled();\n 63 | expect(mockedApi.delete).not.toHaveBeenCalled();\n\n at toEqual (src/attachment-action-lifetime.test.tsx:60:112)\n","name":"C:\\Users\\Connor\\.codex\\worktrees\\direct-roadmap-integration\\Job tracker\\job-tracker-ui\\src\\attachment-action-lifetime.test.tsx","startTime":1794925221078,"status":"failed","summary":""}],"wasInterrupted":false} diff --git a/docs/ui-modernisation/evidence/attachment-preview-download/red.json.gz b/docs/ui-modernisation/evidence/attachment-preview-download/red.json.gz new file mode 100644 index 0000000000000000000000000000000000000000..dec90ca9fe2098491e7dc848f56f03899b967262 GIT binary patch literal 1991 zcmV;&2RQg2iwFP!000023hiCna@#f#eeYLb_+n{d-F&w?&5V;elU^s|I8UZK1Cfx$ z7y=jow5>_}4SnqY^-H=SDT=ZsSt4Z-NUaA)1aaAOc5$>3#pPFrMZ{*PpPKxf zD@-3-oHgr-!D1c~_8v2z>Mj?T+m2*7lmo7u?pFuCge#rAU-@JLw+-(;rBqQWVN{U6B}aX4e}k6#gc~nNu|w?-$e`>z3a3+JNk`` zz*CWieBrdP zQrH^|2~)D=^IJwa_FIR}_M9_q2P`0WA@O3!t50yKCl~?|_zE~mr>Y6!kpP@nZz_KJ z1#GL0*Qldb3;BeEi0Jk}ja=rk20Bg8Bh)}0m%Tz~=@baP(hV*{=tKxSLKpfiLhd|+ zTxVNP_*9Qq3wpHU9td3mY=*V-ofHQ&ggEp1{rzR;pg$50w1=E{|8>!KMn;Y>A5r>e;<8YX zn}FP+F%onQOiQE&1WhJIfe(Lyc?1H7w617}qZ(m#@O8j$xEGt6h$BspoGycPGR=nl zdJ=E81+rDXPxMlVmvp%aIoeq5Dt>qDX&pYnGo=TaTunOZ)womqVYeEe`fQ9LXx|XOBl%z@4*QTv`2Z*EDw|gW2htY!DG80mce3> z8x~2Zjjkwy$6R;VzA*~GF~}L?D*@ld##kAQp^mV9ORS2eN;iB+f2#aFq)sKVnCS-V zHbXfm<~YInw5dECW1V67rm!q$nl|3eMb}%_#8ehbomF=ZtlPlZ$*F)LW zZD5vGd_BI5;T01+jt<-SUDoa@MI;Irez`cn5;2YdHwCl#Foa#Vfx8-3Q;&iejHEr* zJG)t52*DWAXXd~55x)`)Q^~h9=vP5u4E2vw+=_@lC{FzH7>uO7%5Yy3>&C|V5C;2L zVbe02)p#$A!cgk%iTI)*3?km7%%&9i*5o#e?Y1`fZOLyQm~Cl>Qy7Jz)LR?&M&>y) zzFta`v)0TTl^WwaYLdGdHJ&~peh+)s)snwXAm%vW(H%{e^1l*}is{d`t^GTo1Qe5; zVD&C2j%3s2h|>M~;1Z=r2^I(=rmv$-YWR$M_aZscA7P4A%ltY3R7QCIYNU;P7qfqp zbj#a7c>|bb%BI*>i5^rPOiGAKbUO%Wu7DK{q(Xs26D}&G{~7R@;0~^(QP(LI1fb}H zKtTi51;$1VUD7@eEUkZPrYDL)*{}q`e@n(iWakvh%Wl0v{04gK=+Xbrk-Ep12>vBW zQQ6AXXpK;+bi%9}dUpDt6cSxD8&-Jm5Qn`^`ygLQ9HD>z`5Tq3x}Ma^Mny|;>!FXz zaqGsJCAsx$sx0@@rMZ&@mg%)jiEjP6oY=B|gucaZ`hg&)H!!B@fr?$%K-NIjYJPwz zzp6K{hZ@ z)zMF{$JCFFl@snSw5yu>kKQns*@UmrK|7r=9X#avF(D^mplxmHqo#)`m3puuu+l{& z=w-azM% Z3z#HC6vj_=NuE{m!+#D1N>deW008{+$jJZz literal 0 HcmV?d00001 diff --git a/docs/ui-modernisation/evidence/attachment-preview-download/red.txt b/docs/ui-modernisation/evidence/attachment-preview-download/red.txt new file mode 100644 index 00000000..ce7206dd --- /dev/null +++ b/docs/ui-modernisation/evidence/attachment-preview-download/red.txt @@ -0,0 +1,553 @@ + 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: + + 54 | const view = render(page()); + 55 | try { + > 56 | fireEvent.click(await screen.findByRole('button', { name: `${copy.attachmentsPreview}: ${file.fileName}` })); + | ^ + 57 | const dialog = await screen.findByRole('dialog'); + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + + 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:56:34) + + 54 | const view = render(page()); + 55 | try { + > 56 | fireEvent.click(await screen.findByRole('button', { name: `${copy.attachmentsPreview}: ${file.fileName}` })); + | ^ + 57 | const dialog = await screen.findByRole('dialog'); + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + + 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:56: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: + + 54 | const view = render(page()); + 55 | try { + > 56 | fireEvent.click(await screen.findByRole('button', { name: `${copy.attachmentsPreview}: ${file.fileName}` })); + | ^ + 57 | const dialog = await screen.findByRole('dialog'); + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + + 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:56:21 + + 54 | const view = render(page()); + 55 | try { + > 56 | fireEvent.click(await screen.findByRole('button', { name: `${copy.attachmentsPreview}: ${file.fileName}` })); + | ^ + 57 | const dialog = await screen.findByRole('dialog'); + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + + 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:56: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: + + 55 | try { + 56 | fireEvent.click(await screen.findByRole('button', { name: `${copy.attachmentsPreview}: ${file.fileName}` })); + > 57 | const dialog = await screen.findByRole('dialog'); + | ^ + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']); + + 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:57:33) + + 55 | try { + 56 | fireEvent.click(await screen.findByRole('button', { name: `${copy.attachmentsPreview}: ${file.fileName}` })); + > 57 | const dialog = await screen.findByRole('dialog'); + | ^ + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']); + + 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:57:33) + + 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: + + 55 | try { + 56 | fireEvent.click(await screen.findByRole('button', { name: `${copy.attachmentsPreview}: ${file.fileName}` })); + > 57 | const dialog = await screen.findByRole('dialog'); + | ^ + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']); + + 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:57:20 + + 55 | try { + 56 | fireEvent.click(await screen.findByRole('button', { name: `${copy.attachmentsPreview}: ${file.fileName}` })); + > 57 | const dialog = await screen.findByRole('dialog'); + | ^ + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']); + + 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:57:20 + + 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: + + 57 | const dialog = await screen.findByRole('dialog'); + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + > 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + | ^ + 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']); + 61 | expect(mockedApi.post).not.toHaveBeenCalled(); + 62 | expect(mockedApi.patch).not.toHaveBeenCalled(); + + 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 src/attachment-action-lifetime.test.tsx:59:18 + + 57 | const dialog = await screen.findByRole('dialog'); + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + > 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + | ^ + 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']); + 61 | expect(mockedApi.post).not.toHaveBeenCalled(); + 62 | expect(mockedApi.patch).not.toHaveBeenCalled(); + + 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 src/attachment-action-lifetime.test.tsx:59:18 + + 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: + + 57 | const dialog = await screen.findByRole('dialog'); + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + > 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + | ^ + 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']); + 61 | expect(mockedApi.post).not.toHaveBeenCalled(); + 62 | expect(mockedApi.patch).not.toHaveBeenCalled(); + + 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:59:5 + + 57 | const dialog = await screen.findByRole('dialog'); + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + > 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + | ^ + 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']); + 61 | expect(mockedApi.post).not.toHaveBeenCalled(); + 62 | expect(mockedApi.patch).not.toHaveBeenCalled(); + + 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:59: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: + + 54 | const view = render(page()); + 55 | try { + > 56 | fireEvent.click(await screen.findByRole('button', { name: `${copy.attachmentsPreview}: ${file.fileName}` })); + | ^ + 57 | const dialog = await screen.findByRole('dialog'); + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + + 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:56:34) + + 54 | const view = render(page()); + 55 | try { + > 56 | fireEvent.click(await screen.findByRole('button', { name: `${copy.attachmentsPreview}: ${file.fileName}` })); + | ^ + 57 | const dialog = await screen.findByRole('dialog'); + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + + 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:56: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: + + 54 | const view = render(page()); + 55 | try { + > 56 | fireEvent.click(await screen.findByRole('button', { name: `${copy.attachmentsPreview}: ${file.fileName}` })); + | ^ + 57 | const dialog = await screen.findByRole('dialog'); + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + + 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:56:21 + + 54 | const view = render(page()); + 55 | try { + > 56 | fireEvent.click(await screen.findByRole('button', { name: `${copy.attachmentsPreview}: ${file.fileName}` })); + | ^ + 57 | const dialog = await screen.findByRole('dialog'); + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + + 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:56: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: + + 55 | try { + 56 | fireEvent.click(await screen.findByRole('button', { name: `${copy.attachmentsPreview}: ${file.fileName}` })); + > 57 | const dialog = await screen.findByRole('dialog'); + | ^ + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']); + + 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:57:33) + + 55 | try { + 56 | fireEvent.click(await screen.findByRole('button', { name: `${copy.attachmentsPreview}: ${file.fileName}` })); + > 57 | const dialog = await screen.findByRole('dialog'); + | ^ + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']); + + 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:57:33) + + 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: + + 55 | try { + 56 | fireEvent.click(await screen.findByRole('button', { name: `${copy.attachmentsPreview}: ${file.fileName}` })); + > 57 | const dialog = await screen.findByRole('dialog'); + | ^ + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']); + + 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:57:20 + + 55 | try { + 56 | fireEvent.click(await screen.findByRole('button', { name: `${copy.attachmentsPreview}: ${file.fileName}` })); + > 57 | const dialog = await screen.findByRole('dialog'); + | ^ + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']); + + 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:57:20 + + 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: + + 57 | const dialog = await screen.findByRole('dialog'); + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + > 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + | ^ + 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']); + 61 | expect(mockedApi.post).not.toHaveBeenCalled(); + 62 | expect(mockedApi.patch).not.toHaveBeenCalled(); + + 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 src/attachment-action-lifetime.test.tsx:59:18 + + 57 | const dialog = await screen.findByRole('dialog'); + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + > 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + | ^ + 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']); + 61 | expect(mockedApi.post).not.toHaveBeenCalled(); + 62 | expect(mockedApi.patch).not.toHaveBeenCalled(); + + 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 src/attachment-action-lifetime.test.tsx:59:18 + + 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: + + 57 | const dialog = await screen.findByRole('dialog'); + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + > 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + | ^ + 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']); + 61 | expect(mockedApi.post).not.toHaveBeenCalled(); + 62 | expect(mockedApi.patch).not.toHaveBeenCalled(); + + 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:59:5 + + 57 | const dialog = await screen.findByRole('dialog'); + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + > 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + | ^ + 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']); + 61 | expect(mockedApi.post).not.toHaveBeenCalled(); + 62 | expect(mockedApi.patch).not.toHaveBeenCalled(); + + 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:59:5 + +FAIL src/attachment-action-lifetime.test.tsx + ● preview download keeps the attachment identity and filename (en) + + expect(received).toEqual(expected) // deep equality + + - Expected - 1 + + Received + 1 + + Array [ + "/attachments/download/7", + - "/attachments/download/7", + + "/attachments/download/0", + ] + + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + > 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']); + | ^ + 61 | expect(mockedApi.post).not.toHaveBeenCalled(); + 62 | expect(mockedApi.patch).not.toHaveBeenCalled(); + 63 | expect(mockedApi.delete).not.toHaveBeenCalled(); + + at toEqual (src/attachment-action-lifetime.test.tsx:60:112) + + ● preview download keeps the attachment identity and filename (nb) + + expect(received).toEqual(expected) // deep equality + + - Expected - 1 + + Received + 1 + + Array [ + "/attachments/download/7", + - "/attachments/download/7", + + "/attachments/download/0", + ] + + 58 | fireEvent.click(within(dialog).getByRole('button', { name: copy.attachmentsDownload })); + 59 | await waitFor(() => expect(downloads).toEqual([file.fileName])); + > 60 | expect(mockedApi.get.mock.calls.filter(([url]) => String(url).includes('/download/')).map(([url]) => url)).toEqual(['/attachments/download/7', '/attachments/download/7']); + | ^ + 61 | expect(mockedApi.post).not.toHaveBeenCalled(); + 62 | expect(mockedApi.patch).not.toHaveBeenCalled(); + 63 | expect(mockedApi.delete).not.toHaveBeenCalled(); + + at toEqual (src/attachment-action-lifetime.test.tsx:60:112) + +Test Suites: 1 failed, 1 total +Tests: 2 failed, 60 skipped, 62 total +Snapshots: 0 total +Time: 3.825 s +Ran all test suites matching src/attachment-action-lifetime.test.tsx with tests matching "preview download keeps". +Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\attachment-preview-download-red.json diff --git a/docs/ui-modernisation/evidence/attachment-preview-download/red.txt.gz b/docs/ui-modernisation/evidence/attachment-preview-download/red.txt.gz new file mode 100644 index 0000000000000000000000000000000000000000..79dcdb0d22c134224a8e1ad20b44ab9ecdfacbdc GIT binary patch literal 1771 zcmV2#7zoM}JA zZ-;ak8KG0|PB@I?-_Vc!fBhxhlf;XOi2;iy*sBj9?qzT9W$)SD;}*abp%MYNFPID; zKLULAp&f^=_C*L<0Q34RbUA3h$EAV`rod%Ez&&Wi8gyrrv;Xe30wy_xLWAT{z+5bJ z;p+~xS$9~>hF`EYoSt)~?O5?wnDrsav5KeQW0M_UfyP{D`vC_bfrqSxZxckIjmd_L zDW{+{0L8WT!!szfNAwB~To%&0zXqa(#Rr(AWz4TkJHMMIu=8#IES400qxQe4XcT#nQCpjJ=P z0UMUQ+2^6Q-N1Ld7Q0}+2IWf5L%Z#V-iyI|oFl7%L#{RfOkzz&}Ua)s~l4 zRz+Kj=BJni*2in3cQhh8NxCVekj}LvreVCO?Gv}d-R?L6tWbFTq$j*M;Hvzyk%O{X zw54=ums_zPcx4=b9y&%`tR^gByiC)?Bk**oc5{jcCv{P{^^@Yet&Rm@m!k3aOdJ)rx)b@^3-JT*9N#Sy(Y##RQ zH*a4yPnvK3v~l``)Hn{Vp6Yi>+da?TY>)SOAR@C=Obd<5wo|PZb7HsdRBKbDViXUv z`J7yvqQ4}IA}*)r=o>9XvE<3Q32#=7H96tT$}uJfe90AC^1zi9VaiJIBrhz<0Y}J6BrA~&Loy5(fv(|B zxm*9*EX-#Q-bL`=n&xkT?X6n5?^-e`#t%R-zD?#f8fg+sXc9N72JqcCoxPku ze=Z~c_`awK=~Lg#h-L(O!tHWzKk^OFw)th7b*~HojUZ%wjAd|?G-JZGz165HH}9{<_d}b>_^-_3KN3n8ZCvcw-fyhW zU*M$wl1PR%MWQ;B1k-Nk78;~f(P;#oM$l=*tka0OA%EAYG$z#jb@{){YM|>|u(i&R zbw{{b9;)a_fQ|&{NZ>vm2`m9HWK)t&d1srF%t$gLAFOYF*Qt@Ne)D!f>N%+5(Q z2{!3SbmNfX($Muo@`RHooIK$amxkif(Dhq#dXv+eoZb|dhT_tYl}K@E$S|b1G!&PH z6k~EXQ(PLlQAcrU=z1NgIpqH)|2O%+DJ~7grJ?Jk6qknl@#K#ue>}ydAuF2V(vaay zhBL*bp|~_;IFR8$acSrdA>ARQxHNR3kWM4$G=feeC@u}frJ;+jbRF1zy4$1N~W2A|M?pYg5=x`hD!^&oJT5Am&R1U z_wdu#17M+-Xdgy;!Q$cQAA{NAk=*5epL^rgon~MPl*`~Dao{E$i4CikpqZ61@0B$1 zDZI}}nfHk+NBdH;0el>b^2Q7i*?2Z2e|wpyv&(D_%K#ir?4E0S#<#cbO3xf|4f1`C zzxy_u)!&*`-{S$-e7=1;n~C}VKULp!DwS#`=6BvO!WL~9v|-SO@h~=w55{wG5c`zSi8hr5tEFhX-0n zcE%6iNnsR4b-0g>_W7aay$DIU>hN5&&RJKN0)etrN;KBP2_~~ literal 0 HcmV?d00001 diff --git a/docs/ui-modernisation/evidence/attachment-preview-download/typecheck.txt b/docs/ui-modernisation/evidence/attachment-preview-download/typecheck.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/ui-modernisation/evidence/attachment-preview-download/typecheck.txt.gz b/docs/ui-modernisation/evidence/attachment-preview-download/typecheck.txt.gz new file mode 100644 index 0000000000000000000000000000000000000000..ae211a2cb77f6830fe3b183a87963fc514435a29 GIT binary patch literal 20 Scmb2|=3oE;CN5?$4I%&z1pvYT literal 0 HcmV?d00001