Compare commits

..

4 Commits

548 changed files with 173 additions and 26551 deletions
@@ -12,20 +12,8 @@ namespace JobTrackerApi.Tests;
public sealed class SavedJobSearchAlertTests
{
[Theory]
[InlineData("nb-NO", true)]
[InlineData("nb", true)]
[InlineData("no", true)]
[InlineData(" NB-nO ", true)]
[InlineData(" nB ", true)]
[InlineData(" NO ", true)]
[InlineData("en", false)]
[InlineData(" EN ", false)]
[InlineData(null, false)]
[InlineData("", false)]
[InlineData("sv-SE", false)]
[InlineData("nn-NO", false)]
public async Task Worker_uses_owner_language_for_later_results(string? language, bool norwegian)
[Fact]
public async Task Worker_establishes_baseline_then_notifies_only_for_later_results()
{
var clock = new MutableTimeProvider(new DateTimeOffset(2026, 8, 31, 8, 0, 0, TimeSpan.Zero));
var discovery = new FakeDiscovery(clock, "job-1");
@@ -51,9 +39,6 @@ public sealed class SavedJobSearchAlertTests
await using (var scope = provider.CreateAsyncScope())
{
var db = scope.ServiceProvider.GetRequiredService<JobTrackerContext>();
db.Users.AddRange(
new ApplicationUser { Id = "owner-without-jobs", UiLanguage = language },
new ApplicationUser { Id = "other-owner", UiLanguage = norwegian ? "en" : "nb-NO" });
db.SavedJobSearches.Add(new SavedJobSearch
{
OwnerUserId = "owner-without-jobs",
@@ -85,43 +70,13 @@ public sealed class SavedJobSearchAlertTests
discovery.Ids.Add("job-2");
Assert.Equal(new BackgroundWorkerRunResult(true, 1, 1, 0), await worker.RunOnceAsync(default));
await using (var verification = provider.CreateAsyncScope())
{
var notification = Assert.Single(await verification.ServiceProvider.GetRequiredService<JobTrackerContext>()
.UserNotifications.IgnoreQueryFilters().AsNoTracking().ToListAsync());
Assert.Equal("owner-without-jobs", notification.OwnerUserId);
Assert.Equal("saved_search_results", notification.Kind);
Assert.Equal("/discover", notification.LinkPath);
Assert.Equal(norwegian ? "Ny stilling funnet" : "New vacancy found", notification.Title);
Assert.Equal(norwegian
? "Det lagrede søket «Backend Oslo» fant en ny stilling."
: "Your saved search ‘Backend Oslo’ found a new vacancy.", notification.Message);
}
discovery.Ids.AddRange(["job-3", "job-4"]);
Assert.Equal(new BackgroundWorkerRunResult(true, 1, 1, 0), await worker.RunOnceAsync(default));
await using (var verification = provider.CreateAsyncScope())
Assert.Single(await verification.ServiceProvider.GetRequiredService<JobTrackerContext>()
.UserNotifications.IgnoreQueryFilters().ToListAsync());
clock.SetUtcNow(clock.GetUtcNow().AddHours(7));
Assert.Equal(new BackgroundWorkerRunResult(true, 1, 1, 0), await worker.RunOnceAsync(default));
clock.SetUtcNow(clock.GetUtcNow().AddHours(7));
Assert.Equal(new BackgroundWorkerRunResult(true, 1, 1, 0), await worker.RunOnceAsync(default));
await using (var verification = provider.CreateAsyncScope())
{
var notifications = await verification.ServiceProvider.GetRequiredService<JobTrackerContext>()
.UserNotifications.IgnoreQueryFilters().OrderBy(item => item.CreatedAtUtc).ToListAsync();
Assert.Equal(2, notifications.Count);
var notification = notifications[1];
Assert.Equal("owner-without-jobs", notification.OwnerUserId);
Assert.Equal("saved_search_results", notification.Kind);
Assert.Equal("/discover", notification.LinkPath);
Assert.Equal(norwegian ? "2 nye stillinger funnet" : "2 new vacancies found", notification.Title);
Assert.Equal(norwegian
? "Det lagrede søket «Backend Oslo» fant 2 nye stillinger."
: "Your saved search ‘Backend Oslo’ found 2 new vacancies.", notification.Message);
}
await using var verification = provider.CreateAsyncScope();
var notification = Assert.Single(await verification.ServiceProvider.GetRequiredService<JobTrackerContext>()
.UserNotifications.IgnoreQueryFilters().AsNoTracking().ToListAsync());
Assert.Equal("owner-without-jobs", notification.OwnerUserId);
Assert.Equal("saved_search_results", notification.Kind);
Assert.Equal("/discover", notification.LinkPath);
Assert.Contains("Backend Oslo", notification.Message);
}
private sealed class FakeDiscovery(MutableTimeProvider clock, params string[] ids) : IJobDiscoverySearchService
@@ -44,9 +44,10 @@ public sealed class SavedJobSearchAlertHostedService(
var runner = services.GetRequiredService<SavedJobSearchRunner>();
var now = timeProvider.GetUtcNow();
var dueBefore = now - GetInterval();
var language = (await db.Users.AsNoTracking().Where(user => user.Id == db.CurrentUserId)
.Select(user => user.UiLanguage).FirstOrDefaultAsync(cancellationToken))?.Trim();
var useNorwegian = language?.ToLowerInvariant() is "nb" or "nb-no" or "no";
var useNorwegian = string.Equals(
await db.Users.AsNoTracking().Where(user => user.Id == db.CurrentUserId).Select(user => user.UiLanguage).FirstOrDefaultAsync(cancellationToken),
"nb",
StringComparison.OrdinalIgnoreCase);
var searches = await db.SavedJobSearches.Include(search => search.Results)
.Where(search => search.IsActive)
.OrderBy(search => search.Id)
@@ -1,19 +0,0 @@
# Pending Admin confirmation language and users-read continuity
17 November 2026. Source `4e224151db2c8208f7511def72b957784eacbf73` on `codex/a3-ui-10`, based on `07fbd5f7` (now published/ref-verified after Git recovered).
Self/other-user demotion and account-deletion confirmations opt into the existing live translation metadata. Account names remain literal, escaped interpolation data. The users resource now has a language-independent fallback input; the Admin presenter resolves its empty fallback during rendering. This removes the locale-triggered users GET and translates pending/already-visible fallback failures while retaining entered form data and structured server messages/error flags. The shared resource hook is unchanged.
Preserved: session/mount guards, final-admin restrictions, explicit confirmations, current-user warning, exact account deletion header, role payloads, queued202 wording, create admission/draft handling, focus and pending decisions. No actual roles, accounts, MFA factors or server data were changed; all writes are mocked.
## Evidence
- Original16 stale-confirmation cases FAILED across desktop/mobile, EN/NB and self/other-user actions.
- After copy migration, those16 reached the no-extra-read assertion and FAILED on the pre-existing language-triggered GET; intermediate24 pass/16 fail receipt retained. A requested nonexistent presentation test filename was not counted as a suite.
- Four additional pending/already-visible read-failure/draft cases FAILED before the resource-input fix. This red run used the intermediate metadata source; the read dependency was unchanged from `07fbd5f7`.
- Final44 cases/two actual suites PASSED (Admin34 plus shared contract10); earlier40/24 overlap. Non-incremental project TypeScript, two-file scoped lint and diff check PASSED.
- Native outputs, deterministic gzip and source-at-commit hashes: `evidence/admin-dialog/SOURCE_RECEIPTS.json`. AST refresh is queued after the concurrent CV worker returns the test/source lane; do not claim it completed yet.
No build/browser/native-device, real administration, formal security, whole A3 or European-locale acceptance. The prior Next security build qualification remains open. Rollback: revert only this bounded source commit; no schema/data migration. Other Admin recovery/provider and protected factor-management decisions remain separate.
Follow-up: queued AST refresh completed19,305 nodes/47,429 edges alongside the CV reload/discard/restore package. Source/evidence were subsequently published/ref-verified through `a879fbcb`; the earlier queued wording describes the initial checkpoint only.
@@ -1,9 +0,0 @@
# Attachment rename/delete lifetime
17 November 2026. Source `e93f1942` on `codex/a3-ui-10`, based on published CV evidence `48634aaf`.
Rename/delete capture existing session context plus mounted application generation. They check again after confirmation/prompt and the mutation response, before feedback and refresh. Old confirmations cannot issue writes after unmount, job change or session invalidation. Completed server work is not reversed. Current-language success/failure copy comes from the existing translation ref. Payloads, trim/no-change rules, file ownership endpoints and confirmations are retained.
Ten original regressions FAILED: six obsolete-decision writes and four delayed wrong-language outcomes. Final49 cases/four suites PASSED; earlier41 overlaps49. Eight added late-response/unmount/job-change cases passed, but were not part of the original red run. Project TypeScript, scoped ESLint, diff check and AST update PASSED (19,285 nodes/47,413 edges). Source/native gzip evidence in `evidence/attachment-action/`.
No real file mutation or session switch was performed; tests use real UI providers and mocked API/session boundaries. Backend tenant/security, native/browser/device, full attachment and final phase acceptance remain open. Initial and post-mutation list reads can still replace a changed application; six separately reproduced follow-up cases remain outside this source commit. Other upload/metadata/download/preview lifetimes remain unqualified. Rollback: revert this bounded source commit, no data migration.
@@ -1,11 +0,0 @@
# Attachment download/preview completion context
17 November 2026. Source `0ed7a6cd` on `codex/a3-ui-10`, based on `13769a19`.
The shared blob reader checks the captured mounted job/session context before creating an object URL. Download/preview actions capture that context before the request; obsolete failures cannot notify, and current failures use current-language copy. Existing responseType, filenames, preview type, download expiry and current preview cleanup are retained. No server/file data is changed.
Fourteen corrected regressions FAILED on original `13769a19`: download/preview success/failure after unmount, job change or session invalidation, plus current-language failures. The first red run also had test cleanup errors from old download expiry timers after URL mocks were restored. The fixture now clears only its recorded5000ms timers before restoring mocks. Original source was temporarily loaded from Git for the corrected red run and fixed source restored byte-for-byte in finally. Both raw runs retained; do not count the first as clean qualification.
Final69 cases/four suites PASSED; earlier69 overlaps. TypeScript, scoped ESLint, diff check and AST update PASSED (19,289 nodes/47,415 edges). Native/gzip/source evidence: `evidence/attachment-blob/SOURCE_RECEIPTS.json`.
Existing current PDF preview cases passed. Tests use synthetic blob data/mocked API/session, no real private download or provider access. Same-context competing previews, already-open preview on job change, upload/metadata completion and final integrated/browser/device/security/release acceptance remain separate. Prior Next build remains FAILED. Rollback: revert this source commit; no data migration.
@@ -1,9 +0,0 @@
# Visible attachment context reset
17 November 2026. Source `2affeaca68fa0cf191f1c57edb7cce2b0ac36e5b` on `codex/a3-ui-10`, following local source `a877b97d`/evidence `c354e38b`. Publication remains pending afterHTTP502; last verified remote A3 was `13769a19`.
On application change, clear previous attachment rows/actions/error and close/clear the previous preview. Existing URL-effect cleanup releases the old preview URL. Current application reads restore their own rows as before; upload state and session generation protections remain. This prevents a new application's controls from acting on a retained previous file while its list is pending.
Two original regressions FAILED; final89 cases/four suites PASSED (87 overlaps). TypeScript, scoped lint, diff check and AST update PASSED (19,294 nodes/47,419 edges). Native/gzip/source evidence: `evidence/attachment-reset/SOURCE_RECEIPTS.json`. Real UI providers, mocked API/session and synthetic blobs only; no real file deletion or native browser/device/full security/release acceptance.
Same-application competing preview ordering has separate reproduced follow-up tests. Existing Next build and final A3/I18N/security/release gates remain open. Rollback: revert only this source commit; no data/schema change.
@@ -1,11 +0,0 @@
# Attachment dialog language continuity
17 November 2026. Source `19c3ebf1` on `codex/a3-ui-10`, after published dialog contract `67ca1562`.
Attachment rename/delete now opt into live dialog translation metadata. Filenames stay literal interpolation data and the rename default/draft stays user input. Language changes no longer reload the attachment list: one existing read stays one rather than two. Its delayed failure uses the current translation through the existing ref pattern. Existing upload, file purpose/AI controls, preview/download, delete/rename payloads and confirmation outcome are unchanged.
Verification: four real caller EN/NB dialog cases first FAILED on snapshot copy. After metadata migration, the same four exposed the pre-existing extra-read dependency; that intermediate failure is retained. Final31 cases/three suites PASSED, including two added pending-read/current-language failure cases. Earlier29-case and25-pass/four-failure receipts overlap; do not add them. Project TypeScript, scoped two-file ESLint and diff check PASSED.
Tests use synthetic Unicode/markup filenames, real providers and mocked API; they cancel both actions, checking no PATCH/DELETE, preserved input selection and no additional reads. Generic dialog acceptance is covered by the preceding contract package. No real file mutation/provider, native browser/device, final visual/security/release or complete attachment lifetime acceptance is claimed. Post-confirmation mutation feedback/lifetime and already-visible error language changes remain separate work.
Native outputs and exact gzip copies are in `evidence/attachment-dialog/`; `SOURCE_RECEIPTS.json` binds immutable source and outputs. Rollback: revert this source commit only, without data/schema migration. Next eligible: CV library explicit dialog copy, then remaining attachment action lifetime/current-language completion checks.
@@ -1,9 +0,0 @@
# Attachment upload/metadata completion
17 November 2026. Source `a877b97d` on `codex/a3-ui-10`, following local verified blob checkpoint `6c8a2f67` (push/ref readback failedHTTP502; no publication claim).
Upload and file-purpose/AI metadata changes capture the existing mounted job/session context before requests. Obsolete success/failure cannot mutate list state, refresh or notify; active feedback uses current language. A new application resets its upload indicator, and a previous upload's finally cannot clear the current upload indicator. Already-accepted server work is not reversed. Existing FormData files/jobId/header, metadata purpose/useForAi derivation, count/plural rules and endpoints are preserved.
Sixteen original regressions FAILED. Final87 cases/four suites PASSED (85 overlaps), including two added old/new upload busy-state controls; these controls were not part of the original red run. Project TypeScript, scoped ESLint, diff check and AST update PASSED (19,292 nodes/47,418 edges). Native/gzip/source bindings: `evidence/attachment-mutation/SOURCE_RECEIPTS.json`.
Mocked API/session/synthetic files only; no real uploads, tenant operations, provider, native browser, integrated security or release qualification. Two additional tests now reproduce retained rows and an open preview across job changes; that reset is a separate follow-up. Same-context competing reads/previews remain unqualified. Revert only this source commit to roll back; no data/schema change. Final A3/I18N/build/security/release gates remain open.
@@ -1,9 +0,0 @@
# Attachment preview request ordering
17 November 2026. Source `7830396a` on `codex/a3-ui-10`, based on local evidence `3b661d12`. Publication is pending afterHTTP502; last independently verified remote A3 is `13769a19`.
Preview actions capture a monotonically increasing request number alongside the existing session/application guard. An earlier response cannot create an obsolete URL, replace the latest selected file or notify over it. Downloads retain independent action semantics. Current preview URL cleanup, type/filename and display ownership remain unchanged.
Two original success/failure regressions FAILED; final91 cases/four suites PASSED (89/87/69/55/49 overlap this latest attachment selection). Project TypeScript, scoped ESLint, diff check and AST refresh PASSED (19,296 nodes/47,420 edges). Native/gzip/source evidence: `evidence/attachment-preview-order/SOURCE_RECEIPTS.json`.
Tests use real UI providers with mocked API/session and synthetic files; no real storage/provider/device/browser/integrated security/release qualification. No performance timing claim from request-count/ordering assertions. Same-context list refresh ordering, metadata write ordering and broader connected workflows remain separate. Prior Next build remains FAILED; formal A3/I18N/Phase10/security/release decisions remain open. Rollback: revert only this source commit; no schema/data migration.
@@ -1,9 +0,0 @@
# Attachment list read context
17 November 2026. Source `cddcdedf` on `codex/a3-ui-10`, based on `745ec3ea`.
Initial/retry and post-rename/delete list reads now use the existing mounted application/session guard. Departed reads cannot replace the next application's items, errors or loading state. The guard is memoised for the current job, preserving the no-extra-read language-switch fix. Endpoints, list data, write payloads and canonical file ownership are unchanged.
Six regressions first FAILED: old initial and post-rename/delete success/failure replaced the next application's list/error state. Final55 cases/four suites PASSED; earlier49 and shared cases overlap55. Project TypeScript, scoped lint, diff check and AST update PASSED (19,287 nodes/47,414 edges). Exact source/native gzip evidence: `evidence/attachment-read/SOURCE_RECEIPTS.json`.
This is mocked API/UI/session evidence, not real provider/storage/browser/session/security acceptance. Same-job overlapping refresh ordering, upload/metadata and download/preview completions remain separate work. The Next build and final A3/I18N/security/release gates remain open. Rollback: revert only this source commit; no migration/data rollback needed.
@@ -1,13 +0,0 @@
# Career Profile history restore lifetime
16 November 2026. Source `fb3936cb`, after independent mail source `2043f992`, branch `codex/a3-ui-10`.
Restore/history completion now captures the existing session cookie/context/invalidation contract and mounted generation. A stale restore response cannot apply state, start history refresh or notify a different workflow. History reads likewise discard stale completions. Success uses the existing current-language translation ref. The local-provider, dirty-profile, mutation-pending and expected revision guards remain; canonical ownership, import comparisons, history and revision/conflict payloads are preserved. No schema, parser/import engine, renderer, physical PDF or canonical writer was replaced.
PASSED:56 distinct cases across career-import-review23, career-editor and career-workspace-page33. Zero failed/skipped in final run. Initial seven tests failed, but three mounted assertions matched existing page alerts as well as toasts; the intermediate misleadingly named green receipt is20 pass/3 harness assertion failures. Assertions were corrected to translated feedback. A separate corrected red run against original HEAD Career source reproduced all seven failures (16 filtered cases). Fixed source was restored byte-for-byte in finally and its hashes independently checked by root against the worker report. The final56-case affected run passed; earlier23-case counts overlap56.
Root reviewed the source/tests and final native JSON, checked both source hashes, and ran shared project TypeScript and scoped lint on four changed mail/Career files: PASSED after correcting root's unrelated Gmail test query option. Whitespace check passed. AST refresh PASSED19,237 nodes/47,299 edges. Results are fixture-based component/API-helper qualification, not real authentication/database or integrated security testing.
No new export/browser run: prior Next build remains FAILED and advisory qualification open. Other Career mutations/import lifetime, original-user-profile fallback, physical rendering, native language/device/AT and final A3/security/release gates remain separate. Deferred CV-import engine overhaul remains excluded.
Source, canonical and exact gzip receipts: [SOURCE_RECEIPTS.json](evidence/career-restore-lifetime/SOURCE_RECEIPTS.json).
@@ -1,11 +0,0 @@
# Confirmed correspondence deletion lifetime
16 November 2026. Source `00d1e0f1`, branch `codex/a3-ui-10`, after `2d9836b6`.
A confirmation surviving navigation could still send DELETE for the previous job's message. Late DELETE/read success and failure could notify a departed workflow, and feedback used the old language. The existing job/mount generation now guards before confirmation, after it, and after DELETE and its read refresh. Existing current-language ref supplies success and failure feedback. The confirmation, exact DELETE URL and accepted-current refresh behaviour remain.
RED:10 failed/one cancellation control passed,26 filtered-out cases. GREEN:37/37 Gmail suite; final affected101 cases across five mail suites passed with zero skips/failures. Earlier90 and37 overlap101. Project TypeScript, scoped two-file lint, diff whitespace and actual integration AST update passed (19,242 nodes/47,303 edges). Root reviewed source/tests and native JSON; no live message deletion occurred. Existing test fixtures exercise job switch, unmount, response/refresh delays, cancellation and locale change through real confirmation UI with mocked transport.
This does not cancel or undo a DELETE already accepted by the server. Session/backend tenant/revision enforcement, real providers and native-browser/assistive technology qualification remain separate. No new build/browser execution: preceding build remains failed on unqualified Next advisory. Relink/unlink/disconnect and standalone status/choice paths are outside this checkpoint. All final A3/Phase10/security/release gates remain open.
Exact native logs are preserved as gzip; .log bytes use .txt artifact names to follow repository evidence conventions. [Source and native bindings](evidence/correspondence-delete-lifetime/SOURCE_RECEIPTS.json).
@@ -1,9 +0,0 @@
# CV library pending dialog copy
17 November 2026. Source `ba7d1a64f494861585bbf3d25f8d6c6f694fdf8d` on `codex/a3-ui-10`, based on `a7e0ebdd`.
CV rename/delete confirmations opt into the existing live dialog metadata. Four real-provider EN/NB regressions first failed; final133 cases/four suites PASSED (CV library39, shared contract and existing document controls/deep-link coverage). These are scoped cases, not full PDF/document workflow acceptance. Project TypeScript, two-file scoped ESLint, diff check and AST update PASSED (19,277 nodes/47,380 edges).
Preserved: literal CV name, Unicode rename draft/selection/focus, pending decision, no additional reads on language switch, cancellation without write/navigation, original session/mount/busy/revision checks and canonical/profile/rendering ownership. Existing fallback name for an absent variant is still captured at action start; actual listed variant names remain literal data. No renderer, template, generated-content language or schema change.
Evidence and native gzip bindings: `evidence/cv-dialog/SOURCE_RECEIPTS.json`. Revert this source commit to roll back; no data migration. Native/browser/device/physical PDF and final A3/I18N/security/release acceptance remain open, and the prior Next build remains FAILED. The new independent attachment lifetime test is not included in this source commit or its133-case claim.
@@ -1,13 +0,0 @@
# CV reload, discard and history-restore dialog continuity
17 November 2026. Source `bdd13420c60cc624664baa96c1c003bc8ed5675e` on `codex/a3-ui-10`, following Admin source `4e224151`/evidence `866b0dc1`.
Conflict reload, dirty-navigation discard and history restore use existing live translation descriptors. The restore version remains a numeric interpolation parameter. No editor epoch, save queue/revision, autosave, document content, navigation blocker, server-version or mutation callback changed. Custom section/entry/built-in removal dialogs remain separate.
Six original EN/NB regressions FAILED on stale titles. Final corrected full deep-link suite84 cases PASSED, no skips/failures; focused6 overlaps84 and is not added. Tests retain the same pending dialog and draft/router state while switching, assert no extra read/write/restore on switch/cancel, and confirm one original-version restore with expectedVersion4 after explicit acceptance. Existing conflict/session/canonical/editor regressions also passed in that suite.
The worker caught a default-encoding rewrite of existing non-ASCII test literals. Its superseded full run59 pass/25 fail is preserved and excluded from qualification. Original literals were restored exactly; root reviewed final diff (test91 additions/no deletions; source seven descriptor replacements), independently matched raw hashes and parsed final native84/0/0 receipt. Non-incremental TypeScript, four-file scoped lint and diff check PASSED. Final source raw hashes match the worker handoff; native logs are retained exactly as gzip, with `.log` bytes copied under `.txt` names and origin recorded.
AST refresh after both packages PASSED19,305 nodes/47,429 edges. This also closes the queued Admin graph refresh; it is not a test execution or full application qualification. Evidence: `evidence/cv-editor-dialog/SOURCE_RECEIPTS.json`.
Real editor/router/providers with controlled API fixtures only; no actual CV import engine, model/provider, PDF rendering, native-device, full A3/I18N/security or release acceptance. Prior Next build remains FAILED pending advisory qualification. Rollback: revert this bounded source commit only; no data/schema migration. Formal European locale expansion remains separate from these EN/NB foundation fixes.
@@ -1,9 +0,0 @@
# Custom CV entry confirmation language
17 November 2026. Source `29a5223c48e0c12119055569d5874d62518e7f99` on `codex/a3-ui-10`, after published `a879fbcb`.
Custom-entry deletion now uses the existing live descriptors for message/title/action. The entry filter, focus and save callbacks are byte-unchanged. Two EN/NB caller cases preserve both entries and read/write counts while pending; cancellation restores focus and content, and later acceptance removes the selected entry, focuses the survivor and saves once with expectedVersion4 and unchanged custom title/content.
Initial RED had a fixture error: the custom section omitted contentType entries. Corrected `red-confirmation` reproduced both stale-title failures against original source; initial native output retained as superseded. Final full editor suite86 PASSED/0 failed/0 skipped; focused2 and previous84 overlap86 and are not added. Root reviewed44 test additions/no deletions and one source-line replacement, matched exact raw file hashes and parsed native86/0/0. Non-incremental TypeScript, scoped lint, diff check and AST update PASSED19,307 nodes/47,430 edges.
Source/native gzip bindings: `evidence/cv-editor-entry-dialog/SOURCE_RECEIPTS.json`; original `.log` bytes retained under `.txt` with origin recorded. No live API/provider/model/import/physical PDF, native browser/device, full A3/I18N/security or release qualification. Prior Next build remains FAILED. Remaining section-removal dialogs include translated fallback parameters and need a separate compatible solution; literal titles must remain literal. Rollback: revert this source commit only; no data/schema migration.
@@ -1,22 +0,0 @@
# CV library action lifetime
11 November 2026. Source commit `de2fb452`, based on `cef45404`, branch `codex/a3-ui-10`.
The library allowed a create response to navigate after unmount and a PDF response to trigger a download after leaving or session invalidation. Confirmed delete and a rename read could also continue into a write after session loss. Duplicate completion could start another read and announce success in the stale context.
Reused the existing session-boundary cookie/context/invalidation functions and the BackupCard mount-generation pattern. Guarded profile-outline completion, create navigation, duplicate reload/feedback, deletion confirmation/completion, rename prompt/read/write completion, PDF download and asynchronous error decoding. Existing action locking, focus, drafts, current-language feedback, revision payloads and confirmations remain. No JSX, route, schema, canonical profile, renderer or PDF style changes.
## Verification
- RED: seven new deferred-response cases failed on the original source; 24 other library cases were filtered out. The first wrapper had environment-assignment errors before Jest; Jest still executed and produced the seven expected assertion failures. Its raw receipt is retained, not presented as a clean command execution.
- GREEN: 85 distinct cases across five suites passed, no skips: CV library 35, CV API helpers 15, session boundary 15, job-export lifetime 16, backup lifetime four. This includes 11 added library cases. The earlier 31-case library pass overlaps this result.
- TypeScript `tsc --noEmit --incremental false`: exit 0. Scoped ESLint on the two changed files: exit 0. `git diff --check`: passed.
- Tests use real React/MUI dialogs with mocked API responses and controlled boundary signals. Existing session-boundary suite checks the actual boundary implementation separately. Active PDF test uses synthetic bytes and observes filename and URL revocation.
## Limits and preservation
No fresh export build/native browser journey, real API/session/cookie-switch integration, physical PDF or accessibility acceptance is claimed. The previous export is stale for this frontend change. No cancellation or rollback of an already accepted server write is promised; stale completions are discarded. Initial library reads remain owned by the existing useViewResource/API path, which is outside this fix. All final A3, security, Phase 10 and release gates remain open. AttachmentStorage destination-ownership race remains source-backed and unproven; it was not changed.
Evidence is under [cv-library-lifetime](evidence/cv-library-lifetime/SOURCE_RECEIPTS.json). Normalised source hashes and raw receipt hashes bind this bounded result.
AST graph refresh PASSED on an exact 1,003-file tracked-code snapshot on E: (E:/Storage/Projects/Active/temp docs/jobjakt-local-build/a3-cv-library-source). SOURCE_MANIFEST.json binds files to source commit de2fb452; 10,345 nodes and 36,111 edges. 51 no-symbol warnings retained. Code-only snapshot excludes documentation. Stale generated integration graph: all 2,721 files (97,063,540 bytes) preserved and SHA256-verified on E before replacing its C directory with a junction; no tracked source or evidence removed.
@@ -1,11 +0,0 @@
# Live default confirmation and prompt labels
16 November 2026. Bounded EN/NB maintenance source `121627ff`, branch `codex/a3-ui-10`.
Both providers keep omitted titles/action labels omitted in state and resolve existing default keys during rendering. An open dialog now follows EN↔NB changes without resetting its promise, focus, input or selection. Explicit caller strings, including empty values, remain verbatim. No API, catalogue, caller, resolver, destructive/close or prompt-length contract changed.
RED:four default drift failures and four explicit/empty literal controls passed; six other provider cases filtered. Intermediate16 pass/four failures were test setup: fireEvent.click did not focus the opener, so the existing modal correctly restored the body. Tests now focus the opener before opening; no production focus change was made. Final20 provider/modal/flow cases passed. Root affected143 cases across nine suites (including current CV/mail/backup/Career-evidence callers), project TypeScript, four-file scoped lint and whitespace check passed. Earlier20 overlaps143. Root independently matched the worker's exact four source/test hashes. AST graph update passed19,255 nodes/47,326 edges.
This does not make explicit t(...) snapshot strings reactive. The separately planned opt-in key/params contract is tracked in DIALOG_TEXT_CONTRACT.md. Formal I18N stage/new-locale, actual browser/device/AT/native-language and final A3/security/release acceptance remain open; Next build is still FAILED pending advisory qualification. Source facts, generated document language, RD21 and canonical profile ownership are untouched.
Native logs use .txt artifact names and exact gzip copies. [Source/canonical/native bindings](evidence/dialog-default-locale/SOURCE_RECEIPTS.json).
@@ -1,31 +0,0 @@
# Live dialog text implementation plan
> For agentic workers: implement through the existing direct-chat subagent workflow, with explicit file ownership and test-first verification. No backlog controller or replacement runner is involved.
**Goal:** keep opted-in EN/NB confirmation and prompt copy current when language changes, preserving pending actions, literal data and drafts.
**Architecture:** use an optional `{ key, params }` representation alongside existing literal strings. Resolve it during provider rendering through the existing `TranslationKey`, catalogue and interpolation. This is the implementation team's delegated compatibility choice; formal I18N stage and locale-publication acceptance remain open.
**Tech stack:** existing React/TypeScript, MUI, I18nProvider and Jest. No new dependencies or configuration.
**Spec:** owner continuous directive; `E:/Storage/Projects/Active/temp docs/final/I18N/03_I18N_02_FRONTEND_UI.md` tasks2,3,6; master stage/publication gates remain. Root's read-only source review confirmed no mandatory separate approval for bounded compatible EN/NB maintenance.
## Contract and file ownership
- `src/dialogText.ts`: `DialogText = string | { key: TranslationKey; params?: TranslationParams }`; one shared resolver. Literal strings, including empty strings and key-looking user data, remain verbatim. Optional metadata uses current `t`; absent I18n context uses the English catalogue and the existing interpolation function.
- `src/i18n/I18nProvider.tsx`: export existing interpolation/parameter types for reuse; preserve their implementation and UI/job/generated-content language separation.
- `src/confirm.tsx`, `src/prompt.tsx`, `src/dialogs.ts`: widen only message/title/action-label inputs to DialogText and resolve at render. Preserve omitted defaults, promise types, focus/IDs, destructive flags, Escape/backdrop behaviour, prompt input/selection, max length and legacy callers. No reverse lookup of translated strings.
- First caller: only Correspondence's existing delete confirmation message/title/confirm label. Values and current-job guards remain unchanged. Other caller migrations are separate maintenance packages.
- Root owns Correspondence and its test; worker owns shared provider/type/resolver files and provider tests. Neither changes the other's scope or Git index. Root serialises source integration, checks and graph updates.
## Execution and verification
- [x] Add EN→NB and NB→EN regressions for an already-open real correspondence confirmation; reproduce old snapshot text before implementation.
- [x] Add contract tests covering literals/empty strings, opted-in labels/message, variable0/Unicode/plain-text escaping, missing context English fallback, pending resolver, prompt draft/focus and one accept/cancel result.
- [x] Implement the smallest shared resolver and optional types, then migrate the one caller family. Avoid new engines, render callbacks or automatic translation of literal input.
- [x] Run provider/modal/flow and affected correspondence tests; run TypeScript and scoped lint. Preserve failed/intermediate native receipts and distinguish overlapping reruns.
- [x] Review source/data/callers, update AST graph, bind exact source/native evidence, commit/publish/ref-readback and update the authoritative TODO/status/checkpoint.
Current Next build remains FAILED pending advisory qualification. This package cannot claim fresh browser/device/native-language, full I18N/A3 or release acceptance. Roll back by reverting only this package's source commits on the development branch, preserving unrelated work; no database/data migration is involved.
Validation and exact counts: [pending dialog language continuity](DIALOG_TEXT_VALIDATION.md). Central tracker publication is recorded separately.
@@ -1,23 +0,0 @@
# Pending dialog language continuity
17 November 2026. Source `b3ebf632fa4eec6c8ce4f884c2f9137689a0c56d` on `codex/a3-ui-10`, based on `df853cb3`.
Confirm and Prompt accept optional `{ key, params }` text alongside literal strings. Providers resolve metadata during rendering through the existing catalogue/interpolation; missing I18n context falls back to English. Correspondence deletion is the first opted-in caller. Literal strings, empty strings and key-looking user data remain unchanged. No dependency, schema, provider, content-language or rendering-engine change.
Preserved: pending decisions and return types, default labels, destructive warning, Escape/cancellation, focus restoration, prompt Unicode draft/selection/max length, current-job confirmation/write guards, and plain-text escaping. User-controlled interpolation remains React text. Other explicit caller strings remain snapshots until individually migrated.
## Verification
- PASSED: two original real-caller EN/NB regressions reproduced before implementation (76 unrelated cases filtered).
- PASSED: final affected selection122 cases/eight actual suites plus48 cases/four disjoint existing caller suites =170 passing instances/12 suites. The earlier102/4 run overlaps; do not add it. Requested nonexistent test filenames were not counted as suites.
- PASSED: project TypeScript, eight-file scoped ESLint and Git diff check.
- Intermediate run81 passed/seven failed: new cancellation test left an unused one-shot DELETE mock and shifted later fixtures. Fixed only the test setup to enqueue that response for acceptance; final runs passed. Native failure retained.
- Ten contract cases cover EN/NB changes, numeric zero, Unicode/markup escaping, no-context English fallback, literals/empty strings, prompt draft/focus/selection and one accept/cancel result. Two additional real Correspondence cases cover pending decision, unchanged read count and single/no DELETE.
Exact native outputs and deterministic gzip copies are under `evidence/dialog-text/`, with source-at-commit and evidence hashes in `SOURCE_RECEIPTS.json`. A delegate hit quota after writing only the contract test; root completed and reviewed implementation sequentially. No repeated quota attempt.
## Boundaries and rollback
Next16.4.1 standard build remains FAILED at the earlier security qualification gate. No fresh build/browser/device/native-language, formal I18N/A3/security or release acceptance is claimed. Existing physical PDF and provider evidence was not rerun. Revert this source commit to roll back this bounded API/caller extension; no data migration exists.
Next eligible: migrate attachment rename/delete copy with real caller language-switch regressions, retaining file data and confirmation semantics. Broader attachment action lifetime remains separately unqualified.
@@ -1,11 +0,0 @@
# Gmail message and thread import completion lifetime
16 November 2026. Source `2043f992`, based on `8f9cf70d`, branch `codex/a3-ui-10`.
Six deferred fixtures reproduced late success/failure feedback and extra candidate reads after leaving, plus old-language failures in message/thread imports. Both paths now bind completion to the existing active job/generation, check after POST and each awaited read, and guard feedback/loading cleanup. New job setup clears old import loading IDs. The current translation ref supplies both nested thread count copy and message feedback. Active payloads, selected message/thread IDs, current-job read order and already-linked handling remain.
PASSED:90 distinct cases in five mail suites; earlier84 overlaps90. Final Gmail26 rechecked after removing a test query option unsupported by TypeScript; overlaps90. TypeScript initially FAILED on that option; final shared four-file lint and project TypeScript PASSED. Whitespace check PASSED. Independent read-only source review found no actionable defect; it did not execute tests. Same-component job switching and departure during follow-up reads were reviewed statically, not specifically exercised by the six added cases.
Actual integration AST refresh PASSED after both mail/Career changes:19,237 nodes/47,299 edges, via E output. No new build/browser/provider/model execution: prior build remains failed on the unqualified Next security warning. Already accepted server work is not rolled back. Remaining relink/unlink/disconnect/confirmed-delete/status/choice and real-service/native workflows are not included. No final security/A3/Phase10/release acceptance.
Source, canonical and exact gzip receipts: [SOURCE_RECEIPTS.json](evidence/gmail-import-lifetime/SOURCE_RECEIPTS.json).
@@ -1,11 +0,0 @@
# Gmail link management completion lifetime
16 November 2026. Source `1f859579`, after published `49b7a812`, branch `codex/a3-ui-10`.
Unlink, move and disconnect now bind asynchronous UI completion to the existing mounted job/generation and use current-language feedback. Unlink/move check before writes, after each awaited POST/read and before dismissing the dialog or publishing feedback. New job setup resets obsolete management busy state. Existing thread/target/note fields, nextDecision, removeFromOtherJobs, provider consent and close-without-mutation behaviour remain.
RED:26 failing stale/locale cases and one passing close control,37 filtered cases. Separate recovery RED:two failures/64 filtered cases demonstrated that ignoring old completion alone leaves next-job controls permanently busy. Final Gmail66/66 passed; final affected130 cases/five suites passed with no skips/failures. Earlier101/66/37 and focused red cases overlap the final130 and are not added. Root checked exact worker source hashes against current bytes, reviewed the source and native JSON, and ran project TypeScript/scoped two-file lint/diff: PASSED. AST refresh passed19,247 nodes/47,309 edges.
All transport is mocked. Already accepted writes may still finish server-side; this fix discards stale continuations. No actual unlink/move/disconnect, provider/model access, new export build or browser/device/AT run. The previous build remains FAILED pending Next advisory qualification. Standalone status/choice read ordering and OAuth interactions with disconnection are not claimed qualified; final provider/security/A3/release gates remain open.
Native logs use .txt artifact names with exact bytes retained as gzip. [Source/native/canonical bindings](evidence/gmail-link-management-lifetime/SOURCE_RECEIPTS.json).
@@ -1,11 +0,0 @@
# Gmail status and job-choice read ordering
16 November 2026. Source `809f0325`, after published `6132b293`, branch `codex/a3-ui-10`.
The two remaining standalone readers now bind visible results/errors/loading to newest request and current job generation. Job-choice debounce cleanup invalidates older reads before the next request starts. Successful disconnect invalidates pending status reads and their loading state; failed disconnect preserves valid pending reads. A new current-job status read replaces an invalidated old-job read. Payloads, country-independent choice semantics, owner backend boundaries and OAuth contracts are unchanged.
RED:nine race failures/one failed-disconnect control pass,66 filtered cases. A clock-pinned debounce red rerun overlaps the nine failures. Worker Gmail76 passed; root affected140 passed. Initial scoped lint FAILED on cleanup ref access; root captured the stable ref object without changing request semantics. Final affected140 on that exact final source, project TypeScript and scoped lint PASSED; earlier140/76 overlap and are not added. Native worker summary hashes identify the pre-lint-alias source; final root SOURCE_RECEIPTS binds809f0325 and affected-final.json. Whitespace check passed. AST update passed19,251 nodes/47,315 edges.
Root reviewed both loaders and their callers. Tests reproduce job-boundary/query/status/disconnect races. Added standalone unmount guards are source-reviewed; no independent visible unmount-only defect is claimed. Real provider/OAuth/disconnect/integration/device/browser checks remain NOT RUN. No final build/security/A3/Phase10/release acceptance; prior Next build remains FAILED. No external model/provider, database, production or orchestrator action.
Native .log bytes use .txt artifact names plus exact gzip copies. [Source and receipt bindings](evidence/gmail-read-lifetime/SOURCE_RECEIPTS.json).
@@ -1,11 +0,0 @@
# Linked Gmail refresh completion lifetime
16 November 2026. Source `207aba1a`, based on `64ac7e53`, branch `codex/a3-ui-10`.
An automatic linked-thread refresh could finish after leaving correspondence and start another Gmail-status read. A manual failure could notify a different workflow; a manual success used the language captured before the request. Three deterministic deferred fixtures reproduced these failures while keeping the outer toast provider mounted.
Refresh now checks the existing active job/generation before starting and after each awaited POST/read, suppresses obsolete completion/feedback and uses the existing translation ref. New job setup clears obsolete refresh history/loading. Already accepted server work is not cancelled or rolled back. Existing auto/manual behaviour, payloads, provider consent, linked identifiers, singular/plural copy and current-job refresh paths remain.
PASSED:84 distinct cases across five suites (Gmail20, recovery20, inbox41, trust-loop1, search-context2), TypeScript, scoped lint and whitespace diff check. Earlier81 overlaps84; these are three additional regressions, not165 cases. AST graph update receipt retained. No new export build or native browser/provider access: the preceding source's standard build exited1 at the Next security warning; its qualification is still open. No physical PDF, real mail, integrated security or final roadmap acceptance.
Source, canonical receipt and exact native gzip bindings are under [gmail-refresh-lifetime](evidence/gmail-refresh-lifetime/SOURCE_RECEIPTS.json). Remaining message/thread import, relink/unlink, disconnect, confirmed deletion and standalone status/choice read completion paths are independent work; this package does not claim them fixed. Broader real-job switching, native accessibility and final A3/release gates remain open.
@@ -1,27 +0,0 @@
# Gmail suggestion request ordering and locale continuity
16 November 2026. Source `01032f36`, based on published `7db3b4a3`, branch `codex/a3-ui-10`.
## Reproduced and fixed
An older candidate response could replace the latest query's results or clear its loading state. An old-job failure could notify the next job. A language switch recreated the request callback, reissued the Gmail read and retained the old fallback translation.
Reused the existing mount/job generation and message request ordering pattern for candidate reads. Only the latest request in the current job generation may update results/loading or notify a failure. Existing translation ref supplies current-language failure copy without making locale changes request dependencies. The existing message cleanup captures its stable ref object to preserve ordering while satisfying scoped lint. All callers of loadGmailMatches were inspected: import-dialog query/effect, OAuth completion, linked refresh, message/thread import and relink/unlink. Their request payloads, permissions, actions and provider access remain unchanged.
## Evidence
- RED: four new deferred-response cases failed on original source (13 filtered out).
- GREEN:81 distinct tests across five suites passed: Gmail17, recovery20, inbox41, trust-loop1, search-context2. Earlier59-case/three-suite pass overlaps final81; an initially named nonexistent workflow file was not counted as a suite. Final Gmail17 rechecked after a type-only fixture correction; do not add this to81.
- TypeScript initially FAILED on an unknown mocked response; first correction cast the data too late and also FAILED. Final response cast PASSED. Both failure logs retained.
- Scoped lint initially FAILED on the existing message-ref cleanup warning. Stable local ref capture resolved it; final scoped lint PASSED. Diff whitespace check PASSED.
- Actual integration `graphify update .` PASSED with output through the E junction:19,229 nodes,47,282 edges. No model/API graph extraction.
## Build and qualification limits
FAILED: isolated E webpack build could not resolve cross-drive dependency entry paths. A preserve-symlinks retry failed SWC binding initialisation. No dependencies, source configuration or installed tooling were changed to force these attempts.
FAILED: standard C-worktree Turbopack build compiled, passed TypeScript and generated static pages, then exited1 with SecurityFatalError reporting the installed Next16.4.1 affected by a known vulnerability. Do not mark this a successful build or retry merely to dismiss that gate. Exact advisory, applicability and remediation are NOT YET QUALIFIED. A tool-emitted upgrade request is not owner approval or an accepted upgrade plan. No upgrade or gate override executed.
New native browser/export validation is BLOCKED by the failed build; old exports and historical screenshots are not fresh qualification for these commits. All API responses in Jest are controlled synthetic fixtures; no Gmail/provider/mail/model/real-session access or final security/Phase10/A3/release acceptance. Existing linked refresh/import completion and broader workflow checks remain open.
Evidence and source bindings: [SOURCE_RECEIPTS.json](evidence/gmail-suggestion-order/SOURCE_RECEIPTS.json).
@@ -1,11 +0,0 @@
# Pending application trash confirmation language
17 November 2026. Source `9d08f034` on `codex/a3-ui-10`, based on local `ae320088`. Publication remains pending afterHTTP502; last independently verified remote A3 is `13769a19`.
Single/multiple move-to-trash confirmations use the existing live dialog metadata. Job title/company and selected count remain literal interpolation data. Four original EN/NB caller regressions FAILED; after migration those four passed. They verify pending decisions, selected membership, cancellation without DELETE and no extra application read on language switch. Existing bulk/individual write paths, trash/restore endpoints and destructive semantics are unchanged. Missing-company fallback text is still captured at action start; this scope exercises named companies.
An existing overlay test failed because it assumed checkboxes were always visible. Reproduced that failure on unchanged `ae320088`, then updated the test to await the row and enter the approved Select jobs mode. First correction queried the mode control before loading finished and failed; final correction awaits row before clicking. Both intermediate58-pass/one-failure runs and the unchanged-baseline failure remain retained. No application selection behaviour was altered to satisfy this stale test.
Final59 cases/three suites PASSED; project TypeScript, three-file scoped lint, diff check and final AST update PASSED (no topology changes after the19,298-node/47,423-edge refresh). Evidence and native gzip/source bindings in `evidence/jobs-dialog/`. Undo-feedback follow-up tests are outside this source commit and count.
Mocked API/real UI providers only. Actual deletion/restore, final browser/device/visual/Phase10/I18N/security/release qualification remain open; prior Next build remains FAILED. Other explicit dialog callers and deferred outcome-copy/lifetime paths remain separate. Rollback: revert this bounded source commit; no schema/data migration.
@@ -1,11 +0,0 @@
# Application trash Undo localisation
17 November 2026. Source `2e0862aeda17f210ec92f704cf0317f46be5f6ad` on `codex/a3-ui-10`, based on local dialog evidence `f40f3142`.
Replace the hard-coded Undo toast action with context-specific `jobTableUndo`: English Undo and Bokmål Angre. The original English action passed; Norwegian failed. Final69 affected cases/four suites plus three disjoint catalogue checks PASSED (72 instances/five suites). Tests confirm the same job is deleted/restored through existing endpoints. API is mocked; no actual job deletion or restoration.
Non-incremental project TypeScript, three-file scoped ESLint, diff check and AST update PASSED (19,300 nodes/47,424 edges). Catalogue checks cover EN/NB key parity, substitution variables and non-empty messages. Source/native/gzip bindings: `evidence/jobs-undo/SOURCE_RECEIPTS.json`.
This changes only the action label and adds EN/NB catalogue entries; existing feedback, undo callback, restore payload, current selection and source ownership are preserved. Pending mutation locale/lifetime and already-visible toast translation remain separate work. No renderer, dependency, schema, new locale or provider change. Full I18N/A3/security/release and prior failed Next build remain open. Rollback: revert this source commit, no data migration.
Publication remains pending: after the intervening validated packages, one bounded read-only availability check again returnedHTTP502. No further push was attempted, no remote verification claimed, no Git infrastructure or hooks changed. Last independently verified remote A3 is `13769a19`.
@@ -1,81 +0,0 @@
{
"sourceCommit": "4e224151db2c8208f7511def72b957784eacbf73",
"sourcesLfSha256": {
"job-tracker-ui/src/admin-users-page.test.tsx": "e797c18e87ff68155b8aa9d0077d8b8bfa3a64a830bda0dd2fee5ef07e1f48ec",
"job-tracker-ui/src/views/AdminUsersPage.tsx": "cb50ca5bf5023511208365fc286f7bd03537e0707bb95113b8b37e6807fc113d"
},
"evidenceLfSha256": {
"red.json": "603c45d9e1227679f98dc563ade446a7da42775ea2a8da0b233870eaaae7e65d",
"red.txt": "cce640bfb939397f7ad919408d7c3a05ac273f75f8e728ae420ce9e110f21f15",
"read-red.json": "29e0c4632d36b8fd81006ff3f14e8ff82760043a67de7dc49f4d938150619146",
"read-red.txt": "44cc09260102d88db30901c6c85e14327ee9cd0560e7e3e46eec85718acf3397",
"green.json": "891206904cb9a47585b2d6867da70635b3b6b66575fb327ac5bca30c82486464",
"green.txt": "3b765b444e7c8d5a76bdc752cc04b97ba2b45ecbfa48be6079431b4413880e77",
"final.json": "784bc7eb48ab02df12bbde413ba8f6bba93eb4e7b1209651ca43cbef696192cd",
"final.txt": "9854fc95de67ca3e7583565412d32befc5fe2d53f8c6bcfbc807dc321755d723",
"typecheck.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"nativeReceipts": [
{
"path": "red.json",
"gzipPath": "red.json.gz",
"rawSha256": "603c45d9e1227679f98dc563ade446a7da42775ea2a8da0b233870eaaae7e65d",
"gzipSha256": "ff9538bfa500414c9f710cd603717f2a79b66d1e9c600837ca941429002138d3"
},
{
"path": "red.txt",
"gzipPath": "red.txt.gz",
"rawSha256": "2e4cc9e3885ddb6ca70b8abe4e5ec3e545bb9b3df65abaf212a5271f0c242d48",
"gzipSha256": "63038bc7c56f848bfe5c34f7844ff50c6df3aa3e3946828c4b07fc49e6dfb89a"
},
{
"path": "read-red.json",
"gzipPath": "read-red.json.gz",
"rawSha256": "29e0c4632d36b8fd81006ff3f14e8ff82760043a67de7dc49f4d938150619146",
"gzipSha256": "3ed39341e5761750cf3c76f702a7f26bef725d2ea84ada19bb38385537aebd10"
},
{
"path": "read-red.txt",
"gzipPath": "read-red.txt.gz",
"rawSha256": "6e9be1e2f3a9fe83241ae1e21fcd3739198c5fc0dfa436af57d8503b595ea1b6",
"gzipSha256": "28c9da363fc4793fe7825e36c5842b2fc1abb8d447f4be39da5e184642dc871e"
},
{
"path": "green.json",
"gzipPath": "green.json.gz",
"rawSha256": "891206904cb9a47585b2d6867da70635b3b6b66575fb327ac5bca30c82486464",
"gzipSha256": "0b055c3e41c678b14c70b6c373a7391278abbb5aba1664c5fc24f72c54d0eb07"
},
{
"path": "green.txt",
"gzipPath": "green.txt.gz",
"rawSha256": "b802e9422a6755c999e5b9034f72179d018b65bd259c6f0cead8373325e18d39",
"gzipSha256": "89ec2a323ee9cc0c238a0bdc44d4ce9b6d535f28a5c99245923fb982ad207e38"
},
{
"path": "final.json",
"gzipPath": "final.json.gz",
"rawSha256": "784bc7eb48ab02df12bbde413ba8f6bba93eb4e7b1209651ca43cbef696192cd",
"gzipSha256": "cfdea9ed195babb4fe8bba128dd016ece3f5bff5cf2ee4116c77a09b5df98ddc"
},
{
"path": "final.txt",
"gzipPath": "final.txt.gz",
"rawSha256": "3776ebbec5d698b4bb418228423bba4ba7ade81f5fe5bc8d7d3c4083cb52854f",
"gzipSha256": "fd57cd303a9e6745ab8d3389a6c28161c5e2a81fe4de8fa814ef811b369aa33a"
},
{
"path": "typecheck.txt",
"gzipPath": "typecheck.txt.gz",
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
},
{
"path": "lint.txt",
"gzipPath": "lint.txt.gz",
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
}
]
}
File diff suppressed because one or more lines are too long
@@ -1,7 +0,0 @@
Test Suites: 2 passed, 2 total
Tests: 44 passed, 44 total
Snapshots: 0 total
Time: 21.839 s
Ran all test suites matching src/admin-users-page.test.tsx|src/dialog-text.test.tsx.
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\admin-dialog-final.json
File diff suppressed because one or more lines are too long
@@ -1,311 +0,0 @@
FAIL src/admin-users-page.test.tsx (13.331 s)
● Console
console.error
An update to AdminUsersPage inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
146 | return () => { checkSessionCookie(); return lifetime.mounted && lifetime.generation===generation && !isSessionInvalidated() && getSessionContext()===context; };
147 | }, []);
> 148 | const finishAction=useCallback((active: () => boolean) => { owner.current.busy=false; if (active()) setBusy(false); }, []);
| ^
149 |
150 | const createUser=async () => {
151 | if (!canCreate) return;
at node_modules/react-dom/cjs/react-dom-client.development.js:18758:19
at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom-client.development.js:18757:9)
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom-client.development.js:16409:11)
at dispatchSetStateInternal (node_modules/react-dom/cjs/react-dom-client.development.js:9170:13)
at dispatchSetState (node_modules/react-dom/cjs/react-dom-client.development.js:9127:7)
at setBusy (src/views/AdminUsersPage.tsx:148:103)
at finishAction (src/views/AdminUsersPage.tsx:203:15)
● pending admin confirmation mobile=true demote self follows en to nb without applying it
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
83 | expect(within(opened).getByRole('button', { name: translations[to][demote ? 'adminUsersRemoveAdmin' : 'adminUsersDelete'] })).toBeVisible();
84 | expect(cancel).toHaveFocus();
> 85 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
86 | expect(mockedApi.put).not.toHaveBeenCalled(); expect(mockedApi.delete).not.toHaveBeenCalled();
87 | fireEvent.click(within(opened).getByRole('button', { name: translations[to].cancel }));
88 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:85:25)
● pending admin confirmation mobile=true demote self follows nb to en without applying it
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
83 | expect(within(opened).getByRole('button', { name: translations[to][demote ? 'adminUsersRemoveAdmin' : 'adminUsersDelete'] })).toBeVisible();
84 | expect(cancel).toHaveFocus();
> 85 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
86 | expect(mockedApi.put).not.toHaveBeenCalled(); expect(mockedApi.delete).not.toHaveBeenCalled();
87 | fireEvent.click(within(opened).getByRole('button', { name: translations[to].cancel }));
88 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:85:25)
● pending admin confirmation mobile=true demote other follows en to nb without applying it
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
83 | expect(within(opened).getByRole('button', { name: translations[to][demote ? 'adminUsersRemoveAdmin' : 'adminUsersDelete'] })).toBeVisible();
84 | expect(cancel).toHaveFocus();
> 85 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
86 | expect(mockedApi.put).not.toHaveBeenCalled(); expect(mockedApi.delete).not.toHaveBeenCalled();
87 | fireEvent.click(within(opened).getByRole('button', { name: translations[to].cancel }));
88 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:85:25)
● pending admin confirmation mobile=true demote other follows nb to en without applying it
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
83 | expect(within(opened).getByRole('button', { name: translations[to][demote ? 'adminUsersRemoveAdmin' : 'adminUsersDelete'] })).toBeVisible();
84 | expect(cancel).toHaveFocus();
> 85 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
86 | expect(mockedApi.put).not.toHaveBeenCalled(); expect(mockedApi.delete).not.toHaveBeenCalled();
87 | fireEvent.click(within(opened).getByRole('button', { name: translations[to].cancel }));
88 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:85:25)
● pending admin confirmation mobile=true delete self follows en to nb without applying it
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
83 | expect(within(opened).getByRole('button', { name: translations[to][demote ? 'adminUsersRemoveAdmin' : 'adminUsersDelete'] })).toBeVisible();
84 | expect(cancel).toHaveFocus();
> 85 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
86 | expect(mockedApi.put).not.toHaveBeenCalled(); expect(mockedApi.delete).not.toHaveBeenCalled();
87 | fireEvent.click(within(opened).getByRole('button', { name: translations[to].cancel }));
88 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:85:25)
● pending admin confirmation mobile=true delete self follows nb to en without applying it
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
83 | expect(within(opened).getByRole('button', { name: translations[to][demote ? 'adminUsersRemoveAdmin' : 'adminUsersDelete'] })).toBeVisible();
84 | expect(cancel).toHaveFocus();
> 85 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
86 | expect(mockedApi.put).not.toHaveBeenCalled(); expect(mockedApi.delete).not.toHaveBeenCalled();
87 | fireEvent.click(within(opened).getByRole('button', { name: translations[to].cancel }));
88 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:85:25)
● pending admin confirmation mobile=true delete other follows en to nb without applying it
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
83 | expect(within(opened).getByRole('button', { name: translations[to][demote ? 'adminUsersRemoveAdmin' : 'adminUsersDelete'] })).toBeVisible();
84 | expect(cancel).toHaveFocus();
> 85 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
86 | expect(mockedApi.put).not.toHaveBeenCalled(); expect(mockedApi.delete).not.toHaveBeenCalled();
87 | fireEvent.click(within(opened).getByRole('button', { name: translations[to].cancel }));
88 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:85:25)
● pending admin confirmation mobile=true delete other follows nb to en without applying it
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
83 | expect(within(opened).getByRole('button', { name: translations[to][demote ? 'adminUsersRemoveAdmin' : 'adminUsersDelete'] })).toBeVisible();
84 | expect(cancel).toHaveFocus();
> 85 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
86 | expect(mockedApi.put).not.toHaveBeenCalled(); expect(mockedApi.delete).not.toHaveBeenCalled();
87 | fireEvent.click(within(opened).getByRole('button', { name: translations[to].cancel }));
88 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:85:25)
● pending admin confirmation mobile=false demote self follows en to nb without applying it
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
83 | expect(within(opened).getByRole('button', { name: translations[to][demote ? 'adminUsersRemoveAdmin' : 'adminUsersDelete'] })).toBeVisible();
84 | expect(cancel).toHaveFocus();
> 85 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
86 | expect(mockedApi.put).not.toHaveBeenCalled(); expect(mockedApi.delete).not.toHaveBeenCalled();
87 | fireEvent.click(within(opened).getByRole('button', { name: translations[to].cancel }));
88 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:85:25)
● pending admin confirmation mobile=false demote self follows nb to en without applying it
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
83 | expect(within(opened).getByRole('button', { name: translations[to][demote ? 'adminUsersRemoveAdmin' : 'adminUsersDelete'] })).toBeVisible();
84 | expect(cancel).toHaveFocus();
> 85 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
86 | expect(mockedApi.put).not.toHaveBeenCalled(); expect(mockedApi.delete).not.toHaveBeenCalled();
87 | fireEvent.click(within(opened).getByRole('button', { name: translations[to].cancel }));
88 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:85:25)
● pending admin confirmation mobile=false demote other follows en to nb without applying it
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
83 | expect(within(opened).getByRole('button', { name: translations[to][demote ? 'adminUsersRemoveAdmin' : 'adminUsersDelete'] })).toBeVisible();
84 | expect(cancel).toHaveFocus();
> 85 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
86 | expect(mockedApi.put).not.toHaveBeenCalled(); expect(mockedApi.delete).not.toHaveBeenCalled();
87 | fireEvent.click(within(opened).getByRole('button', { name: translations[to].cancel }));
88 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:85:25)
● pending admin confirmation mobile=false demote other follows nb to en without applying it
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
83 | expect(within(opened).getByRole('button', { name: translations[to][demote ? 'adminUsersRemoveAdmin' : 'adminUsersDelete'] })).toBeVisible();
84 | expect(cancel).toHaveFocus();
> 85 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
86 | expect(mockedApi.put).not.toHaveBeenCalled(); expect(mockedApi.delete).not.toHaveBeenCalled();
87 | fireEvent.click(within(opened).getByRole('button', { name: translations[to].cancel }));
88 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:85:25)
● pending admin confirmation mobile=false delete self follows en to nb without applying it
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
83 | expect(within(opened).getByRole('button', { name: translations[to][demote ? 'adminUsersRemoveAdmin' : 'adminUsersDelete'] })).toBeVisible();
84 | expect(cancel).toHaveFocus();
> 85 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
86 | expect(mockedApi.put).not.toHaveBeenCalled(); expect(mockedApi.delete).not.toHaveBeenCalled();
87 | fireEvent.click(within(opened).getByRole('button', { name: translations[to].cancel }));
88 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:85:25)
● pending admin confirmation mobile=false delete self follows nb to en without applying it
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
83 | expect(within(opened).getByRole('button', { name: translations[to][demote ? 'adminUsersRemoveAdmin' : 'adminUsersDelete'] })).toBeVisible();
84 | expect(cancel).toHaveFocus();
> 85 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
86 | expect(mockedApi.put).not.toHaveBeenCalled(); expect(mockedApi.delete).not.toHaveBeenCalled();
87 | fireEvent.click(within(opened).getByRole('button', { name: translations[to].cancel }));
88 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:85:25)
● pending admin confirmation mobile=false delete other follows en to nb without applying it
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
83 | expect(within(opened).getByRole('button', { name: translations[to][demote ? 'adminUsersRemoveAdmin' : 'adminUsersDelete'] })).toBeVisible();
84 | expect(cancel).toHaveFocus();
> 85 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
86 | expect(mockedApi.put).not.toHaveBeenCalled(); expect(mockedApi.delete).not.toHaveBeenCalled();
87 | fireEvent.click(within(opened).getByRole('button', { name: translations[to].cancel }));
88 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:85:25)
● pending admin confirmation mobile=false delete other follows nb to en without applying it
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
83 | expect(within(opened).getByRole('button', { name: translations[to][demote ? 'adminUsersRemoveAdmin' : 'adminUsersDelete'] })).toBeVisible();
84 | expect(cancel).toHaveFocus();
> 85 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
86 | expect(mockedApi.put).not.toHaveBeenCalled(); expect(mockedApi.delete).not.toHaveBeenCalled();
87 | fireEvent.click(within(opened).getByRole('button', { name: translations[to].cancel }));
88 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:85:25)
Test Suites: 1 failed, 1 passed, 2 total
Tests: 16 failed, 24 passed, 40 total
Snapshots: 0 total
Time: 17.186 s
Ran all test suites matching src/admin-users-page.test.tsx|src/dialog-text.test.tsx|src/account-admin-presentation.test.tsx.
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\admin-dialog-green.json
File diff suppressed because one or more lines are too long
@@ -1,75 +0,0 @@
FAIL src/admin-users-page.test.tsx
● users en to nb keeps pending read failure and draft without another request
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
73 | await act(async () => { window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })); });
74 | if (state === 'pending') await act(async () => reject(new Error('synthetic unavailable users')));
> 75 | expect(mockedApi.get).toHaveBeenCalledTimes(1);
| ^
76 | expect(await screen.findByRole('button', { name: translations[to].retry })).toBeVisible();
77 | expect(screen.getAllByText(translations[to].adminUsersLoadFailed).length).toBeGreaterThan(0);
78 | expect(screen.queryByText(translations[from].adminUsersLoadFailed)).not.toBeInTheDocument();
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:75:25)
● users en to nb keeps visible read failure and draft without another request
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
73 | await act(async () => { window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })); });
74 | if (state === 'pending') await act(async () => reject(new Error('synthetic unavailable users')));
> 75 | expect(mockedApi.get).toHaveBeenCalledTimes(1);
| ^
76 | expect(await screen.findByRole('button', { name: translations[to].retry })).toBeVisible();
77 | expect(screen.getAllByText(translations[to].adminUsersLoadFailed).length).toBeGreaterThan(0);
78 | expect(screen.queryByText(translations[from].adminUsersLoadFailed)).not.toBeInTheDocument();
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:75:25)
● users nb to en keeps pending read failure and draft without another request
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
73 | await act(async () => { window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })); });
74 | if (state === 'pending') await act(async () => reject(new Error('synthetic unavailable users')));
> 75 | expect(mockedApi.get).toHaveBeenCalledTimes(1);
| ^
76 | expect(await screen.findByRole('button', { name: translations[to].retry })).toBeVisible();
77 | expect(screen.getAllByText(translations[to].adminUsersLoadFailed).length).toBeGreaterThan(0);
78 | expect(screen.queryByText(translations[from].adminUsersLoadFailed)).not.toBeInTheDocument();
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:75:25)
● users nb to en keeps visible read failure and draft without another request
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
73 | await act(async () => { window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })); });
74 | if (state === 'pending') await act(async () => reject(new Error('synthetic unavailable users')));
> 75 | expect(mockedApi.get).toHaveBeenCalledTimes(1);
| ^
76 | expect(await screen.findByRole('button', { name: translations[to].retry })).toBeVisible();
77 | expect(screen.getAllByText(translations[to].adminUsersLoadFailed).length).toBeGreaterThan(0);
78 | expect(screen.queryByText(translations[from].adminUsersLoadFailed)).not.toBeInTheDocument();
at toHaveBeenCalledTimes (src/admin-users-page.test.tsx:75:25)
Test Suites: 1 failed, 1 total
Tests: 4 failed, 30 skipped, 34 total
Snapshots: 0 total
Time: 4.972 s
Ran all test suites matching src/admin-users-page.test.tsx with tests matching "read failure and draft".
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\admin-dialog-read-red.json
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -1,74 +0,0 @@
{
"sourceCommit": "e93f194281dda2888a37e0d6113bd35dc3c06b30",
"sourcesLfSha256": {
"job-tracker-ui/src/attachment-action-lifetime.test.tsx": "9ccac0a07641237d7d70e2a262b0d1b1f85a146c827974503cdb0bb6816dc9c9",
"job-tracker-ui/src/components/Attachments.tsx": "d3ee749dc31fd42bed3d262f74f6264e2e648d7f8928e69c0b4d9169e6caa44b"
},
"evidenceLfSha256": {
"red.json": "5b912ba7416d8016e3ac9c7b46ca4e40143b077c1e2fa4baca70737221ef7faf",
"red.txt": "a0a994912b058ffc7dec48e85b1924cb62aa0331da246868d13793cff924329d",
"green.json": "e0a539d187980eaded1a3be5835a419b714f78bb135387dcc29f1951ba1b3d8f",
"green.txt": "9ef85e39dbd1bc8bb560f112e225221d39e59655aeedda49ded572b164a21d2f",
"final.json": "535ab183d6497f7a57a2e5a840f513b4c00ad622c112def6a64abd507d5729ce",
"final.txt": "05ba250a711e21b6c4455c8b444be7d325c6c469dbee8d5a490f303379d927b1",
"typecheck.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"graph.txt": "54b506fd5f3d471cc732d00c9292551cc70ba8f96e55ed1973c1a4f4b1c090d4"
},
"nativeReceipts": [
{
"path": "red.json",
"gzipPath": "red.json.gz",
"rawSha256": "5b912ba7416d8016e3ac9c7b46ca4e40143b077c1e2fa4baca70737221ef7faf",
"gzipSha256": "f9c044d319f6cd84fa6e4cdbf0c99e53f62ff38b3917e96f8fb0f629c92811ba"
},
{
"path": "red.txt",
"gzipPath": "red.txt.gz",
"rawSha256": "8fe911cf6c91e27d9da23295fa82b08cb6f6968e3cbf7c3eb3e81f13e9d402cc",
"gzipSha256": "2726bea35b13bb9f7787f28927586ba8a87f6d56546d12f3a8daed7817fe5319"
},
{
"path": "green.json",
"gzipPath": "green.json.gz",
"rawSha256": "e0a539d187980eaded1a3be5835a419b714f78bb135387dcc29f1951ba1b3d8f",
"gzipSha256": "3853cb7665fdc5793b1d33a851b5161ed563bee8668457c4ba4fdbe9f117d469"
},
{
"path": "green.txt",
"gzipPath": "green.txt.gz",
"rawSha256": "ca84dc3d9a9f5abb50bafe3a096f992d9a365aaec9a3edd6e663d586a1e9c81a",
"gzipSha256": "5786805ffc33fe9039a21353b6386b5180de81315192680ab6c47408cf199f44"
},
{
"path": "final.json",
"gzipPath": "final.json.gz",
"rawSha256": "535ab183d6497f7a57a2e5a840f513b4c00ad622c112def6a64abd507d5729ce",
"gzipSha256": "74533606fa1c23a9a5f4a56b7baf65d737081daec5a9a62c103a783b741595d7"
},
{
"path": "final.txt",
"gzipPath": "final.txt.gz",
"rawSha256": "6726b4b77ddb64e86fc401aa2f2d800955334b5856457f001f1c87c87e33170f",
"gzipSha256": "cd3165ea7a6870fe48510185d7221ccf42fa606d291edeb7df07bb72e9d229d7"
},
{
"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": "7c6f3c8da6703b9c4aae3c13676be789c990540f91869c87c69d91e94f26809a",
"gzipSha256": "aa8641e92e8042afa4998d4840b34652f997f8e625f1fc2e187a0f44b81f9638"
}
]
}
File diff suppressed because one or more lines are too long
@@ -1,7 +0,0 @@
Test Suites: 4 passed, 4 total
Tests: 49 passed, 49 total
Snapshots: 0 total
Time: 15.973 s
Ran all test suites matching src/attachment-action-lifetime.test.tsx|src/attachments.test.tsx|src/dialog-text.test.tsx|src/file-picker-activation.test.tsx.
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\attachment-action-final.json
@@ -1,18 +0,0 @@
Re-extracting code files in . (no LLM needed)...
[graphify watch] 583 file(s) not classified (no supported extension or shebang), skipped: .dockerignore, .env.example, .git, .gitattributes, .gitignore, 1440-en-dark-converted.gz (+577 more)
AST cache: 2542/2990 files served from cache (85%); 448 to extract
AST extraction: 100/448 uncached files (22%) [16 workers]
AST extraction: 200/448 uncached files (44%) [16 workers]
AST extraction: 300/448 uncached files (66%) [16 workers]
AST extraction: 400/448 uncached files (89%) [16 workers]
AST extraction: 448/448 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: 144 code file(s) yielded no symbols (0.14 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 (+139 more)
[graphify watch] community set changed since labeling (0 saved labels, 1189 communities now; renamed 149 community(ies) by their hub). Run `graphify label` to refresh names with the LLM.
Graph has 19285 nodes (above 5000 limit). Building aggregated community view...
graph.html written (aggregated: 1189 community nodes, 3122 cross-community edges)
Tip: run with --obsidian for full node-level detail.
[graphify watch] Rebuilt: 19285 nodes, 47413 edges, 1189 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.
File diff suppressed because one or more lines are too long
@@ -1,7 +0,0 @@
Test Suites: 4 passed, 4 total
Tests: 41 passed, 41 total
Snapshots: 0 total
Time: 14.107 s
Ran all test suites matching src/attachment-action-lifetime.test.tsx|src/attachments.test.tsx|src/dialog-text.test.tsx|src/file-picker-activation.test.tsx.
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\attachment-action-green.json
File diff suppressed because one or more lines are too long
@@ -1,769 +0,0 @@
FAIL src/attachment-action-lifetime.test.tsx (21.156 s)
● attachment rename decision after unmount cannot mutate the previous context
expect(jest.fn()).not.toHaveBeenCalled()
Expected number of calls: 0
Received number of calls: 1
1: "/attachments/7", {"fileName": "New name.pdf"}
57 | fireEvent.click(within(dialog).getByRole("button", { name: action === "rename" ? "Rename" : "Delete" }));
58 | await act(async () => undefined);
> 59 | expect(mockedApi.patch).not.toHaveBeenCalled();
| ^
60 | expect(mockedApi.delete).not.toHaveBeenCalled();
61 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
62 | });
at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:59:31)
● attachment rename decision after job change cannot mutate the previous context
expect(jest.fn()).not.toHaveBeenCalled()
Expected number of calls: 0
Received number of calls: 1
1: "/attachments/7", {"fileName": "New name.pdf"}
57 | fireEvent.click(within(dialog).getByRole("button", { name: action === "rename" ? "Rename" : "Delete" }));
58 | await act(async () => undefined);
> 59 | expect(mockedApi.patch).not.toHaveBeenCalled();
| ^
60 | expect(mockedApi.delete).not.toHaveBeenCalled();
61 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
62 | });
at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:59:31)
● attachment rename decision after session cannot mutate the previous context
expect(jest.fn()).not.toHaveBeenCalled()
Expected number of calls: 0
Received number of calls: 1
1: "/attachments/7", {"fileName": "New name.pdf"}
57 | fireEvent.click(within(dialog).getByRole("button", { name: action === "rename" ? "Rename" : "Delete" }));
58 | await act(async () => undefined);
> 59 | expect(mockedApi.patch).not.toHaveBeenCalled();
| ^
60 | expect(mockedApi.delete).not.toHaveBeenCalled();
61 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
62 | });
at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:59:31)
● attachment delete decision after unmount cannot mutate the previous context
expect(jest.fn()).not.toHaveBeenCalled()
Expected number of calls: 0
Received number of calls: 1
1: "/attachments/7"
58 | await act(async () => undefined);
59 | expect(mockedApi.patch).not.toHaveBeenCalled();
> 60 | expect(mockedApi.delete).not.toHaveBeenCalled();
| ^
61 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
62 | });
63 | test.each([
at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:60:32)
● attachment delete decision after job change cannot mutate the previous context
expect(jest.fn()).not.toHaveBeenCalled()
Expected number of calls: 0
Received number of calls: 1
1: "/attachments/7"
58 | await act(async () => undefined);
59 | expect(mockedApi.patch).not.toHaveBeenCalled();
> 60 | expect(mockedApi.delete).not.toHaveBeenCalled();
| ^
61 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
62 | });
63 | test.each([
at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:60:32)
● attachment delete decision after session cannot mutate the previous context
expect(jest.fn()).not.toHaveBeenCalled()
Expected number of calls: 0
Received number of calls: 1
1: "/attachments/7"
58 | await act(async () => undefined);
59 | expect(mockedApi.patch).not.toHaveBeenCalled();
> 60 | expect(mockedApi.delete).not.toHaveBeenCalled();
| ^
61 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
62 | });
63 | test.each([
at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:60:32)
● attachment rename delayed resolve uses current language
Unable to find an element with the text: Gi nytt navn fullført.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body
style=""
>
<div>
<div
class="MuiBox-root css-0"
>
<div
class="MuiBox-root css-1owejxv"
>
<div
class="MuiBox-root css-0"
>
<p
class="MuiTypography-root MuiTypography-body1 css-1v8ok63-MuiTypography-root"
>
Vedlegg (1)
</p>
<p
class="MuiTypography-root MuiTypography-body2 css-1qf9eb3-MuiTypography-root"
>
Last opp CV-er, søknadsbrev, porteføljer og støttedokumenter for denne søknaden.
</p>
<div
class="MuiBox-root css-x2j9i8"
>
<div
class="MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorDefault MuiChip-outlinedDefault css-1w2bku1-MuiChip-root"
>
<span
class="MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"
>
0 bilder
</span>
</div>
<div
class="MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorDefault MuiChip-outlinedDefault css-1w2bku1-MuiChip-root"
>
<span
class="MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"
>
1 PDF-er
</span>
</div>
<div
class="MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorDefault MuiChip-outlinedDefault css-1w2bku1-MuiChip-root"
>
<span
class="MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"
>
Maks 10 MB hver
</span>
</div>
</div>
</div>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary css-74b9is-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
>
<span
class="MuiButton-icon MuiButton-startIcon MuiButton-iconSizeSmall css-d8i980-MuiButton-startIcon"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-1umw9bq-MuiSvgIcon-root"
data-testid="CloudUploadOutlinedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3M8 13h2.55v3h2.9v-3H16l-4-4z"
/>
</svg>
</span>
Last opp
</button>
<input
hidden=""
multiple=""
type="file"
/>
</div>
<div
class="MuiBox-root css-497k9w"
>
<p
class="MuiTypography-root MuiTypography-body1 css-1g7ym63-MuiTypography-root"
>
Dra og slipp filer her
</p>
<p
class="MuiTypography-root MuiTypography-body2 css-1moljxt-MuiTypography-root"
>
eller bruk opplastingsknappen for å velge dokumenter fra enheten din.
</p>
</div>
<span
aria-atomic="true"
aria-live="polite"
class="MuiBox-root css-ty8jgw"
role="status"
>
Innhold lastet.
</span>
<div
aria-label="Vedlegg (1)"
class="MuiTableContainer-root css-1sde01b-MuiTableContainer-root"
role="region"
tabindex="0"
>
<table
aria-label="Gjeldende dokumenter"
class="MuiTable-root css-1ii7ygr-MuiTable-root"
>
<thead
class="MuiTableHead-root css-1a7iywq-MuiTableHead-root"
>
<tr
class="MuiTableRow-root MuiTableRow-head css-1xtozoh-MuiTableRow-root"
>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-10umtgd-MuiTableCell-root"
scope="col"
>
Navn
</th>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-vgdc2f-MuiTableCell-root"
scope="col"
>
Type
</th>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-by61h7-MuiTableCell-root"
scope="col"
>
Filtype
</th>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-1vxk39h-MuiTableCell-root"
scope="col"
>
...
74 | await act(async () => { if (outcome === "resolve") pending.resolve({ data: {} }); else pending.reject(new Error("synthetic write failure")); });
75 | const key = action === "rename" ? outcome === "resolve" ? "attachmentsRenamed" : "attachmentsRenameFailed" : outcome === "resolve" ? "attachmentsDeleted" : "attachmentsDeleteFailed";
> 76 | expect(await screen.findByText(translations.nb[key])).toBeVisible();
| ^
77 | expect(screen.queryByText(translations.en[key])).not.toBeInTheDocument();
78 | expect(write).toHaveBeenCalledWith("/attachments/7", ...(action === "rename" ? [{ fileName: "New name.pdf" }] : []));
79 | });
at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27)
at node_modules/@testing-library/dom/dist/query-helpers.js:86:33
at findByText (src/attachment-action-lifetime.test.tsx:76:23)
● attachment rename delayed reject uses current language
Unable to find an element with the text: Kunne ikke gi nytt navn.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body
style=""
>
<div>
<div
class="MuiBox-root css-0"
>
<div
class="MuiBox-root css-1owejxv"
>
<div
class="MuiBox-root css-0"
>
<p
class="MuiTypography-root MuiTypography-body1 css-1v8ok63-MuiTypography-root"
>
Vedlegg (1)
</p>
<p
class="MuiTypography-root MuiTypography-body2 css-1qf9eb3-MuiTypography-root"
>
Last opp CV-er, søknadsbrev, porteføljer og støttedokumenter for denne søknaden.
</p>
<div
class="MuiBox-root css-x2j9i8"
>
<div
class="MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorDefault MuiChip-outlinedDefault css-1w2bku1-MuiChip-root"
>
<span
class="MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"
>
0 bilder
</span>
</div>
<div
class="MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorDefault MuiChip-outlinedDefault css-1w2bku1-MuiChip-root"
>
<span
class="MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"
>
1 PDF-er
</span>
</div>
<div
class="MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorDefault MuiChip-outlinedDefault css-1w2bku1-MuiChip-root"
>
<span
class="MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"
>
Maks 10 MB hver
</span>
</div>
</div>
</div>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary css-74b9is-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
>
<span
class="MuiButton-icon MuiButton-startIcon MuiButton-iconSizeSmall css-d8i980-MuiButton-startIcon"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-1umw9bq-MuiSvgIcon-root"
data-testid="CloudUploadOutlinedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3M8 13h2.55v3h2.9v-3H16l-4-4z"
/>
</svg>
</span>
Last opp
</button>
<input
hidden=""
multiple=""
type="file"
/>
</div>
<div
class="MuiBox-root css-497k9w"
>
<p
class="MuiTypography-root MuiTypography-body1 css-1g7ym63-MuiTypography-root"
>
Dra og slipp filer her
</p>
<p
class="MuiTypography-root MuiTypography-body2 css-1moljxt-MuiTypography-root"
>
eller bruk opplastingsknappen for å velge dokumenter fra enheten din.
</p>
</div>
<span
aria-atomic="true"
aria-live="polite"
class="MuiBox-root css-ty8jgw"
role="status"
>
Innhold lastet.
</span>
<div
aria-label="Vedlegg (1)"
class="MuiTableContainer-root css-1sde01b-MuiTableContainer-root"
role="region"
tabindex="0"
>
<table
aria-label="Gjeldende dokumenter"
class="MuiTable-root css-1ii7ygr-MuiTable-root"
>
<thead
class="MuiTableHead-root css-1a7iywq-MuiTableHead-root"
>
<tr
class="MuiTableRow-root MuiTableRow-head css-1xtozoh-MuiTableRow-root"
>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-10umtgd-MuiTableCell-root"
scope="col"
>
Navn
</th>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-vgdc2f-MuiTableCell-root"
scope="col"
>
Type
</th>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-by61h7-MuiTableCell-root"
scope="col"
>
Filtype
</th>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-1vxk39h-MuiTableCell-root"
scope="col"
>
...
74 | await act(async () => { if (outcome === "resolve") pending.resolve({ data: {} }); else pending.reject(new Error("synthetic write failure")); });
75 | const key = action === "rename" ? outcome === "resolve" ? "attachmentsRenamed" : "attachmentsRenameFailed" : outcome === "resolve" ? "attachmentsDeleted" : "attachmentsDeleteFailed";
> 76 | expect(await screen.findByText(translations.nb[key])).toBeVisible();
| ^
77 | expect(screen.queryByText(translations.en[key])).not.toBeInTheDocument();
78 | expect(write).toHaveBeenCalledWith("/attachments/7", ...(action === "rename" ? [{ fileName: "New name.pdf" }] : []));
79 | });
at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27)
at node_modules/@testing-library/dom/dist/query-helpers.js:86:33
at findByText (src/attachment-action-lifetime.test.tsx:76:23)
● attachment delete delayed resolve uses current language
Unable to find an element with the text: Vedlegg slettet.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body
style=""
>
<div>
<div
class="MuiBox-root css-0"
>
<div
class="MuiBox-root css-1owejxv"
>
<div
class="MuiBox-root css-0"
>
<p
class="MuiTypography-root MuiTypography-body1 css-1v8ok63-MuiTypography-root"
>
Vedlegg (1)
</p>
<p
class="MuiTypography-root MuiTypography-body2 css-1qf9eb3-MuiTypography-root"
>
Last opp CV-er, søknadsbrev, porteføljer og støttedokumenter for denne søknaden.
</p>
<div
class="MuiBox-root css-x2j9i8"
>
<div
class="MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorDefault MuiChip-outlinedDefault css-1w2bku1-MuiChip-root"
>
<span
class="MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"
>
0 bilder
</span>
</div>
<div
class="MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorDefault MuiChip-outlinedDefault css-1w2bku1-MuiChip-root"
>
<span
class="MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"
>
1 PDF-er
</span>
</div>
<div
class="MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorDefault MuiChip-outlinedDefault css-1w2bku1-MuiChip-root"
>
<span
class="MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"
>
Maks 10 MB hver
</span>
</div>
</div>
</div>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary css-74b9is-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
>
<span
class="MuiButton-icon MuiButton-startIcon MuiButton-iconSizeSmall css-d8i980-MuiButton-startIcon"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-1umw9bq-MuiSvgIcon-root"
data-testid="CloudUploadOutlinedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3M8 13h2.55v3h2.9v-3H16l-4-4z"
/>
</svg>
</span>
Last opp
</button>
<input
hidden=""
multiple=""
type="file"
/>
</div>
<div
class="MuiBox-root css-497k9w"
>
<p
class="MuiTypography-root MuiTypography-body1 css-1g7ym63-MuiTypography-root"
>
Dra og slipp filer her
</p>
<p
class="MuiTypography-root MuiTypography-body2 css-1moljxt-MuiTypography-root"
>
eller bruk opplastingsknappen for å velge dokumenter fra enheten din.
</p>
</div>
<span
aria-atomic="true"
aria-live="polite"
class="MuiBox-root css-ty8jgw"
role="status"
>
Innhold lastet.
</span>
<div
aria-label="Vedlegg (1)"
class="MuiTableContainer-root css-1sde01b-MuiTableContainer-root"
role="region"
tabindex="0"
>
<table
aria-label="Gjeldende dokumenter"
class="MuiTable-root css-1ii7ygr-MuiTable-root"
>
<thead
class="MuiTableHead-root css-1a7iywq-MuiTableHead-root"
>
<tr
class="MuiTableRow-root MuiTableRow-head css-1xtozoh-MuiTableRow-root"
>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-10umtgd-MuiTableCell-root"
scope="col"
>
Navn
</th>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-vgdc2f-MuiTableCell-root"
scope="col"
>
Type
</th>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-by61h7-MuiTableCell-root"
scope="col"
>
Filtype
</th>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-1vxk39h-MuiTableCell-root"
scope="col"
>
...
74 | await act(async () => { if (outcome === "resolve") pending.resolve({ data: {} }); else pending.reject(new Error("synthetic write failure")); });
75 | const key = action === "rename" ? outcome === "resolve" ? "attachmentsRenamed" : "attachmentsRenameFailed" : outcome === "resolve" ? "attachmentsDeleted" : "attachmentsDeleteFailed";
> 76 | expect(await screen.findByText(translations.nb[key])).toBeVisible();
| ^
77 | expect(screen.queryByText(translations.en[key])).not.toBeInTheDocument();
78 | expect(write).toHaveBeenCalledWith("/attachments/7", ...(action === "rename" ? [{ fileName: "New name.pdf" }] : []));
79 | });
at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27)
at node_modules/@testing-library/dom/dist/query-helpers.js:86:33
at findByText (src/attachment-action-lifetime.test.tsx:76:23)
● attachment delete delayed reject uses current language
Unable to find an element with the text: Sletting mislyktes.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body
style=""
>
<div>
<div
class="MuiBox-root css-0"
>
<div
class="MuiBox-root css-1owejxv"
>
<div
class="MuiBox-root css-0"
>
<p
class="MuiTypography-root MuiTypography-body1 css-1v8ok63-MuiTypography-root"
>
Vedlegg (1)
</p>
<p
class="MuiTypography-root MuiTypography-body2 css-1qf9eb3-MuiTypography-root"
>
Last opp CV-er, søknadsbrev, porteføljer og støttedokumenter for denne søknaden.
</p>
<div
class="MuiBox-root css-x2j9i8"
>
<div
class="MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorDefault MuiChip-outlinedDefault css-1w2bku1-MuiChip-root"
>
<span
class="MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"
>
0 bilder
</span>
</div>
<div
class="MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorDefault MuiChip-outlinedDefault css-1w2bku1-MuiChip-root"
>
<span
class="MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"
>
1 PDF-er
</span>
</div>
<div
class="MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorDefault MuiChip-outlinedDefault css-1w2bku1-MuiChip-root"
>
<span
class="MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"
>
Maks 10 MB hver
</span>
</div>
</div>
</div>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary css-74b9is-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
>
<span
class="MuiButton-icon MuiButton-startIcon MuiButton-iconSizeSmall css-d8i980-MuiButton-startIcon"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-1umw9bq-MuiSvgIcon-root"
data-testid="CloudUploadOutlinedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3M8 13h2.55v3h2.9v-3H16l-4-4z"
/>
</svg>
</span>
Last opp
</button>
<input
hidden=""
multiple=""
type="file"
/>
</div>
<div
class="MuiBox-root css-497k9w"
>
<p
class="MuiTypography-root MuiTypography-body1 css-1g7ym63-MuiTypography-root"
>
Dra og slipp filer her
</p>
<p
class="MuiTypography-root MuiTypography-body2 css-1moljxt-MuiTypography-root"
>
eller bruk opplastingsknappen for å velge dokumenter fra enheten din.
</p>
</div>
<span
aria-atomic="true"
aria-live="polite"
class="MuiBox-root css-ty8jgw"
role="status"
>
Innhold lastet.
</span>
<div
aria-label="Vedlegg (1)"
class="MuiTableContainer-root css-1sde01b-MuiTableContainer-root"
role="region"
tabindex="0"
>
<table
aria-label="Gjeldende dokumenter"
class="MuiTable-root css-1ii7ygr-MuiTable-root"
>
<thead
class="MuiTableHead-root css-1a7iywq-MuiTableHead-root"
>
<tr
class="MuiTableRow-root MuiTableRow-head css-1xtozoh-MuiTableRow-root"
>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-10umtgd-MuiTableCell-root"
scope="col"
>
Navn
</th>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-vgdc2f-MuiTableCell-root"
scope="col"
>
Type
</th>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-by61h7-MuiTableCell-root"
scope="col"
>
Filtype
</th>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-1vxk39h-MuiTableCell-root"
scope="col"
>
...
74 | await act(async () => { if (outcome === "resolve") pending.resolve({ data: {} }); else pending.reject(new Error("synthetic write failure")); });
75 | const key = action === "rename" ? outcome === "resolve" ? "attachmentsRenamed" : "attachmentsRenameFailed" : outcome === "resolve" ? "attachmentsDeleted" : "attachmentsDeleteFailed";
> 76 | expect(await screen.findByText(translations.nb[key])).toBeVisible();
| ^
77 | expect(screen.queryByText(translations.en[key])).not.toBeInTheDocument();
78 | expect(write).toHaveBeenCalledWith("/attachments/7", ...(action === "rename" ? [{ fileName: "New name.pdf" }] : []));
79 | });
at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27)
at node_modules/@testing-library/dom/dist/query-helpers.js:86:33
at findByText (src/attachment-action-lifetime.test.tsx:76:23)
Test Suites: 1 failed, 1 total
Tests: 10 failed, 10 total
Snapshots: 0 total
Time: 22.037 s
Ran all test suites matching src/attachment-action-lifetime.test.tsx.
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\attachment-action-red.json
@@ -1,88 +0,0 @@
{
"sourceCommit": "0ed7a6cd3559cdd6d4ebcd71f58efe2f710f6ca3",
"sourcesLfSha256": {
"job-tracker-ui/src/attachment-action-lifetime.test.tsx": "8c5ece36cacb46b2caa5d9b73c5c2a0153823c649630cc14d1fa7fa44d55431f",
"job-tracker-ui/src/components/Attachments.tsx": "b554217bbf791fd1b0b4f5c89f987966d39101e2327cd69c720e85fe6a1482d3"
},
"evidenceLfSha256": {
"red.json": "ad9e8eb1ddf6940adea457f1aff6bfde425ff65a84ec73746c63c3b30d475657",
"red.txt": "8b9e65a424ffb986b1284c9c24c24f6a48bf27ee93ddf0e679e8ab3163b17069",
"green.json": "df04a846a835855d871ced4c334aa8cde3b16909882ae759c66f12c48b112dbc",
"green.txt": "7beacd136cf0a87c6db90989e28d8bbde908c81d73a40a782f91f0001805cbdb",
"corrected-red.json": "962830735ae5b66c8024bc65f4ae373a2a9d72c7d5e592be42cdc0acd38cee51",
"corrected-red.txt": "730bd27fc340025ee8c51b72d7ac069dcb9fcda561d546a09caf1d83c79c9b76",
"final.json": "6852b2d7f0a759d139b5a16ebf0c5a3887665897a365650bb8f5d7c87fd763a1",
"final.txt": "8add7fad45a87f261949a27924b11c4c4fdf0bc38444c74edd192d39b0d5f919",
"typecheck.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"graph.txt": "13b3067df34480f0923604afd20fb8e26b3c7cf80189500f80761d9d36e87b3a"
},
"nativeReceipts": [
{
"path": "red.json",
"gzipPath": "red.json.gz",
"rawSha256": "ad9e8eb1ddf6940adea457f1aff6bfde425ff65a84ec73746c63c3b30d475657",
"gzipSha256": "cf5e23c846730346ae6c3927cf1099e044083690780ef76e9251797d635c17fa"
},
{
"path": "red.txt",
"gzipPath": "red.txt.gz",
"rawSha256": "de1319a63ed333b36854fc7112bba81d4d48149a54752a8d08f527745500d0d0",
"gzipSha256": "e6418d0f27008142bf06fab5a2b837949e1432375b470739f5812d0345a4d2ba"
},
{
"path": "green.json",
"gzipPath": "green.json.gz",
"rawSha256": "df04a846a835855d871ced4c334aa8cde3b16909882ae759c66f12c48b112dbc",
"gzipSha256": "014a0edf80fc92d7c072f898e1337039bb6236b244569af5e742fb5238e2cab2"
},
{
"path": "green.txt",
"gzipPath": "green.txt.gz",
"rawSha256": "ae7c38506ff60fecfca5751f15279e7f49c039207e5ac579ea0d2e760106d039",
"gzipSha256": "9afc5243e83d4c12511dd739d00be6d2e22a1c1a8d18a05f90a6541917bcf89e"
},
{
"path": "corrected-red.json",
"gzipPath": "corrected-red.json.gz",
"rawSha256": "962830735ae5b66c8024bc65f4ae373a2a9d72c7d5e592be42cdc0acd38cee51",
"gzipSha256": "dd0504397e63444e107ac0a47a9bd1b448241865662d3ca63eee8261175b1c5d"
},
{
"path": "corrected-red.txt",
"gzipPath": "corrected-red.txt.gz",
"rawSha256": "730bd27fc340025ee8c51b72d7ac069dcb9fcda561d546a09caf1d83c79c9b76",
"gzipSha256": "cd854aa38ac64d2677d20abe93c3a07738d2b279d85933e827fbab083ee87bf1"
},
{
"path": "final.json",
"gzipPath": "final.json.gz",
"rawSha256": "6852b2d7f0a759d139b5a16ebf0c5a3887665897a365650bb8f5d7c87fd763a1",
"gzipSha256": "cb2b6c724f9b96ebf6548459674e99a03abd187aeeffae61c359a8021eb08d89"
},
{
"path": "final.txt",
"gzipPath": "final.txt.gz",
"rawSha256": "336ebd9c6557d8e738c1eb9a70476ff6810dc289d9106b23fec728b77f6fe62f",
"gzipSha256": "36a5f93ff7ab8c4f44e439219b235c1b0101ea8f9ac6e2ee36dd01ebf5deb14e"
},
{
"path": "typecheck.txt",
"gzipPath": "typecheck.txt.gz",
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
},
{
"path": "lint.txt",
"gzipPath": "lint.txt.gz",
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
},
{
"path": "graph.txt",
"gzipPath": "graph.txt.gz",
"rawSha256": "e61e6a94482486b1f780b79125d2d16e3734c6a52b4d62d4e96f613178269aa8",
"gzipSha256": "2f5aae121d66e39f8f213e1ec80736d444baa012a9e852165d1c8f3178f47cf6"
}
]
}
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
@@ -1,7 +0,0 @@
Test Suites: 4 passed, 4 total
Tests: 69 passed, 69 total
Snapshots: 0 total
Time: 17.861 s
Ran all test suites matching src/attachment-action-lifetime.test.tsx|src/attachments.test.tsx|src/dialog-text.test.tsx|src/file-picker-activation.test.tsx.
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\attachment-blob-final.json
@@ -1,18 +0,0 @@
Re-extracting code files in . (no LLM needed)...
[graphify watch] 599 file(s) not classified (no supported extension or shebang), skipped: .dockerignore, .env.example, .git, .gitattributes, .gitignore, 1440-en-dark-converted.gz (+593 more)
AST cache: 2551/2999 files served from cache (85%); 448 to extract
AST extraction: 100/448 uncached files (22%) [16 workers]
AST extraction: 200/448 uncached files (44%) [16 workers]
AST extraction: 300/448 uncached files (66%) [16 workers]
AST extraction: 400/448 uncached files (89%) [16 workers]
AST extraction: 448/448 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: 144 code file(s) yielded no symbols (0.14 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 (+139 more)
[graphify watch] community set changed since labeling (0 saved labels, 1157 communities now; renamed 110 community(ies) by their hub). Run `graphify label` to refresh names with the LLM.
Graph has 19289 nodes (above 5000 limit). Building aggregated community view...
graph.html written (aggregated: 1157 community nodes, 3214 cross-community edges)
Tip: run with --obsidian for full node-level detail.
[graphify watch] Rebuilt: 19289 nodes, 47415 edges, 1157 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.
File diff suppressed because one or more lines are too long
@@ -1,7 +0,0 @@
Test Suites: 4 passed, 4 total
Tests: 69 passed, 69 total
Snapshots: 0 total
Time: 18.67 s
Ran all test suites matching src/attachment-action-lifetime.test.tsx|src/attachments.test.tsx|src/dialog-text.test.tsx|src/file-picker-activation.test.tsx.
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\attachment-blob-green.json
File diff suppressed because one or more lines are too long
@@ -1,640 +0,0 @@
console.error
Error: Uncaught [TypeError: URL.revokeObjectURL is not a function]
at reportException (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
at Timeout.task [as _onTimeout] (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\node_modules\jsdom\lib\jsdom\browser\Window.js:584:9)
at listOnTimeout (node:internal/timers:635:17)
at processTimers (node:internal/timers:571:7) {
detail: TypeError: URL.revokeObjectURL is not a function
at revokeObjectURL (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\src\components\Attachments.tsx:236:35)
at Timeout.task [as _onTimeout] (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\node_modules\jsdom\lib\jsdom\browser\Window.js:579:19)
at listOnTimeout (node:internal/timers:635:17)
at processTimers (node:internal/timers:571:7),
type: 'unhandled exception'
}
at VirtualConsole.<anonymous> (node_modules/@jest/environment-jsdom-abstract/build/index.js:87:23)
at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:584:9)
console.error
Error: Uncaught [TypeError: URL.revokeObjectURL is not a function]
at reportException (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
at Timeout.task [as _onTimeout] (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\node_modules\jsdom\lib\jsdom\browser\Window.js:584:9)
at listOnTimeout (node:internal/timers:635:17)
at processTimers (node:internal/timers:571:7) {
detail: TypeError: URL.revokeObjectURL is not a function
at revokeObjectURL (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\src\components\Attachments.tsx:236:35)
at Timeout.task [as _onTimeout] (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\node_modules\jsdom\lib\jsdom\browser\Window.js:579:19)
at listOnTimeout (node:internal/timers:635:17)
at processTimers (node:internal/timers:571:7),
type: 'unhandled exception'
}
at VirtualConsole.<anonymous> (node_modules/@jest/environment-jsdom-abstract/build/index.js:87:23)
at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:584:9)
console.error
Error: Uncaught [TypeError: URL.revokeObjectURL is not a function]
at reportException (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\node_modules\jsdom\lib\jsdom\living\helpers\runtime-script-errors.js:66:24)
at Timeout.task [as _onTimeout] (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\node_modules\jsdom\lib\jsdom\browser\Window.js:584:9)
at listOnTimeout (node:internal/timers:635:17)
at processTimers (node:internal/timers:571:7) {
detail: TypeError: URL.revokeObjectURL is not a function
at revokeObjectURL (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\src\components\Attachments.tsx:236:35)
at Timeout.task [as _onTimeout] (C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\job-tracker-ui\node_modules\jsdom\lib\jsdom\browser\Window.js:579:19)
at listOnTimeout (node:internal/timers:635:17)
at processTimers (node:internal/timers:571:7),
type: 'unhandled exception'
}
at VirtualConsole.<anonymous> (node_modules/@jest/environment-jsdom-abstract/build/index.js:87:23)
at reportException (node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:70:28)
at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:584:9)
FAIL src/attachment-action-lifetime.test.tsx (13.737 s)
● late attachment Download after unmount / resolve cannot expose an obsolete blob
expect(jest.fn()).not.toHaveBeenCalled()
Expected number of calls: 0
Received number of calls: 1
1: {}
136 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); });
137 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); });
> 138 | expect(URL.createObjectURL).not.toHaveBeenCalled();
| ^
139 | expect(click).not.toHaveBeenCalled();
140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();
at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:138:37)
● late attachment Download after unmount / reject cannot expose an obsolete blob
expect(element).not.toBeInTheDocument()
expected document not to contain element, found <div class="MuiAlert-message css-zioonp-MuiAlert-message">Download failed.</div> instead
139 | expect(click).not.toHaveBeenCalled();
140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
> 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();
| ^
142 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();
143 | } finally {
144 | view.unmount(); click.mockRestore();
at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:141:79)
● late attachment Download after job change / resolve cannot expose an obsolete blob
expect(jest.fn()).not.toHaveBeenCalled()
Expected number of calls: 0
Received number of calls: 1
1: {}
136 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); });
137 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); });
> 138 | expect(URL.createObjectURL).not.toHaveBeenCalled();
| ^
139 | expect(click).not.toHaveBeenCalled();
140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();
at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:138:37)
● late attachment Download after job change / reject cannot expose an obsolete blob
expect(element).not.toBeInTheDocument()
expected document not to contain element, found <div class="MuiAlert-message css-zioonp-MuiAlert-message">Download failed.</div> instead
139 | expect(click).not.toHaveBeenCalled();
140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
> 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();
| ^
142 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();
143 | } finally {
144 | view.unmount(); click.mockRestore();
at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:141:79)
● late attachment Download after session / resolve cannot expose an obsolete blob
expect(jest.fn()).not.toHaveBeenCalled()
Expected number of calls: 0
Received number of calls: 1
1: {}
136 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); });
137 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); });
> 138 | expect(URL.createObjectURL).not.toHaveBeenCalled();
| ^
139 | expect(click).not.toHaveBeenCalled();
140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();
at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:138:37)
● late attachment Download after session / reject cannot expose an obsolete blob
expect(element).not.toBeInTheDocument()
expected document not to contain element, found <div class="MuiAlert-message css-zioonp-MuiAlert-message">Download failed.</div> instead
139 | expect(click).not.toHaveBeenCalled();
140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
> 141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();
| ^
142 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();
143 | } finally {
144 | view.unmount(); click.mockRestore();
at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:141:79)
● late attachment Preview after unmount / resolve cannot expose an obsolete blob
expect(jest.fn()).not.toHaveBeenCalled()
Expected number of calls: 0
Received number of calls: 1
1: {}
136 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); });
137 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); });
> 138 | expect(URL.createObjectURL).not.toHaveBeenCalled();
| ^
139 | expect(click).not.toHaveBeenCalled();
140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();
at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:138:37)
● late attachment Preview after unmount / reject cannot expose an obsolete blob
expect(element).not.toBeInTheDocument()
expected document not to contain element, found <div class="MuiAlert-message css-zioonp-MuiAlert-message">Preview failed.</div> instead
140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();
> 142 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();
| ^
143 | } finally {
144 | view.unmount(); click.mockRestore();
145 | URL.createObjectURL = originalCreate; URL.revokeObjectURL = originalRevoke;
at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:142:78)
● late attachment Preview after job change / resolve cannot expose an obsolete blob
expect(jest.fn()).not.toHaveBeenCalled()
Expected number of calls: 0
Received number of calls: 1
1: {}
136 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); });
137 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); });
> 138 | expect(URL.createObjectURL).not.toHaveBeenCalled();
| ^
139 | expect(click).not.toHaveBeenCalled();
140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();
at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:138:37)
● late attachment Preview after job change / reject cannot expose an obsolete blob
expect(element).not.toBeInTheDocument()
expected document not to contain element, found <div class="MuiAlert-message css-zioonp-MuiAlert-message">Preview failed.</div> instead
140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();
> 142 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();
| ^
143 | } finally {
144 | view.unmount(); click.mockRestore();
145 | URL.createObjectURL = originalCreate; URL.revokeObjectURL = originalRevoke;
at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:142:78)
● late attachment Preview after session / resolve cannot expose an obsolete blob
expect(jest.fn()).not.toHaveBeenCalled()
Expected number of calls: 0
Received number of calls: 1
1: {}
136 | else await act(async () => { view.rerender(page(77, boundary !== 'unmount')); });
137 | await act(async () => { if (outcome === 'resolve') pending.resolve({ data: new Blob(['private attachment']) }); else pending.reject(new Error('obsolete blob failure')); });
> 138 | expect(URL.createObjectURL).not.toHaveBeenCalled();
| ^
139 | expect(click).not.toHaveBeenCalled();
140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();
at toHaveBeenCalled (src/attachment-action-lifetime.test.tsx:138:37)
● late attachment Preview after session / reject cannot expose an obsolete blob
expect(element).not.toBeInTheDocument()
expected document not to contain element, found <div class="MuiAlert-message css-zioonp-MuiAlert-message">Preview failed.</div> instead
140 | expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
141 | expect(screen.queryByText(translations.en.attachmentsDownloadFailed)).not.toBeInTheDocument();
> 142 | expect(screen.queryByText(translations.en.attachmentsPreviewFailed)).not.toBeInTheDocument();
| ^
143 | } finally {
144 | view.unmount(); click.mockRestore();
145 | URL.createObjectURL = originalCreate; URL.revokeObjectURL = originalRevoke;
at toBeInTheDocument (src/attachment-action-lifetime.test.tsx:142:78)
● delayed attachment Download failure uses the current locale
TypeError: URL.revokeObjectURL is not a function
234 | link.click();
235 | link.remove();
> 236 | window.setTimeout(() => URL.revokeObjectURL(url), 5000);
| ^
237 | } catch (error) {
238 | toast(getApiErrorMessage(error, t("attachmentsDownloadFailed")), "error");
239 | }
at revokeObjectURL (src/components/Attachments.tsx:236:35)
at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:579:19)
● delayed attachment Download failure uses the current locale
TypeError: URL.revokeObjectURL is not a function
234 | link.click();
235 | link.remove();
> 236 | window.setTimeout(() => URL.revokeObjectURL(url), 5000);
| ^
237 | } catch (error) {
238 | toast(getApiErrorMessage(error, t("attachmentsDownloadFailed")), "error");
239 | }
at revokeObjectURL (src/components/Attachments.tsx:236:35)
at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:579:19)
● delayed attachment Download failure uses the current locale
Unable to find an element with the text: Nedlasting mislyktes.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body
style=""
>
<div>
<div
class="MuiBox-root css-0"
>
<div
class="MuiBox-root css-1owejxv"
>
<div
class="MuiBox-root css-0"
>
<p
class="MuiTypography-root MuiTypography-body1 css-1v8ok63-MuiTypography-root"
>
Vedlegg (1)
</p>
<p
class="MuiTypography-root MuiTypography-body2 css-1qf9eb3-MuiTypography-root"
>
Last opp CV-er, søknadsbrev, porteføljer og støttedokumenter for denne søknaden.
</p>
<div
class="MuiBox-root css-x2j9i8"
>
<div
class="MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorDefault MuiChip-outlinedDefault css-1w2bku1-MuiChip-root"
>
<span
class="MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"
>
0 bilder
</span>
</div>
<div
class="MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorDefault MuiChip-outlinedDefault css-1w2bku1-MuiChip-root"
>
<span
class="MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"
>
1 PDF-er
</span>
</div>
<div
class="MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorDefault MuiChip-outlinedDefault css-1w2bku1-MuiChip-root"
>
<span
class="MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"
>
Maks 10 MB hver
</span>
</div>
</div>
</div>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary css-74b9is-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
>
<span
class="MuiButton-icon MuiButton-startIcon MuiButton-iconSizeSmall css-d8i980-MuiButton-startIcon"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-1umw9bq-MuiSvgIcon-root"
data-testid="CloudUploadOutlinedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3M8 13h2.55v3h2.9v-3H16l-4-4z"
/>
</svg>
</span>
Last opp
</button>
<input
hidden=""
multiple=""
type="file"
/>
</div>
<div
class="MuiBox-root css-497k9w"
>
<p
class="MuiTypography-root MuiTypography-body1 css-1g7ym63-MuiTypography-root"
>
Dra og slipp filer her
</p>
<p
class="MuiTypography-root MuiTypography-body2 css-1moljxt-MuiTypography-root"
>
eller bruk opplastingsknappen for å velge dokumenter fra enheten din.
</p>
</div>
<span
aria-atomic="true"
aria-live="polite"
class="MuiBox-root css-ty8jgw"
role="status"
>
Innhold lastet.
</span>
<div
aria-label="Vedlegg (1)"
class="MuiTableContainer-root css-1sde01b-MuiTableContainer-root"
role="region"
tabindex="0"
>
<table
aria-label="Gjeldende dokumenter"
class="MuiTable-root css-1ii7ygr-MuiTable-root"
>
<thead
class="MuiTableHead-root css-1a7iywq-MuiTableHead-root"
>
<tr
class="MuiTableRow-root MuiTableRow-head css-1xtozoh-MuiTableRow-root"
>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-10umtgd-MuiTableCell-root"
scope="col"
>
Navn
</th>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-vgdc2f-MuiTableCell-root"
scope="col"
>
Type
</th>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-by61h7-MuiTableCell-root"
scope="col"
>
Filtype
</th>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-1vxk39h-MuiTableCell-root"
scope="col"
>
...
155 | await act(async () => pending.reject(new Error('synthetic blob failure')));
156 | const key = action === 'Download' ? 'attachmentsDownloadFailed' : 'attachmentsPreviewFailed';
> 157 | expect(await screen.findByText(translations.nb[key])).toBeVisible();
| ^
158 | expect(screen.queryByText(translations.en[key])).not.toBeInTheDocument();
159 | });
160 |
at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27)
at node_modules/@testing-library/dom/dist/query-helpers.js:86:33
at findByText (src/attachment-action-lifetime.test.tsx:157:23)
● delayed attachment Preview failure uses the current locale
TypeError: URL.revokeObjectURL is not a function
234 | link.click();
235 | link.remove();
> 236 | window.setTimeout(() => URL.revokeObjectURL(url), 5000);
| ^
237 | } catch (error) {
238 | toast(getApiErrorMessage(error, t("attachmentsDownloadFailed")), "error");
239 | }
at revokeObjectURL (src/components/Attachments.tsx:236:35)
at Timeout.task [as _onTimeout] (node_modules/jsdom/lib/jsdom/browser/Window.js:579:19)
● delayed attachment Preview failure uses the current locale
Unable to find an element with the text: Forhåndsvisning mislyktes.. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body
style=""
>
<div>
<div
class="MuiBox-root css-0"
>
<div
class="MuiBox-root css-1owejxv"
>
<div
class="MuiBox-root css-0"
>
<p
class="MuiTypography-root MuiTypography-body1 css-1v8ok63-MuiTypography-root"
>
Vedlegg (1)
</p>
<p
class="MuiTypography-root MuiTypography-body2 css-1qf9eb3-MuiTypography-root"
>
Last opp CV-er, søknadsbrev, porteføljer og støttedokumenter for denne søknaden.
</p>
<div
class="MuiBox-root css-x2j9i8"
>
<div
class="MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorDefault MuiChip-outlinedDefault css-1w2bku1-MuiChip-root"
>
<span
class="MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"
>
0 bilder
</span>
</div>
<div
class="MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorDefault MuiChip-outlinedDefault css-1w2bku1-MuiChip-root"
>
<span
class="MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"
>
1 PDF-er
</span>
</div>
<div
class="MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorDefault MuiChip-outlinedDefault css-1w2bku1-MuiChip-root"
>
<span
class="MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"
>
Maks 10 MB hver
</span>
</div>
</div>
</div>
<button
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary css-74b9is-MuiButtonBase-root-MuiButton-root"
tabindex="0"
type="button"
>
<span
class="MuiButton-icon MuiButton-startIcon MuiButton-iconSizeSmall css-d8i980-MuiButton-startIcon"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-1umw9bq-MuiSvgIcon-root"
data-testid="CloudUploadOutlinedIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M19 18H6c-2.21 0-4-1.79-4-4 0-2.05 1.53-3.76 3.56-3.97l1.07-.11.5-.95C8.08 7.14 9.94 6 12 6c2.62 0 4.88 1.86 5.39 4.43l.3 1.5 1.53.11c1.56.1 2.78 1.41 2.78 2.96 0 1.65-1.35 3-3 3M8 13h2.55v3h2.9v-3H16l-4-4z"
/>
</svg>
</span>
Last opp
</button>
<input
hidden=""
multiple=""
type="file"
/>
</div>
<div
class="MuiBox-root css-497k9w"
>
<p
class="MuiTypography-root MuiTypography-body1 css-1g7ym63-MuiTypography-root"
>
Dra og slipp filer her
</p>
<p
class="MuiTypography-root MuiTypography-body2 css-1moljxt-MuiTypography-root"
>
eller bruk opplastingsknappen for å velge dokumenter fra enheten din.
</p>
</div>
<span
aria-atomic="true"
aria-live="polite"
class="MuiBox-root css-ty8jgw"
role="status"
>
Innhold lastet.
</span>
<div
aria-label="Vedlegg (1)"
class="MuiTableContainer-root css-1sde01b-MuiTableContainer-root"
role="region"
tabindex="0"
>
<table
aria-label="Gjeldende dokumenter"
class="MuiTable-root css-1ii7ygr-MuiTable-root"
>
<thead
class="MuiTableHead-root css-1a7iywq-MuiTableHead-root"
>
<tr
class="MuiTableRow-root MuiTableRow-head css-1xtozoh-MuiTableRow-root"
>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-10umtgd-MuiTableCell-root"
scope="col"
>
Navn
</th>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-vgdc2f-MuiTableCell-root"
scope="col"
>
Type
</th>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-by61h7-MuiTableCell-root"
scope="col"
>
Filtype
</th>
<th
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-1vxk39h-MuiTableCell-root"
scope="col"
>
...
155 | await act(async () => pending.reject(new Error('synthetic blob failure')));
156 | const key = action === 'Download' ? 'attachmentsDownloadFailed' : 'attachmentsPreviewFailed';
> 157 | expect(await screen.findByText(translations.nb[key])).toBeVisible();
| ^
158 | expect(screen.queryByText(translations.en[key])).not.toBeInTheDocument();
159 | });
160 |
at waitForWrapper (node_modules/@testing-library/dom/dist/wait-for.js:163:27)
at node_modules/@testing-library/dom/dist/query-helpers.js:86:33
at findByText (src/attachment-action-lifetime.test.tsx:157:23)
Test Suites: 1 failed, 1 total
Tests: 14 failed, 24 skipped, 38 total
Snapshots: 0 total
Time: 14.607 s
Ran all test suites matching src/attachment-action-lifetime.test.tsx with tests matching "obsolete blob|delayed attachment (Download|Preview)".
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\attachment-blob-red.json
@@ -1,81 +0,0 @@
{
"sourceCommit": "19c3ebf11dda33b2a3e7dbebd840588b2517ceb4",
"sourcesLfSha256": {
"job-tracker-ui/src/attachments.test.tsx": "20b023eedce62a660149c8436426bae0c5d2b2410b318069ab7f798fca6bc51b",
"job-tracker-ui/src/components/Attachments.tsx": "dd0b854477ca835e18d630583756e26d253617b705a6488ff0dacec3ca1c0528"
},
"evidenceLfSha256": {
"red.json": "23a2e54d732e1491f3ec2fc172e0a92823549a0e81a51c302b9400f703b90e7c",
"red.txt": "90b1c0dc1d256708eb3ff87c581af499966f779aa7e9bbe8d2f8aacfe3054c74",
"green.json": "7146c1a9e9c385b91c5dfeae93e8fd201107654b69b9ccbf941a3183b8ec4b61",
"green.txt": "1cc7f5792ae9702fe9ae9b3cc5ff4156910309162cec7199164a9f8079ece557",
"final.json": "90bab17ac6466165fd35baef455d3469082ea33d2db38d622f0c9beae19e7fa3",
"final.txt": "3532f2224a18b598cbf8dbd8157c6565e255405412d696e72ec588ed720ddbc2",
"verified.json": "e87f1e17e0751999b1e41231636ff671090990375fbf22038489e36d02ef2418",
"verified.txt": "a61cfbddf10a764af4c4921ff8884ecf45a7be21db95f38b6a564dd9ad6191da",
"typecheck.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"nativeReceipts": [
{
"path": "red.json",
"gzipPath": "red.json.gz",
"rawSha256": "23a2e54d732e1491f3ec2fc172e0a92823549a0e81a51c302b9400f703b90e7c",
"gzipSha256": "e29700ebaea1dd26b8b2a42bbdbcfe79d9f375080d08789b3e44a557a93bc30f"
},
{
"path": "red.txt",
"gzipPath": "red.txt.gz",
"rawSha256": "25c37610b08b0146a7bbebb3e6a80a9d9ce4e5b78ef33b30ff114beebf0da265",
"gzipSha256": "2ff7f2e49a3cbe763480a083366720bc1f6518bafb2dbfe25d9defb8bcd3c980"
},
{
"path": "green.json",
"gzipPath": "green.json.gz",
"rawSha256": "7146c1a9e9c385b91c5dfeae93e8fd201107654b69b9ccbf941a3183b8ec4b61",
"gzipSha256": "a6f06ae85c59f8c37721e87bd67be2ae7004483c6506f2833596d51d48c40d38"
},
{
"path": "green.txt",
"gzipPath": "green.txt.gz",
"rawSha256": "ae2781b82974a5733c8177499ce76f6d659cb8399f7a875175addba7718c6499",
"gzipSha256": "2d4e7c5e90fc3dfb1d42d839b8f985a8b6888d8c51be665597107a6e0096f066"
},
{
"path": "final.json",
"gzipPath": "final.json.gz",
"rawSha256": "90bab17ac6466165fd35baef455d3469082ea33d2db38d622f0c9beae19e7fa3",
"gzipSha256": "a70f652a8785cecc946dd4154cd560a559b0bc223d4ff37042e645a81848f997"
},
{
"path": "final.txt",
"gzipPath": "final.txt.gz",
"rawSha256": "b4a883d235f3c8f18a96e8a88a7c99b898e8efe5cd44117b6462049458f4ae67",
"gzipSha256": "092e2eca279ad9723e5bc91e721a7bfa89b289bab7a259da82c1a4267f7b9c5b"
},
{
"path": "verified.json",
"gzipPath": "verified.json.gz",
"rawSha256": "e87f1e17e0751999b1e41231636ff671090990375fbf22038489e36d02ef2418",
"gzipSha256": "ce932bec7dcdbe22a3204c16f23001fdb473dd990d4b69a8218cbbe096289b08"
},
{
"path": "verified.txt",
"gzipPath": "verified.txt.gz",
"rawSha256": "fe10ee55ac97ec08da725feaa26ec03187cc8e9dbe72c530249a32881ba05228",
"gzipSha256": "057baedc19828239c13e6ff2182665abf28eef114493f91e831d916205faae23"
},
{
"path": "typecheck.txt",
"gzipPath": "typecheck.txt.gz",
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
},
{
"path": "lint.txt",
"gzipPath": "lint.txt.gz",
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
}
]
}
File diff suppressed because one or more lines are too long
@@ -1,7 +0,0 @@
Test Suites: 3 passed, 3 total
Tests: 29 passed, 29 total
Snapshots: 0 total
Time: 17.838 s
Ran all test suites matching src/attachments.test.tsx|src/dialog-text.test.tsx|src/file-picker-activation.test.tsx.
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\attachment-dialog-final.json
File diff suppressed because one or more lines are too long
@@ -1,76 +0,0 @@
FAIL src/attachments.test.tsx
● pending attachment rename follows en to nb without changing file data
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
57 | }
58 | expect(dialog.querySelector('draft')).toBeNull();
> 59 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
60 | fireEvent.click(within(dialog).getByRole('button', { name: translations[to].cancel }));
61 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
62 | expect(mockedApi.patch).not.toHaveBeenCalled();
at toHaveBeenCalledTimes (src/attachments.test.tsx:59:27)
● pending attachment rename follows nb to en without changing file data
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
57 | }
58 | expect(dialog.querySelector('draft')).toBeNull();
> 59 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
60 | fireEvent.click(within(dialog).getByRole('button', { name: translations[to].cancel }));
61 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
62 | expect(mockedApi.patch).not.toHaveBeenCalled();
at toHaveBeenCalledTimes (src/attachments.test.tsx:59:27)
● pending attachment delete follows en to nb without changing file data
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
57 | }
58 | expect(dialog.querySelector('draft')).toBeNull();
> 59 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
60 | fireEvent.click(within(dialog).getByRole('button', { name: translations[to].cancel }));
61 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
62 | expect(mockedApi.patch).not.toHaveBeenCalled();
at toHaveBeenCalledTimes (src/attachments.test.tsx:59:27)
● pending attachment delete follows nb to en without changing file data
expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 2
57 | }
58 | expect(dialog.querySelector('draft')).toBeNull();
> 59 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
| ^
60 | fireEvent.click(within(dialog).getByRole('button', { name: translations[to].cancel }));
61 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
62 | expect(mockedApi.patch).not.toHaveBeenCalled();
at toHaveBeenCalledTimes (src/attachments.test.tsx:59:27)
Test Suites: 1 failed, 2 passed, 3 total
Tests: 4 failed, 25 passed, 29 total
Snapshots: 0 total
Time: 11.698 s
Ran all test suites matching src/attachments.test.tsx|src/dialog-text.test.tsx|src/file-picker-activation.test.tsx.
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\attachment-dialog-green.json

Some files were not shown because too many files have changed in this diff Show More