Compare commits

..

10 Commits

67 changed files with 9427 additions and 16 deletions
@@ -32,3 +32,7 @@ Minimatch 11.0.9 requires Node 20 or >=22. Verification uses the recorded local
- NOT RUN: full build/browser lane, Jest suite (Jest and runtime dependencies unchanged), backend, hosted CI, providers, live models, native/device/AT, formal integrated security scan, deployed or production validation. No runtime/UI/document behavior claim is made from tooling checks.
`evidence/SOURCE_RECEIPTS.json` binds exact source hashes, commands, versions, exits, and native gzip receipts. Raw subprocess stdout/stderr bytes avoid Windows PowerShell encoding conversion. Official registry metadata and advisory/fix sources are retained with hashes. Parent integration must rerun the narrow checks after a fresh locked install; rollback is a revert and locked reinstall, which restores the affected nested version. No push, main merge, orchestrator action, or deployment was performed.
## Root recovery qualification, 18 November 2026
The isolated candidate remained source-identical to efa438201 through the usage-limit interruption. Root ran the standard Next16.4.6 build: compile, TypeScript and static export passed exit0 without warning bypass. Root also repeated the two glob and two redirect regressions, all passing; repeated cases are not added to prior test totals. Exact native outputs are gzip-bound in the receipt. No browser or formal integrated security qualification is implied. Earlier NOT RUN build statement is historical and superseded by this scoped result; Node20/Linux/hosted checks remain separate.
@@ -217,6 +217,29 @@
"rawSha256": "7ad6c03b16aa7ae15777766b0a09681846373f7f49bfff351127b1b74cab3824",
"gzipSha256": "0c0830bbf261fcac0d5a6360624da9659936f1815930461c822f3f6f81a7d3a0",
"rawBytes": 86
},
{
"path": "root-build.txt.gz",
"rawSha256": "06b4d1c773298c49d5b45559fbbfec44e87ae9fb70f1dd063f546174840816db",
"gzipSha256": "16605e62e1df79add88c7ebe18f78841d5507c184082e18612c2e6420bce4853",
"rawBytes": 1196,
"nativeEncoding": "UTF-16LE BOM (Windows PowerShell)"
},
{
"path": "root-glob-tests.txt.gz",
"rawSha256": "1d0c63a81afac70ba172093f95a41fada0a25e7e34fb1a7b08f57d8d06daa30b",
"gzipSha256": "7c680314d8ab2799e64e381f8ff3d43add7a2a60a6304df4c7327dbdcfacf718",
"rawBytes": 746,
"nativeEncoding": "UTF-16LE BOM (Windows PowerShell)"
},
{
"path": "root-redirect-tests.txt.gz",
"rawSha256": "0c7aa85745a86b23809ec7ab55d55b6c8aa13d5cfa1dae0b59dca5a9fcaade5d",
"gzipSha256": "4822218c9647b819d138866918e04fc49ebdb115e1f26374432145a246c4df39",
"rawBytes": 762,
"nativeEncoding": "UTF-16LE BOM (Windows PowerShell)"
}
]
],
"sourceCommit": "efa438201c66d74149d76646ea9243efa145c10f",
"rootVerification": "18 November 2026: normal Next16.4.6 build/TypeScript/static export exit0; glob2 and redirect2 tests exit0 (repeat of existing cases)."
}
@@ -0,0 +1,33 @@
# Local language choice on the anonymous landing page
18 November 2026. Baseline A3 `0765b15133da62b86fcc9a8bc29eb8d39c42d1a9`; isolated branch `codex/landing-local-language`. This is a two-line consumer fix, not a public-site redesign, new locale, commercial claim or launch acceptance.
## Behavior and boundary
The landing page first reads `/auth/me`: an authenticated result redirects to `/dashboard`; the anonymous/failure branch shows the public page. Its language toggle previously called the account-persisting `setLanguage`, attempting `/auth/preferences/language` despite being a public entry. The existing [landing baseline review](visual-correction/LANDING_BASELINE_REVIEW.md) observed 24 rejected preference requests across 12 controlled journeys. `LandingPage.tsx` has the same original Git blob `8d7bdb3d70954186af78be32d4cf422fdce584d2` at that historical baseline and the current A3 baseline, so the finding was not inferred from missing manual review.
Only `LandingPage` now passes the existing `setLocalLanguage` to `StackLanguageToggle`. EN/NB content, HTML language and browser-local choice still update and survive a fresh provider mount. The shared toggle, `I18nProvider`, authenticated account writer, failure/retry behavior, server-preference hydration, login/deep-link intent and auth redirect are unchanged. Account preference PUTs remain available to authenticated callers; no runtime auth heuristic, new option or second preference store is added. No new strings, visual layout, provider/model, API/schema/dependency or document-renderer change.
## Red/green verification
The existing landing-language case was extended to cover both EN→NB and NB→EN, localStorage/HTML/content, remount and zero preference PUTs. A separate authenticated-redirect control verifies the public page is not presented after a successful session read.
- Original runtime source with the new tests: **FAILED two cases / passed two controls**. Both failures were the zero-PUT assertion: exactly one rejected account-writer attempt would have occurred (`nb-NO` or `en`). Content/local language assertions had already passed. This is fresh deterministic JSDOM failure proof, separate from the older browser baseline.
- Fixed final affected run: **13 cases / three suites PASSED**, zero failures/skips. Suites: `landing-page.test.tsx`, unchanged `i18n-provider.test.tsx`, unchanged `LandingPage.authRedirect.test.tsx`. Existing tests retain persisted account saves, localized retries, hydration without writeback and deep-link forwarding. Intermediate results overlap and are not added to 13.
- PASSED: full non-incremental TypeScript (`--noEmit --incremental false`), scoped ESLint for the two changed files, and source diff whitespace check, exit 0 each. No source or rule warnings were suppressed.
Commands ran from `job-tracker-ui` with the existing qualified modules accessed through this worktree's own read-only junction to `next-security-patch/job-tracker-ui/node_modules`. No installation, lockfile or shared module mutation. Jest cache and TEMP/TMP remained under this E-drive worktree. Core final test command:
```text
rtk proxy node node_modules/jest/bin/jest.js --runInBand --runTestsByPath src/landing-page.test.tsx src/i18n-provider.test.tsx src/LandingPage.authRedirect.test.tsx --cacheDirectory=<owned E-drive cache> --json --outputFile=../docs/ui-modernisation/evidence/landing-local-language/green-jest.json
```
The raw Jest JSON/logs and exact source bindings are in [SOURCE_RECEIPTS.json](evidence/landing-local-language/SOURCE_RECEIPTS.json). Source hashes normalize CRLF to LF; native artifact hashes use exact bytes. PowerShell's stderr wrapper appears as `NativeCommandError` in captured logs, including the successful run; the child exit code and structured Jest outcome determine the result. The original failure messages remain intact.
## Limits and rollback
These are mocked API/JSDOM contract checks. No fresh browser, real preference API, cross-device account operation, public HTML/SEO, human/native-language/device/AT, security or whole-launch qualification is claimed. Root owns subsequent public-entry browser qualification. Existing launch design/claims and other roadmap gates remain open. No orchestrator, push, main merge or deployment.
Rollback restores the two LandingPage setter references and associated regression tests; no data migration or stored preference rollback is required.
Root recovery verification: independently verified all12 source/native receipt bindings and the structured13-case passing result, repeated nonincremental TypeScript and scoped ESLint (exit0), and completed `graphify update . --no-cluster` (19,888 nodes/49,292 edges, AST only). Missing SQL extractor and symbol-free file warnings remain. The worker usage interruption did not lose these changes. No browser result is implied by this checkpoint.
@@ -0,0 +1,26 @@
# Native browser recovery and connected CV qualification
18 November 2026. Recovered A3eb253877 and roadmapb577c506; no test/build processes remained. Root preserved the uncommitted heading assertion and all isolated worker proposals. Source5262bee fixes compact CV heading semantics and two stale native selectors. Native tests a88e260 extend private-CV read recovery to desktop/mobile and add the actual Career Profile-to-CV journey. This is bounded development evidence, not full A3, Phase10, security or release acceptance.
## What changed and why
The original frozen four-suite real-API run completed40 passed/3 failed/43 total. Two application-form tests used retired exact Norsk labels; they now use the established Norsk bokmål accessible name without changing application language behavior. The third failed all-enabled axe heading-order: compact editor navigation replaced the level-two editor heading with a dropdown, leaving Sections at level three. The editor now always retains its level-two heading, using the existing MUI visually-hidden pattern in compact layouts. No visual spacer/duplicate visible heading, document mutation, renderer or design replacement was introduced. A strengthened existing mobile unit case failed on original runtime source; all104 affected unit cases now pass. Native red/green outputs are retained, including existing JSDOM focus/act warnings, which were not suppressed.
The original three native failures now pass in the focused four-case run; that run still FAILED overall because the new unqualified CV journey initially used Experience where the server outline exposes Professional Experience. That selector was corrected from the actual accessible snapshot; application code was not changed to satisfy the test. The subsequent connected case PASSED. A later two-width read-recovery test exposed a stale preview allowlist: the current editor uses the existing read-only POST /api/cv/preview, not /api/cv/variants/:id/preview. The assertion now permits only that exact POST and settings-only body, retaining unchanged stored version and prohibiting all other writes. The original negative run is preserved. Final read-recovery case PASSED both1440px EN/light and390px Bokmål/dark with GET-only retry, editor focus, no persisted CV change, no root overflow and complete all-enabled axe/target-size vectors. One test covers two configurations; this is not two distinct tests.
## Connected source-selection journey
The existing library tests create blank CVs; prior edit/export suites seeded variants through HTTP. The added native case exercises the missing creation-dialog source-selection path: save a canonical phone change with expected revision, navigate overview→builder, choose From Career Profile, explicitly include contact and Experience while excluding Summary, create the variant, edit one CV-only title, await durable autosave/version, inspect the live preview, then explicitly download PDF at the saved version. It proves no automatic export, no later canonical/history/raw-source/metadata changes, sibling CV equality and unchanged variant after export. Real disposable API/Identity/CSRF/SQLite and existing renderer are used; no model/provider/import engine.
The PDF check covers MIME, filename, %PDF header, download completion, hash and expectedVersion transport, not new PDF metrics, extraction semantics, layout fidelity or physical-print acceptance. Existing accepted renderer evidence is not reopened. The final status comment was corrected after the native pass; executable test logic is unchanged.
## Executed verification and limits
- PASSED: offline locked API restore and Release build; normal Next16.4.6 compile/TypeScript/static export built for API5302; final scoped lint/source diff checks. No warning bypass or production services. Actual local SDK9.0.317; no new backend dependency advisory scan is implied by cached restore.
- PASSED:104 CV editor unit cases; the one strengthened original-case red failure is included in104, not added. Initial focused red selection's103 skips are not final-suite skips.
- Initial real-API four-suite run FAILED40/3; focused original3 failures PASSED while new CV proposal initially FAILED. Separate final responsive recovery1 case/two configurations and connected CV1 case PASSED. These overlap; no fresh all-green43 or sum of overlapping totals is claimed. Original expected negative API errors and SQLite migration warnings remain in native logs.
- Current fixtures use fresh disposable E-drive SQLite; provider/model/import background workers are disabled and external/model/delivery browser requests blocked. Actual backend/renderer routes are distinguished from controlled precommit503 responses. MariaDB/hosted CI/live services, human/device/AT and production remain unqualified.
Root inspected retained desktop/mobile focus viewport screenshots and the populated connected CV capture against the existing A3 reference. Editor-left/preview-right, mobile navigation, readable wrap and visible keyboard focus remain. Full-page images can place sticky elements outside the viewport; viewport captures are separately retained. Synthetic empty-source recovery is not a populated-concept comparison. These samples do not close the34-route/57-group visual discrepancy register or final owner review.
Evidence and exact source/native hashes: [receipts](evidence/native-recovery-20261118/SOURCE_RECEIPTS.json). Native traces and disposable credentials stay outside Git. Rollback restores the small heading delta and test changes; no data rollback or dependency change. Parent read/draft lifetime fixes and later dependency candidates retain their own source-bound evidence. No orchestrator, main merge or deployment.
@@ -0,0 +1,91 @@
{
"baseline": "0765b15133da62b86fcc9a8bc29eb8d39c42d1a9",
"redRuntimeSource": "0765b15133da62b86fcc9a8bc29eb8d39c42d1a9",
"redOriginalLandingBlob": "8d7bdb3d70954186af78be32d4cf422fdce584d2",
"hashPolicy": "UTF8 source normalized LF; native reports/logs exact raw bytes",
"node": "v24.19.0",
"sources": [
{
"file": "job-tracker-ui/src/views/LandingPage.tsx",
"sha256Lf": "7669d0a13f2bfcd7b8398fa2105c0f3a5dc5a5130174a61e0d2b42b062da7ce7"
},
{
"file": "job-tracker-ui/src/landing-page.test.tsx",
"sha256Lf": "ef69cffc7c2d05df942e501a9f82e6d5677e36962c1ade4cf8fddfc01f06ea14"
},
{
"file": "job-tracker-ui/src/i18n/I18nProvider.tsx",
"sha256Lf": "d669c3682f3e53e36f8d0ebb8be72706996185b9e0f8025c62579c3a3470c7aa"
},
{
"file": "job-tracker-ui/src/i18n-provider.test.tsx",
"sha256Lf": "520b8559ebd0c206649008c98705c24bd8caac7e00a642984a75b11f7d851fbe"
},
{
"file": "job-tracker-ui/src/LandingPage.authRedirect.test.tsx",
"sha256Lf": "3aac7d0b9fa8606765cf657d0d850d448c6bec8ef8e4fa39eebd3c25bb326bf6"
},
{
"file": "job-tracker-ui/jest.config.cjs",
"sha256Lf": "de323cd3aa8693b11a028b2c026682f05ab988d182ed860861a051d66e53c286"
}
],
"reports": [
{
"file": "red-jest.json",
"bytes": 4929,
"sha256": "d5822546a5bcb980202b7df9e95ee9a02a83ed34e1b00cdd319a5d4cef1047b0"
},
{
"file": "red-jest.log",
"bytes": 4156,
"sha256": "bec064e62bab12b323c63d8db72c237427d9fb1ff26d09e5feb02f6f1f8762d4"
},
{
"file": "green-jest.json",
"bytes": 6423,
"sha256": "6c55ed6ea016b6894deaa840a5a408b5902e16e6ddd5c76a5c4015281922700f"
},
{
"file": "green-jest.log",
"bytes": 1322,
"sha256": "ff585aa79ebb81cf8dd04157a71c15cd00a918cda758127d72dd569e20d1f181"
},
{
"file": "typecheck.log",
"bytes": 0,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
{
"file": "lint.log",
"bytes": 0,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
}
],
"red": {
"passed": 2,
"failed": 2,
"total": 4
},
"green": {
"passed": 13,
"failed": 0,
"pending": 0,
"suites": 3
},
"scope": "Mocked JSDOM public language, authenticated preference, redirect and deep-link contracts; no native browser/API/provider/launch acceptance",
"checks": {
"typecheck": {
"command": "node node_modules/typescript/bin/tsc --noEmit --incremental false",
"exitCode": 0
},
"lint": {
"command": "node node_modules/eslint/bin/eslint.js src/views/LandingPage.tsx src/landing-page.test.tsx",
"exitCode": 0
},
"diff": {
"command": "rtk git diff --check",
"exitCode": 0
}
}
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
{"numFailedTestSuites":1,"numFailedTests":2,"numPassedTestSuites":0,"numPassedTests":2,"numPendingTestSuites":0,"numPendingTests":0,"numRuntimeErrorTestSuites":0,"numTodoTests":0,"numTotalTestSuites":1,"numTotalTests":4,"openHandles":[],"snapshot":{"added":0,"didUpdate":false,"failure":false,"filesAdded":0,"filesRemoved":0,"filesRemovedList":[],"filesUnmatched":0,"filesUpdated":0,"matched":0,"total":0,"unchecked":0,"uncheckedKeysByFile":[],"unmatched":0,"updated":0},"startTime":1794961647677,"success":false,"testResults":[{"assertionResults":[{"ancestorTitles":[],"duration":250,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"shows exactly Free and Pro without invented commercial terms","invocations":1,"location":null,"numPassingAsserts":6,"retryReasons":[],"startAt":1794961651256,"status":"passed","title":"shows exactly Free and Pro without invented commercial terms"},{"ancestorTitles":[],"duration":111,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: \"/auth/preferences/language\", {\"language\": \"nb-NO\"}","pass":true}}],"failureMessages":["Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: \"/auth/preferences/language\", {\"language\": \"nb-NO\"}\n at toHaveBeenCalled (E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\landing-local-language\\job-tracker-ui\\src\\landing-page.test.tsx:54:23)"],"fullName":"public landing language en → Norsk bokmål survives remount without an account preference write","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794961651507,"status":"failed","title":"public landing language en → Norsk bokmål survives remount without an account preference write"},{"ancestorTitles":[],"duration":117,"failing":false,"failureDetails":[{"matcherResult":{"message":"expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: \"/auth/preferences/language\", {\"language\": \"en\"}","pass":true}}],"failureMessages":["Error: expect(jest.fn()).not.toHaveBeenCalled()\n\nExpected number of calls: 0\nReceived number of calls: 1\n\n1: \"/auth/preferences/language\", {\"language\": \"en\"}\n at toHaveBeenCalled (E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\landing-local-language\\job-tracker-ui\\src\\landing-page.test.tsx:54:23)"],"fullName":"public landing language nb → English survives remount without an account preference write","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794961651623,"status":"failed","title":"public landing language nb → English survives remount without an account preference write"},{"ancestorTitles":[],"duration":76,"failing":false,"failureDetails":[],"failureMessages":[],"fullName":"an authenticated landing visitor still redirects without changing account language","invocations":1,"location":null,"numPassingAsserts":3,"retryReasons":[],"startAt":1794961651741,"status":"passed","title":"an authenticated landing visitor still redirects without changing account language"}],"endTime":1794961651832,"message":" ● public landing language en → Norsk bokmål survives remount without an account preference write\n\n expect(jest.fn()).not.toHaveBeenCalled()\n\n Expected number of calls: 0\n Received number of calls: 1\n\n 1: \"/auth/preferences/language\", {\"language\": \"nb-NO\"}\n\n 52 | expect(localStorage.getItem(\"uiLanguage\")).toBe(local);\n 53 | expect(document.documentElement.lang).toBe(htmlLanguage);\n > 54 | expect(api.put).not.toHaveBeenCalled();\n | ^\n 55 |\n 56 | view.unmount();\n 57 | render(<MemoryRouter><I18nProvider><LandingPage /></I18nProvider></MemoryRouter>);\n\n at toHaveBeenCalled (src/landing-page.test.tsx:54:23)\n\n ● public landing language nb → English survives remount without an account preference write\n\n expect(jest.fn()).not.toHaveBeenCalled()\n\n Expected number of calls: 0\n Received number of calls: 1\n\n 1: \"/auth/preferences/language\", {\"language\": \"en\"}\n\n 52 | expect(localStorage.getItem(\"uiLanguage\")).toBe(local);\n 53 | expect(document.documentElement.lang).toBe(htmlLanguage);\n > 54 | expect(api.put).not.toHaveBeenCalled();\n | ^\n 55 |\n 56 | view.unmount();\n 57 | render(<MemoryRouter><I18nProvider><LandingPage /></I18nProvider></MemoryRouter>);\n\n at toHaveBeenCalled (src/landing-page.test.tsx:54:23)\n","name":"E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\landing-local-language\\job-tracker-ui\\src\\landing-page.test.tsx","startTime":1794961648624,"status":"failed","summary":""}],"wasInterrupted":false}
@@ -0,0 +1,191 @@
{
"sourceCommit": "a88e260d3983ae5afec55a13f9af5db264b1cb2b",
"initialBrowserSource": "eb2538772e1bfabbeb291e4a5efa177c79074de1",
"nativeRuntimeParent": "336bc09987e5f3eb7b21c3a312284d9e45b3b9fc",
"headingSource": "5262bee15a8d861b7cc3cf74e4737fc0c430681e",
"sourceGitBlobSha256": {
"job-tracker-ui/src/views/CvBuilderEditor.tsx": "69148f1258eea0b4aa3af6f1e8de7b1b94f519f62fe49213b3fe6c3686729f42",
"job-tracker-ui/src/cv-builder-deep-link.test.tsx": "c554ec3e5fc5d719f8cc1cc0b82c94c08e658a81cbc3c0758056638014dcc8ad",
"job-tracker-ui/e2e/phase7-application-forms.spec.ts": "8c245e7fd956387309ee69fdaa8f18cb0f90297c7770669494c800f1488336a5",
"job-tracker-ui/e2e/phase7-documents.spec.ts": "fb8a58eadf8608d49f03697c33f8317af59d1239442dc09a81619d7d97f418a4",
"job-tracker-ui/e2e/phase7-cv-library.spec.ts": "563212a7680addeed7fccf18199b8476177b88d3b202885fa99108c278de97b0",
"job-tracker-ui/package.json": "8b31e44c10b77b6d1e007af04c757c0577f12972ff3f6c7079bbc4c446a0d415",
"job-tracker-ui/package-lock.json": "ac90fbdc79e2e0f23d54748814b41a03f5dcaf8fd27291b3dcb73b2603a83e72",
"job-tracker-ui/playwright.config.ts": "9252c961ac2779485bb72b24c31d526773d7c09f764eca638c4c1d47235e9f65"
},
"nativeReceipts": [
{
"path": "api-restore.txt",
"canonicalSha256": "7feb75a1b6005566d4cd69ff6a48308fc2786eb865d6d9dce18a53fb45e86dce",
"rawSha256": "b578ab64f473443d27572bba59079ace7fd053e886be168ef6e1508d0485dba2",
"gzipSha256": "d3fddb904b8a80c726e5c68caa35a98e69d11019fa02951041b3da253a57564d",
"nativeEncoding": "utf-16"
},
{
"path": "api-build.txt",
"canonicalSha256": "1a94415c416747789800964bd9932d099de13e94c94e019194a03bf3812cf2e5",
"rawSha256": "d0e73ae561e059c6d5ab608e2c1b4d952e30647d664a713981d6d8af6342eb0f",
"gzipSha256": "b8eafe52d1d302916d0f8665099d92d728f0161321b6177f6dd466725b9bea15",
"nativeEncoding": "utf-16"
},
{
"path": "frontend-build.txt",
"canonicalSha256": "5dbc7c2d8812c85d7872937ec4c3101a163bca61cf2da2ee62ffe1ec2dbf4917",
"rawSha256": "61c3858e252236df3bc5a2f26b9c7e8689b23ef11b9d5f420c0cda8a9932a41f",
"gzipSha256": "09b5d7e79246aa43db9fcc71f54c67dd9e33b259a4d49d92c2a3fb5f3246df6e",
"nativeEncoding": "utf-16"
},
{
"path": "browser-results.json",
"canonicalSha256": "86ea46b4ba0a8f605538f4d4e0e87aaace22da96d4ee80931ff567228ca5b16d",
"rawSha256": "86ea46b4ba0a8f605538f4d4e0e87aaace22da96d4ee80931ff567228ca5b16d",
"gzipSha256": "7458337f068f482dd746bff85b20f0f767024fe3bcd56b783cba2e092f3a8a41",
"nativeEncoding": "utf-8-sig"
},
{
"path": "browser-run.txt",
"canonicalSha256": "eac1aa76d4d9c1273b83c862ceb708573534cbeb9790ba7865eb2efd4bca72ca",
"rawSha256": "2f328d91a5d0f659d82dec19c7e01d1b542930ff822e1d5b30c750089fc1649d",
"gzipSha256": "30c55bfda870a4d7cb8e7ca18cf12230b987788d5b77a4b5ca0561e5922fa53c",
"nativeEncoding": "utf-16"
},
{
"path": "cv-heading-red.json",
"canonicalSha256": "8c8beb639129c0755f893e8fcb018fb66df2cc44b0df7871093445996627cf46",
"rawSha256": "8c8beb639129c0755f893e8fcb018fb66df2cc44b0df7871093445996627cf46",
"gzipSha256": "4fac5a2b37c2b6935ef0cd411e9881f92360fcc999497a56b52a43c5a2da2e36",
"nativeEncoding": "utf-8-sig"
},
{
"path": "cv-heading-red.txt",
"canonicalSha256": "b82c025958361d80713d2f9337df857ff0e936d49379349f5cc2a8f663d56968",
"rawSha256": "84ed92f02302342e6eb318bc9363b9e643ae29cd638aa9a7a80e1e0d9ecfee98",
"gzipSha256": "af2129b1cce68fcea573a946d9c702fbf47a8896aab855d127585c365b9af830",
"nativeEncoding": "utf-16"
},
{
"path": "cv-heading-green.json",
"canonicalSha256": "a6ea225fd2848130390eeb5123821db86c09d59c8f5b5b50616ab7acb4013386",
"rawSha256": "a6ea225fd2848130390eeb5123821db86c09d59c8f5b5b50616ab7acb4013386",
"gzipSha256": "b41dd0b89d122d80b2f1c648d700f0a05176718a5ca859ccd324c44997bd95b7",
"nativeEncoding": "utf-8-sig"
},
{
"path": "cv-heading-green.txt",
"canonicalSha256": "d2b05eeee257410ad3a6b530bb72e5d4f0f41bcace37cf684831938a84113a7b",
"rawSha256": "5454e5295d78f005d6109fb179b988762fbee75ee0f2ed55ce477d49527d8362",
"gzipSha256": "1fc18638c4f9574c3003c42be6cad8ed80464b1304e3822c37bb2ce68edcb562",
"nativeEncoding": "utf-16"
},
{
"path": "cv-heading-typecheck.txt",
"canonicalSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e",
"nativeEncoding": "utf-8-sig"
},
{
"path": "cv-heading-lint.txt",
"canonicalSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e",
"nativeEncoding": "utf-8-sig"
},
{
"path": "frontend-build-heading-fixed.txt",
"canonicalSha256": "26e3cc0f02bd0b6a6f338559bf25aa0f0e4292755c638351a171224504fd3e17",
"rawSha256": "83769a829e395600b761337a5abaae1270958235ad96dc6f48f6ffc3af0f7ac6",
"gzipSha256": "1fe6d706d05a573598ccabe21d660d73fc058ea8f9158157ca6a5f48dfe04f73",
"nativeEncoding": "utf-16"
},
{
"path": "browser-focused-fixed.json",
"canonicalSha256": "4a7cd62191ffcac8fb9b0dd41e1ea878aeb4019d4600184d30c053fa15ae4847",
"rawSha256": "4a7cd62191ffcac8fb9b0dd41e1ea878aeb4019d4600184d30c053fa15ae4847",
"gzipSha256": "9925758112f49dcefcc030d4949d8c16795bf4a655336ebd13f33c5c23fd5686",
"nativeEncoding": "utf-8-sig"
},
{
"path": "browser-focused-fixed.txt",
"canonicalSha256": "3a15735b7e3fa94840b2e95aadb1aaf048ff6ff1a2c63796f6e631a00a1b91ad",
"rawSha256": "f877411e7e16354b62f110d833a3a3e694012ca6f20700ae5932828eb8d3e0bc",
"gzipSha256": "0fd9ced9b13377ce8599ceda6e0f3db00f303d1b42c6fb10fc2fea750feb2de3",
"nativeEncoding": "utf-16"
},
{
"path": "cv-recovery-responsive.json",
"canonicalSha256": "bb01271a0650374aea7c114d8e5a20ff1fda30a84920b67ca0ba3fcf46fc8666",
"rawSha256": "bb01271a0650374aea7c114d8e5a20ff1fda30a84920b67ca0ba3fcf46fc8666",
"gzipSha256": "1537a45294f02b1ee1e50c4a8c5ff0921b13def622e1ff66b0054e1feb4b84e6",
"nativeEncoding": "utf-8-sig"
},
{
"path": "cv-recovery-responsive.txt",
"canonicalSha256": "ce39bfa3cf83375232b77c5fb42caa7fa4258bed8f792241cacd00348d8283ca",
"rawSha256": "6e1cc2c5604da6be838953c968fe32bc125e77b5a76923651d1d7309efe4d1af",
"gzipSha256": "9864623effab8db0065efa5a1593d0fc0443957f04bcd2db60f93bfc6c427909",
"nativeEncoding": "utf-16"
},
{
"path": "cv-recovery-responsive-final.json",
"canonicalSha256": "663ee95aa70920448ea1baa1dc9d1c702fa1d20cf526a430743e4ad47275e156",
"rawSha256": "663ee95aa70920448ea1baa1dc9d1c702fa1d20cf526a430743e4ad47275e156",
"gzipSha256": "2d765ad30d14ffa24b71559a095905e81b9ee50f50aaf202f8216271ce6e7100",
"nativeEncoding": "utf-8-sig"
},
{
"path": "cv-recovery-responsive-final.txt",
"canonicalSha256": "055de063beaba35fa882179edbdcc2cf12adefabf8b5e72b639c62da150797b7",
"rawSha256": "5d5403b9ddb2bfb1178e66b84b1f12376cbfc0bb9599e41f879d47c9353c9c9b",
"gzipSha256": "95a680661108f2649d24aaea368d16323890299f7f9a3b179046b2c30437393b",
"nativeEncoding": "utf-16"
},
{
"path": "career-cv-connected-final.json",
"canonicalSha256": "65bf24fcff2b55508ca0096b161845ae1288a71bdd2d15e310788a62583b6987",
"rawSha256": "65bf24fcff2b55508ca0096b161845ae1288a71bdd2d15e310788a62583b6987",
"gzipSha256": "bdfa709f39dcc8128df2a32a559ef6c14e09924e4ed45cdaf890f209e49fbd44",
"nativeEncoding": "utf-8-sig"
},
{
"path": "career-cv-connected-final.txt",
"canonicalSha256": "3a6728ac72a4dda819bfab563046bcd6d6e2fb2d95c84fc13809ab2590d92ad8",
"rawSha256": "c349781fd72b009947d17001467451a0d6ae5006c37a150f7c55c588e77aec6a",
"gzipSha256": "b2151ff7f053f169147e776f295194166a550401e4e5dcf137363b09c9fb95a5",
"nativeEncoding": "utf-16"
},
{
"path": "connected-tests-lint.txt",
"canonicalSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e",
"nativeEncoding": "utf-8-sig"
},
{
"path": "recovered-cv-focus-viewport-en-1440.png",
"canonicalSha256": "0bfeaddd07f094c5e8bca952875b84b83b4eeb35c960666cee32dea16b1dc13f",
"rawSha256": "0bfeaddd07f094c5e8bca952875b84b83b4eeb35c960666cee32dea16b1dc13f",
"gzipSha256": "21660228ca00a66b96cf0b5468750f8d314cc5ce1d67ebe3c2ead2c94e6a4f9a",
"nativeEncoding": "binary"
},
{
"path": "recovered-cv-focus-viewport-nb-390.png",
"canonicalSha256": "1ab42852836dac43dac505aeb70a914f721095573ed58ec8730b4d474420d0ea",
"rawSha256": "1ab42852836dac43dac505aeb70a914f721095573ed58ec8730b4d474420d0ea",
"gzipSha256": "c10941b22927973f960e805ae94dc07233f6d5d2a4b197b89a132cf32841add0",
"nativeEncoding": "binary"
},
{
"path": "connected-selected-source-preview.png",
"canonicalSha256": "ed31400ed257ec00f812014b1064f2e3808c791fa5c9970c9b77f0d166e71cb0",
"rawSha256": "ed31400ed257ec00f812014b1064f2e3808c791fa5c9970c9b77f0d166e71cb0",
"gzipSha256": "c904d33fd9b6da9497952117324347eadfc957013d373b76a3845b871d2627b5",
"nativeEncoding": "binary"
}
],
"limits": [
"The final connected-test pending-status comment was corrected after the passing native run; executable test logic is unchanged.",
"Initial43 and focused reruns overlap; no final all-green43 claim.",
"No native traces/cookies/provider tokens are published."
]
}
@@ -0,0 +1,7 @@
JobTrackerApi -> E:\Storage\Projects\Active\temp docs\jobjakt-local-build\next-security-patch\JobTrackerApi\bin\Release\net9.0\JobTrackerApi.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:24.12
@@ -0,0 +1,2 @@
Determining projects to restore...
Restored E:\Storage\Projects\Active\temp docs\jobjakt-local-build\next-security-patch\JobTrackerApi\JobTrackerApi.csproj (in 1.94 sec).
File diff suppressed because one or more lines are too long
@@ -0,0 +1,69 @@
[WebServer] Using launch settings from ..\JobTrackerApi\Properties\launchSettings.json...
[WebServer] warn: Microsoft.EntityFrameworkCore.Migrations[30200]
[WebServer] An operation of type 'SqlOperation' will be attempted while a rebuild of table 'JobApplications' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[WebServer] warn: Microsoft.EntityFrameworkCore.Migrations[20410]
[WebServer] The migration operation 'PRAGMA foreign_keys = 0;
[WebServer] ' from migration 'AddJobEntityAndProspectStages' cannot be executed in a transaction. If the app is terminated or an unrecoverable error occurs while this operation is being executed then the migration will be left in a partially applied state and would need to be reverted manually before it can be applied again. Create a separate migration that contains just this operation.
[WebServer] warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
[WebServer] No XML encryptor configured. Key {8d6781d6-cb27-4e04-96d8-9d2c668d4543} may be persisted to storage in unencrypted form.
node : [WebServer] (node:13116) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
At line:1 char:543
+ ... ixed.json"; node node_modules/@playwright/test/cli.js test e2e/phase7 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ([WebServer] (no... env being set.:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
Running 4 tests using 1 worker
(node:26540) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
ok 1 [chromium] › e2e\phase7-application-forms.spec.ts:426:1 › [P7-06 forms] live EN/Bokmal retains dirty letter and both answer drafts without asset GET or writes (6.6s)
ok 2 [chromium] › e2e\phase7-application-forms.spec.ts:544:1 › [P7-06 forms] controlled language HTTP503 preserves local dirty drafts and Retry only repeats the language request (5.3s)
x 3 [chromium] › e2e\phase7-cv-library.spec.ts:264:1 › [P7-04 connected C01 C05 C07 C08 C10] native profile save to selected-source CV creation, scoped edit, preview and explicit PDF (12.2s)
(node:38820) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
ok 4 [chromium] › e2e\phase7-documents.spec.ts:106:1 › [P7-11 E08 C05] transient private CV entry recovers GET reads and keyboard focus without saving (3.5s)
1) [chromium] › e2e\phase7-cv-library.spec.ts:264:1 › [P7-04 connected C01 C05 C07 C08 C10] native profile save to selected-source CV creation, scoped edit, preview and explicit PDF
Error: expect(locator).not.toBeChecked() failed
Locator: getByRole('dialog', { name: 'Create a CV', exact: true }).getByRole('checkbox', { name: 'Experience', exact: true })
Expected: not checked
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "not toBeChecked" with timeout 5000ms
- waiting for getByRole('dialog', { name: 'Create a CV', exact: true }).getByRole('checkbox', { name: 'Experience', exact: true })
303 | const contact = dialog.getByRole('checkbox', { name: t.cvEditorIncludeProfileContact, exact: true });
304 | const experience = dialog.getByRole('checkbox', { name: t.cvSectionExperience, exact: true });
> 305 | await expect(contact).not.toBeChecked(); await expect(experience).not.toBeChecked();
| ^
306 | await contact.check(); await experience.check();
307 | await expect(dialog.getByRole('checkbox', { name: t.cvSectionSummary, exact: true })).not.toBeChecked();
308 | await dialog.getByRole('button', { name: t.cvTemplateMinimalName, exact: true }).click();
at E:\Storage\Projects\Active\temp docs\jobjakt-local-build\next-security-patch\job-tracker-ui\e2e\phase7-cv-library.spec.ts:305:73
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
..\..\browser-restoration-20261117\focused-test-results\phase7-cv-library--P7-04-c-1a4fd-it-preview-and-explicit-PDF-chromium\test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: ..\..\browser-restoration-20261117\focused-test-results\phase7-cv-library--P7-04-c-1a4fd-it-preview-and-explicit-PDF-chromium\error-context.md
attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
..\..\browser-restoration-20261117\focused-test-results\phase7-cv-library--P7-04-c-1a4fd-it-preview-and-explicit-PDF-chromium\trace.zip
Usage:
npx playwright show-trace ..\..\browser-restoration-20261117\focused-test-results\phase7-cv-library--P7-04-c-1a4fd-it-preview-and-explicit-PDF-chromium\trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
1 failed
[chromium] › e2e\phase7-cv-library.spec.ts:264:1 › [P7-04 connected C01 C05 C07 C08 C10] native profile save to selected-source CV creation, scoped edit, preview and explicit PDF
3 passed (38.3s)
File diff suppressed because one or more lines are too long
@@ -0,0 +1,280 @@
[WebServer] Using launch settings from ..\JobTrackerApi\Properties\launchSettings.json...
[WebServer] warn: Microsoft.EntityFrameworkCore.Migrations[30200]
[WebServer] An operation of type 'SqlOperation' will be attempted while a rebuild of table 'JobApplications' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[WebServer] warn: Microsoft.EntityFrameworkCore.Migrations[20410]
[WebServer] The migration operation 'PRAGMA foreign_keys = 0;
[WebServer] ' from migration 'AddJobEntityAndProspectStages' cannot be executed in a transaction. If the app is terminated or an unrecoverable error occurs while this operation is being executed then the migration will be left in a partially applied state and would need to be reverted manually before it can be applied again. Create a separate migration that contains just this operation.
[WebServer] warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
[WebServer] No XML encryptor configured. Key {b355c966-7c92-4009-b742-ce3a5c9cdf53} may be persisted to storage in unencrypted form.
node : [WebServer] (node:35552) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
At line:1 char:537
+ ... ults.json"; node node_modules/@playwright/test/cli.js test e2e/phase7 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ([WebServer] (no... env being set.:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
Running 43 tests using 1 worker
(node:37656) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] fail: Microsoft.EntityFrameworkCore.Database.Command[20102]
[WebServer] Failed executing DbCommand (6ms) [Parameters=[@p0='?' (Size = 15), @p1='?' (Size = 11), @p2='?' (DbType = DateTimeOffset), @p3='?' (DbType = DateTimeOffset), @p4='?' (Size = 74), @p5='?' (DbType = Boolean), @p6='?' (DbType = Boolean), @p7='?' (DbType = Int32), @p8='?' (Size = 36), @p9='?' (Size = 11), @p10='?' (DbType = Int32), @p11='?' (Size = 7), @p12='?' (Size = 18), @p13='?' (Size = 18), @p14='?' (DbType = DateTimeOffset)], CommandType='Text', CommandTimeout='30']
[WebServer] INSERT INTO "ApplicationChecklistItems" ("AutoSignal", "Category", "CompletedAt", "CreatedAtUtc", "Description", "IsAutoCompleted", "IsSystemGenerated", "JobApplicationId", "OwnerUserId", "Section", "SortOrder", "Status", "SystemKey", "Title", "UpdatedAtUtc")
[WebServer] VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14)
[WebServer] RETURNING "Id";
[WebServer] fail: Microsoft.EntityFrameworkCore.Update[10000]
[WebServer] An exception occurred in the database while saving changes for context type 'JobTrackerApi.Data.JobTrackerContext'.
[WebServer] Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
[WebServer] ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: ApplicationChecklistItems.JobApplicationId, ApplicationChecklistItems.SystemKey'.
[WebServer] at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
[WebServer] at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
[WebServer] at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
[WebServer] at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
[WebServer] --- End of inner exception stack trace ---
[WebServer] at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
[WebServer] Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
[WebServer] ---> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'UNIQUE constraint failed: ApplicationChecklistItems.JobApplicationId, ApplicationChecklistItems.SystemKey'.
[WebServer] at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
[WebServer] at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
[WebServer] at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
[WebServer] at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
[WebServer] --- End of inner exception stack trace ---
[WebServer] at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChangesAsync(IList`1 entries, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
[WebServer] at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
ok 1 [chromium] › e2e\phase7-application-forms.spec.ts:164:1 › [P7-06 PRES-W01 W04 W10] same-route job navigation waits for owned answers and preserves both jobs on save (11.5s)
ok 2 [chromium] › e2e\phase7-application-forms.spec.ts:227:1 › [P7-11 E08] Strategy failed reads remain distinct from exact not-generated state and retry only GET in both locales (12.3s)
ok 3 [chromium] › e2e\phase7-application-forms.spec.ts:255:1 › [P7-06 forms] held CV read Retry preserves its request and actual attach/replace/detach remain owner scoped (7.5s)
ok 4 [chromium] › e2e\phase7-application-forms.spec.ts:293:1 › [P7-06 forms] long letter failed held Save retains snapshot and dirty restore Cancel writes nothing before additive explicit restore (10.7s)
ok 5 [chromium] › e2e\phase7-application-forms.spec.ts:333:1 › [P7-06 forms] failed held Answers save preserves both drafts and ordinary Notes through explicit recovery and reload (8.4s)
ok 6 [chromium] › e2e\phase7-application-forms.spec.ts:361:1 › [P7-06 forms] actual native capture freezes CV and exact archive bytes after current sources change without renderer mutation (32.7s)
ok 7 [chromium] › e2e\phase7-application-forms.spec.ts:399:1 › [P7-06 forms] failed preserved detail and download retain history and Retry only the original owned read (7.1s)
x 8 [chromium] › e2e\phase7-application-forms.spec.ts:426:1 › [P7-06 forms] live EN/Bokmal retains dirty letter and both answer drafts without asset GET or writes (1.5m)
(node:33852) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
[WebServer] warn: Microsoft.EntityFrameworkCore.Query[20504]
[WebServer] Compiling a query which loads related collections for more than one collection navigation, either via 'Include' or through projection, but no 'QuerySplittingBehavior' has been configured. By default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can potentially result in slow query performance. See https://go.microsoft.com/fwlink/?linkid=2134277 for more information. To identify the query that's triggering this warning call 'ConfigureWarnings(w => w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.
ok 9 [chromium] › e2e\phase7-application-forms.spec.ts:451:1 › [P7-06 forms] real duplicate then failed attach preserves created copy and original without automatic duplicate retry (5.6s)
ok 10 [chromium] › e2e\phase7-application-forms.spec.ts:487:1 › [P7-06 forms] eight finite bilingual theme widths keep long CV, letter, drafts and frozen preview usable with keyboard (1.0m)
x 11 [chromium] › e2e\phase7-application-forms.spec.ts:544:1 › [P7-06 forms] controlled language HTTP503 preserves local dirty drafts and Retry only repeats the language request (1.5m)
(node:36836) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
ok 12 [chromium] › e2e\phase7-career-overview.spec.ts:106:1 › [P7-02 PRES-C04 E09] real SQLite evidence list preserves owner boundaries and existing validation (998ms)
ok 13 [chromium] › e2e\phase7-career-overview.spec.ts:139:3 › [P7-02 PRES-C01 C02 C04 C05 E08 E09] nb/dark 320px overview and factual evidence preserve canonical source and recent CV links (6.1s)
ok 14 [chromium] › e2e\phase7-career-overview.spec.ts:139:3 › [P7-02 PRES-C01 C02 C04 C05 E08 E09] en/light 360px overview and factual evidence preserve canonical source and recent CV links (7.1s)
ok 15 [chromium] › e2e\phase7-career-overview.spec.ts:139:3 › [P7-02 PRES-C01 C02 C04 C05 E08 E09] nb/light 390px overview and factual evidence preserve canonical source and recent CV links (7.8s)
ok 16 [chromium] › e2e\phase7-career-overview.spec.ts:139:3 › [P7-02 PRES-C01 C02 C04 C05 E08 E09] en/dark 768px overview and factual evidence preserve canonical source and recent CV links (7.7s)
ok 17 [chromium] › e2e\phase7-career-overview.spec.ts:139:3 › [P7-02 PRES-C01 C02 C04 C05 E08 E09] nb/dark 1024px overview and factual evidence preserve canonical source and recent CV links (6.3s)
ok 18 [chromium] › e2e\phase7-career-overview.spec.ts:139:3 › [P7-02 PRES-C01 C02 C04 C05 E08 E09] en/light 1280px overview and factual evidence preserve canonical source and recent CV links (6.2s)
ok 19 [chromium] › e2e\phase7-career-overview.spec.ts:139:3 › [P7-02 PRES-C01 C02 C04 C05 E08 E09] nb/light 1440px overview and factual evidence preserve canonical source and recent CV links (6.5s)
ok 20 [chromium] › e2e\phase7-career-overview.spec.ts:139:3 › [P7-02 PRES-C01 C02 C04 C05 E08 E09] en/dark 1920px overview and factual evidence preserve canonical source and recent CV links (6.1s)
ok 21 [chromium] › e2e\phase7-career-overview.spec.ts:191:3 › [P7-02 PRES-C02 E09] unavailable /career/profile stays unknown and retries its reads without writes or false first-run guidance (3.2s)
ok 22 [chromium] › e2e\phase7-career-overview.spec.ts:191:3 › [P7-02 PRES-C02 E09] unavailable /profile-cv/runs stays unknown and retries its reads without writes or false first-run guidance (2.9s)
ok 23 [chromium] › e2e\phase7-career-overview.spec.ts:191:3 › [P7-02 PRES-C02 E09] unavailable /cv/variants stays unknown and retries its reads without writes or false first-run guidance (3.2s)
ok 24 [chromium] › e2e\phase7-career-overview.spec.ts:229:1 › [P7-02 PRES-C04 E09] evidence pending/failure/read retry and failed save preserve drafts across section changes, cancellation and actual deletion (9.7s)
ok 25 [chromium] › e2e\phase7-career-overview.spec.ts:331:1 › [P7-02 PRES-C01 C02] existing raw source copy and history entry remain read-only (2.6s)
ok 26 [chromium] › e2e\phase7-discovery.spec.ts:213:1 › [P7-05 Discovery] saved A to manual search clears saved-result context and preserves native saved rows (3.1s)
ok 27 [chromium] › e2e\phase7-discovery.spec.ts:236:1 › [P7-05 Discovery] held saved B removes A rows, locks all mutations and starts one request (3.3s)
ok 28 [chromium] › e2e\phase7-discovery.spec.ts:274:1 › [P7-05 Discovery] failed saved-run Retry posts the same ID with stable keyboard focus and held progress (4.3s)
ok 29 [chromium] › e2e\phase7-discovery.spec.ts:314:1 › [P7-05 Discovery] mutation failures retain drafts and current rows without offering an unrelated manual-search retry (4.3s)
ok 30 [chromium] › e2e\phase7-discovery.spec.ts:372:1 › [P7-05 Discovery] keyboard native create and alert updates persist; delete Cancel restores focus and held delete starts once (10.9s)
ok 31 [chromium] › e2e\phase7-discovery.spec.ts:459:1 › [P7-05 Discovery] contextual Dismiss preserves a row on real missing-result denial and qualifies intercepted UI recovery (5.8s)
ok 32 [chromium] › e2e\phase7-discovery.spec.ts:530:1 › [P7-05 Discovery] eight finite responsive locale/theme states retain source labels and all-enabled accessibility vectors (20.6s)
ok 33 [chromium] › e2e\phase7-discovery.spec.ts:576:1 › [P7-05 Discovery] header locale change retains drafts, selected saved source and rows without discovery refetch (2.9s)
ok 34 [chromium] › e2e\phase7-documents.spec.ts:76:1 › [P7-07 Documents] seven owned metadata kinds retain honest source actions and frozen provenance after current source deletion (3.8s)
ok 35 [chromium] › e2e\phase7-documents.spec.ts:85:1 › [P7-07 Documents] server pages filter history owned job selection and reload preserve unknown query and hash (6.6s)
ok 36 [chromium] › e2e\phase7-documents.spec.ts:92:1 › [P7-07 Documents] initial503 Retry and incompatible held query expose no stale actions or false empty state (2.9s)
ok 37 [chromium] › e2e\phase7-documents.spec.ts:100:1 › [P7-07 Documents] stale CV opens the existing missing-source error and Back plus explicit Refresh removes its metadata (3.0s)
x 38 [chromium] › e2e\phase7-documents.spec.ts:106:1 › [P7-11 E08 C05] transient private CV entry recovers GET reads and keyboard focus without saving (5.3s)
(node:1576) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
ok 39 [chromium] › e2e\phase7-documents.spec.ts:124:1 › [P7-11 E08] unknown routes have bilingual contextual headings and preserve browser history (7.3s)
ok 40 [chromium] › e2e\phase7-documents.spec.ts:139:1 › [P7-07 Documents] explicit authenticated attachment GET retries exact bytes and a real404 offers only list Refresh (3.6s)
ok 41 [chromium] › e2e\phase7-documents.spec.ts:145:1 › [P7-07 Documents] actual sign-out clears private rows and a separate owner sees only its own metadata (3.9s)
ok 42 [chromium] › e2e\phase7-documents.spec.ts:150:1 › [P7-07 Documents] existing letter source keeps dirty edits on navigation Cancel and reindexes only the explicit saved revision (4.6s)
ok 43 [chromium] › e2e\phase7-documents.spec.ts:158:1 › [P7-07 Documents] eight finite bilingual theme widths retain long metadata keyboard actions and complete axe vectors (20.8s)
1) [chromium] › e2e\phase7-application-forms.spec.ts:426:1 › [P7-06 forms] live EN/Bokmal retains dirty letter and both answer drafts without asset GET or writes
Test timeout of 90000ms exceeded.
Error: page.waitForResponse: Test timeout of 90000ms exceeded.
23 | function hold() { let release!: () => void; const pending = new Promise<void>(resolve => { release = resolve; }); return { pending, release }; }
24 | async function json<T>(response: APIResponse | Response, status = 200): Promise<T> { expect(response.status(), response.url()).toBe(status); return response.json(); }
> 25 | function response(page: Page, method: string, url: string) { return page.waitForResponse(value => value.url() === url && value.request().method() === method); }
| ^
26 | async function keyboard(page: Page, control: Locator) { await control.focus(); await expect(control).toBeFocused(); await page.keyboard.press('Enter'); }
27 | function count(session: Session, method: string, path: string) { return session.requests.filter(value => value.method === method && value.path === path); }
28 | function mutations(session: Session) {
at response (E:\Storage\Projects\Active\temp docs\jobjakt-local-build\next-security-patch\job-tracker-ui\e2e\phase7-application-forms.spec.ts:25:74)
at E:\Storage\Projects\Active\temp docs\jobjakt-local-build\next-security-patch\job-tracker-ui\e2e\phase7-application-forms.spec.ts:430:23
Error: locator.focus: Test timeout of 90000ms exceeded.
Call log:
- waiting for locator('header').first().getByRole('button', { name: 'Norsk', exact: true })
24 | async function json<T>(response: APIResponse | Response, status = 200): Promise<T> { expect(response.status(), response.url()).toBe(status); return response.json(); }
25 | function response(page: Page, method: string, url: string) { return page.waitForResponse(value => value.url() === url && value.request().method() === method); }
> 26 | async function keyboard(page: Page, control: Locator) { await control.focus(); await expect(control).toBeFocused(); await page.keyboard.press('Enter'); }
| ^
27 | function count(session: Session, method: string, path: string) { return session.requests.filter(value => value.method === method && value.path === path); }
28 | function mutations(session: Session) {
29 | // The physical preview uses a read-only POST so draft content stays out of URLs.
at keyboard (E:\Storage\Projects\Active\temp docs\jobjakt-local-build\next-security-patch\job-tracker-ui\e2e\phase7-application-forms.spec.ts:26:71)
at E:\Storage\Projects\Active\temp docs\jobjakt-local-build\next-security-patch\job-tracker-ui\e2e\phase7-application-forms.spec.ts:430:91
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
..\..\browser-restoration-20261117\test-results\phase7-application-forms---65823-without-asset-GET-or-writes-chromium\test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: ..\..\browser-restoration-20261117\test-results\phase7-application-forms---65823-without-asset-GET-or-writes-chromium\error-context.md
attachment #4: trace (application/zip) ─────────────────────────────────────────────────────────
..\..\browser-restoration-20261117\test-results\phase7-application-forms---65823-without-asset-GET-or-writes-chromium\trace.zip
Usage:
npx playwright show-trace ..\..\browser-restoration-20261117\test-results\phase7-application-forms---65823-without-asset-GET-or-writes-chromium\trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
2) [chromium] › e2e\phase7-application-forms.spec.ts:544:1 › [P7-06 forms] controlled language HTTP503 preserves local dirty drafts and Retry only repeats the language request
Test timeout of 90000ms exceeded.
Error: page.waitForResponse: Test timeout of 90000ms exceeded.
23 | function hold() { let release!: () => void; const pending = new Promise<void>(resolve => { release = resolve; }); return { pending, release }; }
24 | async function json<T>(response: APIResponse | Response, status = 200): Promise<T> { expect(response.status(), response.url()).toBe(status); return response.json(); }
> 25 | function response(page: Page, method: string, url: string) { return page.waitForResponse(value => value.url() === url && value.request().method() === method); }
| ^
26 | async function keyboard(page: Page, control: Locator) { await control.focus(); await expect(control).toBeFocused(); await page.keyboard.press('Enter'); }
27 | function count(session: Session, method: string, path: string) { return session.requests.filter(value => value.method === method && value.path === path); }
28 | function mutations(session: Session) {
at response (E:\Storage\Projects\Active\temp docs\jobjakt-local-build\next-security-patch\job-tracker-ui\e2e\phase7-application-forms.spec.ts:25:74)
at E:\Storage\Projects\Active\temp docs\jobjakt-local-build\next-security-patch\job-tracker-ui\e2e\phase7-application-forms.spec.ts:558:25
Error: locator.focus: Test timeout of 90000ms exceeded.
Call log:
- waiting for locator('header').first().getByRole('button', { name: 'Norsk', exact: true })
24 | async function json<T>(response: APIResponse | Response, status = 200): Promise<T> { expect(response.status(), response.url()).toBe(status); return response.json(); }
25 | function response(page: Page, method: string, url: string) { return page.waitForResponse(value => value.url() === url && value.request().method() === method); }
> 26 | async function keyboard(page: Page, control: Locator) { await control.focus(); await expect(control).toBeFocused(); await page.keyboard.press('Enter'); }
| ^
27 | function count(session: Session, method: string, path: string) { return session.requests.filter(value => value.method === method && value.path === path); }
28 | function mutations(session: Session) {
29 | // The physical preview uses a read-only POST so draft content stays out of URLs.
at keyboard (E:\Storage\Projects\Active\temp docs\jobjakt-local-build\next-security-patch\job-tracker-ui\e2e\phase7-application-forms.spec.ts:26:71)
at E:\Storage\Projects\Active\temp docs\jobjakt-local-build\next-security-patch\job-tracker-ui\e2e\phase7-application-forms.spec.ts:559:9
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
..\..\browser-restoration-20261117\test-results\phase7-application-forms---11506-epeats-the-language-request-chromium\test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: ..\..\browser-restoration-20261117\test-results\phase7-application-forms---11506-epeats-the-language-request-chromium\error-context.md
attachment #4: trace (application/zip) ─────────────────────────────────────────────────────────
..\..\browser-restoration-20261117\test-results\phase7-application-forms---11506-epeats-the-language-request-chromium\trace.zip
Usage:
npx playwright show-trace ..\..\browser-restoration-20261117\test-results\phase7-application-forms---11506-epeats-the-language-request-chromium\trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
3) [chromium] › e2e\phase7-documents.spec.ts:106:1 › [P7-11 E08 C05] transient private CV entry recovers GET reads and keyboard focus without saving
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 35
- Array []
+ Array [
+ Object {
+ "description": "Ensure the order of headings is semantically correct",
+ "help": "Heading levels should only increase by one",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.13/heading-order?application=playwright",
+ "id": "heading-order",
+ "impact": "moderate",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": null,
+ "id": "heading-order",
+ "impact": "moderate",
+ "message": "Heading order invalid",
+ "relatedNodes": Array [],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Heading order invalid",
+ "html": "<h3 class=\"MuiTypography-root MuiTypography-subtitle2 css-15jopui\">Sections</h3>",
+ "impact": "moderate",
+ "none": Array [],
+ "target": Array [
+ "h3",
+ ],
+ },
+ ],
+ "tags": Array [
+ "cat.semantics",
+ "best-practice",
+ ],
+ },
+ ]
71 | async function capture(page: Page, info: TestInfo, sample: Sample, state: string) {
72 | await page.evaluate(async () => { await document.fonts.ready; await new Promise<void>(resolve => requestAnimationFrame(() => requestAnimationFrame(() => resolve()))); }); const geometry = await page.evaluate(() => ({ width: innerWidth, height: innerHeight, rootOverflow: Math.max(0, document.documentElement.scrollWidth - document.documentElement.clientWidth), focused: { tag: document.activeElement?.tagName, role: document.activeElement?.getAttribute('role'), name: document.activeElement?.getAttribute('aria-label') }, overflowElements: [...document.querySelectorAll('body *')].filter(node => node.getClientRects().length && getComputedStyle(node).visibility !== 'hidden' && !node.closest('[hidden],[aria-hidden="true"]')).map(node => { const rect = node.getBoundingClientRect(); return { tag: node.tagName, text: node.textContent?.slice(0, 80), left: rect.left, right: rect.right, width: rect.width }; }).filter(node => node.width > 0 && (node.left < -1 || node.right > innerWidth + 1)).slice(0, 20) })); const axe = await new AxeBuilder({ page }).options({ rules: { 'target-size': { enabled: true } } }).analyze(); const name = `p707-documents-${sample.language}-${sample.theme}-${sample.width}-${state}`;
> 73 | await info.attach(`${name}-audit`, { body: JSON.stringify({ sample, state, geometry, boundary, ariaSnapshot: await page.locator('body').ariaSnapshot(), axe: { scope: 'All default-enabled rules plus target-size, no exclusions', testEngine: axe.testEngine, testEnvironment: axe.testEnvironment, toolOptions: axe.toolOptions, violations: axe.violations, incomplete: axe.incomplete, passes: axe.passes.map(rule => ({ id: rule.id, nodes: rule.nodes.length })) }, qualifications: ['Finite local Chromium states; not the full width/language/theme/state cross product.', 'All incomplete nodes retained for triage; no human AT, physical device/software keyboard, real zoom, precise screenshot contrast or production font/photo acceptance.', 'Full-page PNG can be resized and sticky elements captured out of viewport; focus viewport images are separate.', 'Actual MariaDB, model/provider/delivery and production release remain unverified.'] }), contentType: 'application/json' }); await info.attach(name, { body: await page.screenshot({ fullPage: true, animations: 'disabled' }), contentType: 'image/png' }); expect(geometry.rootOverflow).toBe(0); expect(axe.violations).toEqual([]);
| ^
74 | }
75 |
76 | test('[P7-07 Documents] seven owned metadata kinds retain honest source actions and frozen provenance after current source deletion', async ({ page, session }, info) => {
at capture (E:\Storage\Projects\Active\temp docs\jobjakt-local-build\next-security-patch\job-tracker-ui\e2e\phase7-documents.spec.ts:73:1164)
at E:\Storage\Projects\Active\temp docs\jobjakt-local-build\next-security-patch\job-tracker-ui\e2e\phase7-documents.spec.ts:121:3
attachment #3: screenshot (image/png) ──────────────────────────────────────────────────────────
..\..\browser-restoration-20261117\test-results\phase7-documents--P7-11-E0-42786-yboard-focus-without-saving-chromium\test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: ..\..\browser-restoration-20261117\test-results\phase7-documents--P7-11-E0-42786-yboard-focus-without-saving-chromium\error-context.md
attachment #6: trace (application/zip) ─────────────────────────────────────────────────────────
..\..\browser-restoration-20261117\test-results\phase7-documents--P7-11-E0-42786-yboard-focus-without-saving-chromium\trace.zip
Usage:
npx playwright show-trace ..\..\browser-restoration-20261117\test-results\phase7-documents--P7-11-E0-42786-yboard-focus-without-saving-chromium\trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
3 failed
[chromium] › e2e\phase7-application-forms.spec.ts:426:1 › [P7-06 forms] live EN/Bokmal retains dirty letter and both answer drafts without asset GET or writes
[chromium] › e2e\phase7-application-forms.spec.ts:544:1 › [P7-06 forms] controlled language HTTP503 preserves local dirty drafts and Retry only repeats the language request
[chromium] › e2e\phase7-documents.spec.ts:106:1 › [P7-11 E08 C05] transient private CV entry recovers GET reads and keyboard focus without saving
40 passed (9.3m)
File diff suppressed because one or more lines are too long
@@ -0,0 +1,24 @@
[WebServer] Using launch settings from ..\JobTrackerApi\Properties\launchSettings.json...
[WebServer] warn: Microsoft.EntityFrameworkCore.Migrations[30200]
[WebServer] An operation of type 'SqlOperation' will be attempted while a rebuild of table 'JobApplications' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[WebServer] warn: Microsoft.EntityFrameworkCore.Migrations[20410]
[WebServer] The migration operation 'PRAGMA foreign_keys = 0;
[WebServer] ' from migration 'AddJobEntityAndProspectStages' cannot be executed in a transaction. If the app is terminated or an unrecoverable error occurs while this operation is being executed then the migration will be left in a partially applied state and would need to be reverted manually before it can be applied again. Create a separate migration that contains just this operation.
[WebServer] warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
[WebServer] No XML encryptor configured. Key {ef709325-7ed4-49ae-a619-ed2f4431977e} may be persisted to storage in unencrypted form.
node : [WebServer] (node:38752) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
At line:1 char:547
+ ... inal.json"; node node_modules/@playwright/test/cli.js test e2e/phase7 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ([WebServer] (no... env being set.:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
Running 1 test using 1 worker
(node:38188) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
ok 1 [chromium] › e2e\phase7-cv-library.spec.ts:264:1 › [P7-04 connected C01 C05 C07 C08 C10] native profile save to selected-source CV creation, scoped edit, preview and explicit PDF (10.1s)
1 passed (16.1s)
Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

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
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,24 @@
[WebServer] Using launch settings from ..\JobTrackerApi\Properties\launchSettings.json...
[WebServer] warn: Microsoft.EntityFrameworkCore.Migrations[30200]
[WebServer] An operation of type 'SqlOperation' will be attempted while a rebuild of table 'JobApplications' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[WebServer] warn: Microsoft.EntityFrameworkCore.Migrations[20410]
[WebServer] The migration operation 'PRAGMA foreign_keys = 0;
[WebServer] ' from migration 'AddJobEntityAndProspectStages' cannot be executed in a transaction. If the app is terminated or an unrecoverable error occurs while this operation is being executed then the migration will be left in a partially applied state and would need to be reverted manually before it can be applied again. Create a separate migration that contains just this operation.
[WebServer] warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
[WebServer] No XML encryptor configured. Key {ce2ccc4e-3c3c-4c77-b93d-fc8f7510116f} may be persisted to storage in unencrypted form.
node : [WebServer] (node:39180) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
At line:1 char:550
+ ... inal.json"; node node_modules/@playwright/test/cli.js test e2e/phase7 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ([WebServer] (no... env being set.:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
Running 1 test using 1 worker
(node:32420) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
ok 1 [chromium] › e2e\phase7-documents.spec.ts:106:1 › [P7-11 E08 C05] transient private CV entry recovers GET reads and keyboard focus without saving (6.7s)
1 passed (12.7s)
File diff suppressed because one or more lines are too long
@@ -0,0 +1,56 @@
[WebServer] Using launch settings from ..\JobTrackerApi\Properties\launchSettings.json...
[WebServer] warn: Microsoft.EntityFrameworkCore.Migrations[30200]
[WebServer] An operation of type 'SqlOperation' will be attempted while a rebuild of table 'JobApplications' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[WebServer] warn: Microsoft.EntityFrameworkCore.Migrations[20410]
[WebServer] The migration operation 'PRAGMA foreign_keys = 0;
[WebServer] ' from migration 'AddJobEntityAndProspectStages' cannot be executed in a transaction. If the app is terminated or an unrecoverable error occurs while this operation is being executed then the migration will be left in a partially applied state and would need to be reverted manually before it can be applied again. Create a separate migration that contains just this operation.
[WebServer] warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
[WebServer] No XML encryptor configured. Key {0cb31752-4949-4d55-9a87-36067df0fd66} may be persisted to storage in unencrypted form.
node : [WebServer] (node:35044) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
At line:1 char:544
+ ... sive.json"; node node_modules/@playwright/test/cli.js test e2e/phase7 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ([WebServer] (no... env being set.:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
Running 1 test using 1 worker
(node:26328) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
(Use `node --trace-warnings ...` to show where the warning was created)
x 1 [chromium] › e2e\phase7-documents.spec.ts:106:1 › [P7-11 E08 C05] transient private CV entry recovers GET reads and keyboard focus without saving (5.6s)
1) [chromium] › e2e\phase7-documents.spec.ts:106:1 › [P7-11 E08 C05] transient private CV entry recovers GET reads and keyboard focus without saving
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
121 | await expect(page.getByLabel(c('cvEditorName'), { exact: true })).toHaveValue(variant.name);
122 | expect((await json<CvVariant>(await page.request.get(`${apiUrl}/cv/variants/${variant.id}`))).version).toBe(variant.version);
> 123 | expect(writes(session).every(value => value.method === 'POST' && value.path === `/api/cv/variants/${variant.id}/preview`)).toBe(true);
| ^
124 | await capture(page, info, sample, 'recovered-private-cv-entry');
125 | await info.attach(`recovered-cv-focus-viewport-${sample.language}-${sample.width}`, { body: await page.screenshot({ fullPage: false, animations: 'disabled' }), contentType: 'image/png' });
126 | }
at E:\Storage\Projects\Active\temp docs\jobjakt-local-build\next-security-patch\job-tracker-ui\e2e\phase7-documents.spec.ts:123:126
attachment #4: screenshot (image/png) ──────────────────────────────────────────────────────────
..\..\browser-restoration-20261117\cv-recovery-responsive-results\phase7-documents--P7-11-E0-42786-yboard-focus-without-saving-chromium\test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: ..\..\browser-restoration-20261117\cv-recovery-responsive-results\phase7-documents--P7-11-E0-42786-yboard-focus-without-saving-chromium\error-context.md
attachment #7: trace (application/zip) ─────────────────────────────────────────────────────────
..\..\browser-restoration-20261117\cv-recovery-responsive-results\phase7-documents--P7-11-E0-42786-yboard-focus-without-saving-chromium\trace.zip
Usage:
npx playwright show-trace ..\..\browser-restoration-20261117\cv-recovery-responsive-results\phase7-documents--P7-11-E0-42786-yboard-focus-without-saving-chromium\trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
1 failed
[chromium] › e2e\phase7-documents.spec.ts:106:1 › [P7-11 E08 C05] transient private CV entry recovers GET reads and keyboard focus without saving
@@ -0,0 +1,23 @@
> job-tracker-ui@0.1.0 build
> node --max-old-space-size=4096 ./node_modules/next/dist/bin/next build
▲ Next.js 16.4.6 (Turbopack)
✓ Running next.config.js took 35ms
Creating an optimized production build ...
✓ Compiled successfully in 1494ms
Running TypeScript ...
Finished TypeScript in 7.4s ...
Collecting page data using 4 workers ...
Generating static pages using 4 workers (0/3) ...
✓ Generating static pages using 4 workers (3/3) in 867ms
Finalizing page optimization ...
Route (app)
┌ ○ /
└ ○ /_not-found
○ (Static) prerendered as static content
@@ -0,0 +1,23 @@
> job-tracker-ui@0.1.0 build
> node --max-old-space-size=4096 ./node_modules/next/dist/bin/next build
▲ Next.js 16.4.6 (Turbopack)
✓ Running next.config.js took 45ms
Creating an optimized production build ...
✓ Compiled successfully in 790ms
Running TypeScript ...
Finished TypeScript in 16.1s ...
Collecting page data using 4 workers ...
Generating static pages using 4 workers (0/3) ...
✓ Generating static pages using 4 workers (3/3) in 3.6s
Finalizing page optimization ...
Route (app)
┌ ○ /
└ ○ /_not-found
○ (Static) prerendered as static content
Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

@@ -3,6 +3,9 @@ import AxeBuilder from '@axe-core/playwright';
import { translations } from '../src/i18n/translations';
import type { CvTheme, CvVariant, CvVariantSummary } from '../src/cvBuilder';
import { emptyStructuredCv } from '../src/profileCv';
import { readFile } from 'node:fs/promises';
import { createHash } from 'node:crypto';
import type { StructuredCvProfile } from '../src/profileCv';
const apiUrl = 'http://localhost:5302/api';
const password = 'E2ePassword123!';
@@ -257,6 +260,96 @@ test('[P7-04 PRES-C05 C08 E08] locale-retained create draft locks during held fa
qualification: 'Locale is changed through the real header after cancelling the draft dialog. First create is a controlled500; only explicit retry reaches actual HTTP creation. No model/provider or source write.' }), contentType: 'application/json' });
});
// This journey exercises the creation dialog; the import/export suite seeds variants through HTTP.
test('[P7-04 connected C01 C05 C07 C08 C10] native profile save to selected-source CV creation, scoped edit, preview and explicit PDF', async ({ page, owner }, info) => {
test.setTimeout(180_000);
const t = translations.en;
type Career = { revision: number; profile: StructuredCvProfile; cvText: string | null };
await seedSource(page, owner);
const seeded = await json<Career>(await page.request.get(`${apiUrl}/career/profile`));
seeded.profile.metadata.fields['jobs.0.title'] = { method: 'manual', reviewState: 'reviewed', sourceSnippet: 'Synthetic owner-reviewed career source note.' };
await json(await page.request.put(`${apiUrl}/career/profile`, { headers: owner.headers,
data: { expectedVersion: seeded.revision, profile: seeded.profile, cvText: seeded.cvText } }));
const before = await json<Career>(await page.request.get(`${apiUrl}/career/profile`));
expect(before.profile.metadata.fields['jobs.0.title']).toMatchObject(seeded.profile.metadata.fields['jobs.0.title']);
const beforeHistory = await json<unknown[]>(await page.request.get(`${apiUrl}/career/profile/versions`));
const sibling = await createVariant(page.request, owner, 'Untouched connected-journey sibling');
await enter(page, owner);
await page.goto('/career?section=profile');
await page.getByLabel(t.profileCvContactPhone, { exact: true }).fill('+47 900 00 077');
const savedProfile = page.waitForResponse(response => response.url() === `${apiUrl}/career/profile` && response.request().method() === 'PUT');
await page.getByRole('button', { name: t.profileSaveChanges, exact: true }).press('Enter');
const saved = await json<Career>(await savedProfile);
expect((await savedProfile).request().postDataJSON().expectedVersion).toBe(before.revision);
expect(saved.revision).toBe(before.revision + 1);
expect(saved.profile).toEqual({ ...before.profile, contact: { ...before.profile.contact, phone: '+47 900 00 077' } });
expect(saved.cvText).toBe(before.cvText);
const source = await readSource(page.request);
expect(source.canonical).toEqual(saved);
expect(source.history).toHaveLength(beforeHistory.length + 1);
const canonicalWrites: string[] = [];
const exports: string[] = [];
page.on('request', request => {
const url = new URL(request.url());
if (url.pathname === '/api/career/profile' && request.method() === 'PUT') canonicalWrites.push(url.pathname);
if (url.pathname.endsWith('/export-pdf')) exports.push(url.pathname);
});
await page.goto('/career?section=overview');
await page.getByRole('link', { name: t.careerOverviewOpenBuilder, exact: true }).click();
const dialog = await openCreate(page);
const name = 'Explicit selected-source CV — æøå';
await dialog.getByLabel(t.cvEditorName, { exact: false }).fill(name);
await dialog.getByRole('radio', { name: t.cvDashboardFromProfile, exact: true }).check();
const contact = dialog.getByRole('checkbox', { name: t.cvEditorIncludeProfileContact, exact: true });
const experience = dialog.getByRole('checkbox', { name: 'Professional Experience', exact: true });
await expect(contact).not.toBeChecked(); await expect(experience).not.toBeChecked();
await contact.check(); await experience.check();
await expect(dialog.getByRole('checkbox', { name: t.cvSectionSummary, exact: true })).not.toBeChecked();
await dialog.getByRole('button', { name: t.cvTemplateMinimalName, exact: true }).click();
const creating = page.waitForResponse(response => response.url() === `${apiUrl}/cv/variants` && response.request().method() === 'POST');
await dialog.getByRole('button', { name: t.cvDashboardCreateCv, exact: true }).press('Enter');
const created = await json<CvVariant>(await creating);
expect(created.settings).toMatchObject({ sectionsExplicit: true, includeProfileContact: true, sections: [{ key: 'experience' }] });
await expect(page).toHaveURL(new RegExp(`/career/builder/${created.id}(?:[?#]|$)`));
await expect(page.getByLabel(t.cvEditorName, { exact: true })).toHaveValue(name);
const url = `${apiUrl}/cv/variants/${created.id}`;
await page.getByRole('button', { name: t.cvEditorExpandSection.replace('{section}', t.cvSectionExperience), exact: true }).click();
const entry = page.getByRole('group', { name: t.cvSectionExperience, exact: true }).getByRole('group', { name: 'Recorded engineer', exact: true });
const tailored = 'CV-only reviewed community coordinator — æøå';
await entry.getByLabel(t.cvEditorEntryTitle, { exact: true }).fill(tailored);
await expect.poll(async () => (await json<CvVariant>(await page.request.get(url))).settings.overrides['library-source-job']?.title).toBe(tailored);
await expect(page.getByText(t.cvEditorSaved, { exact: true })).toBeVisible();
const edited = await json<CvVariant>(await page.request.get(url));
expect(edited.version).toBeGreaterThan(created.version);
const preview = page.frameLocator(`iframe[title=${JSON.stringify(t.cvEditorPreviewPage.replace('{page}', '1'))}]`).locator('body');
await expect(preview).toContainText(tailored);
await expect(preview).toContainText('+47 900 00 077');
await expect(preview).not.toContainText('Reviewed canonical summary, kept separate from CV-specific presentation.');
await info.attach('connected-selected-source-preview', { body: await page.screenshot({ fullPage: true, animations: 'disabled' }), contentType: 'image/png' });
expect(exports).toEqual([]);
const exported = page.waitForResponse(response => new URL(response.url()).pathname === `/api/cv/variants/${created.id}/export-pdf` && response.request().method() === 'POST');
const downloading = page.waitForEvent('download');
await page.getByRole('button', { name: t.cvEditorDownloadPdf, exact: true }).press('Enter');
const response = await exported;
expect(response.status()).toBe(200);
expect(new URL(response.url()).searchParams.get('expectedVersion')).toBe(String(edited.version));
expect(response.headers()['content-type']).toContain('application/pdf');
const download = await downloading;
expect(download.suggestedFilename()).toMatch(/\.pdf$/i);
const pdfPath = info.outputPath('selected-source-cv.pdf');
await download.saveAs(pdfPath); expect(await download.failure()).toBeNull();
const bytes = await readFile(pdfPath); expect(bytes.subarray(0, 5).toString()).toBe('%PDF-');
expect(exports).toEqual([`/api/cv/variants/${created.id}/export-pdf`]);
expect(canonicalWrites).toEqual([]);
expect(await readSource(page.request)).toEqual(source);
expect(await json<CvVariant>(await page.request.get(`${apiUrl}/cv/variants/${sibling.id}`))).toEqual(sibling);
expect(await json<CvVariant>(await page.request.get(url))).toEqual(edited);
await info.attach('connected-profile-to-cv-contract', { body: JSON.stringify({ created, edited, canonical: source,
pdfSha256: createHash('sha256').update(bytes).digest('hex'), canonicalWrites, exports,
qualification: 'Actual synthetic owner HTTP plus native source-selection/create/edit/preview/export. Manual source-note preservation only; no import-engine/provenance acceptance, PDF semantic/metric/fidelity or human/device qualification.' }), contentType: 'application/json' });
await info.attach('connected-selected-source-pdf', { path: pdfPath, contentType: 'application/pdf' });
});
test('[P7-04 PRES-C05 C07 C10 W07] keyboard rename duplicate and delete persist without changing source, settings or frozen packages', async ({ page, owner }, info) => {
test.setTimeout(90_000);
const sourceBefore = await seedSource(page, owner);
+17 -8
View File
@@ -105,20 +105,29 @@ test('[P7-07 Documents] stale CV opens the existing missing-source error and Bac
test('[P7-11 E08 C05] transient private CV entry recovers GET reads and keyboard focus without saving', async ({ page, session }, info) => {
const variant = await cv(page.request, session.owner, 'Read-only recovery CV');
await enter(page, session.owner);
for (const sample of [desktop, { language: 'nb', theme: 'dark', width: 390, height: 844 }] as Sample[]) {
const c = (key: string) => copy(key, {}, sample.language);
await enter(page, session.owner, sample);
let failed = true;
await page.route(`**/api/cv/variants/${variant.id}`, route => failed ? route.fulfill({ status: 503, json: { title: 'Controlled unavailable read' } }) : route.continue());
await keyboard(page, row(page, { name: variant.name, type: 'cv' }).getByRole('link', { name: copy('documentsOpenSource'), exact: true }));
const alert = page.getByRole('alert').filter({ hasText: copy('cvEditorOpenFailed') });
await keyboard(page, row(page, { name: variant.name, type: 'cv' }, sample.language).getByRole('link', { name: c('documentsOpenSource'), exact: true }));
const alert = page.getByRole('alert').filter({ hasText: c('cvEditorOpenFailed') });
await expect(alert).toBeVisible();
failed = false;
await keyboard(page, alert.getByRole('button', { name: copy('retry'), exact: true }));
const editor = page.getByRole('region', { name: copy('cvEditorEditingRegion'), exact: true });
await keyboard(page, alert.getByRole('button', { name: c('retry'), exact: true }));
const editor = page.getByRole('region', { name: c('cvEditorEditingRegion'), exact: true });
await expect(editor).toBeFocused();
await expect(page.getByLabel(copy('cvEditorName'), { exact: true })).toHaveValue(variant.name);
await expect(page.getByRole('heading', { name: c('cvEditorEditingRegion'), level: 2 })).toHaveCount(1);
await expect(page.getByLabel(c('cvEditorName'), { exact: true })).toHaveValue(variant.name);
expect((await json<CvVariant>(await page.request.get(`${apiUrl}/cv/variants/${variant.id}`))).version).toBe(variant.version);
expect(writes(session).every(value => value.method === 'POST' && value.path === `/api/cv/variants/${variant.id}/preview`)).toBe(true);
await capture(page, info, desktop, 'recovered-private-cv-entry');
for (const request of writes(session)) {
expect(request.method).toBe('POST');
expect(request.path).toBe('/api/cv/preview');
expect(request.body).toEqual({ settings: expect.any(Object) });
}
await capture(page, info, sample, 'recovered-private-cv-entry');
await info.attach(`recovered-cv-focus-viewport-${sample.language}-${sample.width}`, { body: await page.screenshot({ fullPage: false, animations: 'disabled' }), contentType: 'image/png' });
}
});
test('[P7-11 E08] unknown routes have bilingual contextual headings and preserve browser history', async ({ page, session }, info) => {
+27 -5
View File
@@ -1,6 +1,6 @@
import React from "react";
import "@testing-library/jest-dom";
import { fireEvent, render, screen } from "@testing-library/react";
import { fireEvent, render, screen, waitFor } from "@testing-library/react";
import { MemoryRouter } from "react-router-dom";
import { api } from "./api";
@@ -40,10 +40,32 @@ test("shows exactly Free and Pro without invented commercial terms", async () =>
expect(mockNavigate).toHaveBeenCalledWith("/login", { state: { from: "/settings" } });
});
test("switches the public landing page to Norwegian Bokmål", async () => {
test.each([
["en", "Norsk bokmål", "nb", "nb-NO", "To tydelige alternativer"],
["nb", "English", "en", "en", "Two clear plans"],
])("public landing language %s → %s survives remount without an account preference write", async (initial, button, local, htmlLanguage, heading) => {
localStorage.setItem("uiLanguage", initial);
const view = render(<MemoryRouter><I18nProvider><LandingPage /></I18nProvider></MemoryRouter>);
fireEvent.click(await screen.findByRole("button", { name: button }));
expect(await screen.findByRole("heading", { name: heading })).toBeInTheDocument();
expect(localStorage.getItem("uiLanguage")).toBe(local);
expect(document.documentElement.lang).toBe(htmlLanguage);
expect(api.put).not.toHaveBeenCalled();
view.unmount();
render(<MemoryRouter><I18nProvider><LandingPage /></I18nProvider></MemoryRouter>);
expect(await screen.findByRole("heading", { name: heading })).toBeInTheDocument();
expect(api.get).toHaveBeenCalledTimes(2);
expect(api.get).toHaveBeenLastCalledWith("/auth/me");
expect(api.put).not.toHaveBeenCalled();
});
test("an authenticated landing visitor still redirects without changing account language", async () => {
(api.get as jest.Mock).mockResolvedValueOnce({ data: { id: "synthetic-owner" } });
render(<MemoryRouter><I18nProvider><LandingPage /></I18nProvider></MemoryRouter>);
fireEvent.click(await screen.findByRole("button", { name: "Norsk bokmål" }));
expect(await screen.findByRole("heading", { name: "To tydelige alternativer" })).toBeInTheDocument();
expect(screen.getByRole("button", { name: "Opprett en Free-konto" })).toBeInTheDocument();
await waitFor(() => expect(mockNavigate).toHaveBeenCalledWith("/dashboard", { replace: true }));
expect(screen.queryByRole("heading", { name: "Two clear plans" })).not.toBeInTheDocument();
expect(api.put).not.toHaveBeenCalled();
});
+2 -2
View File
@@ -41,7 +41,7 @@ const STEPS: { n: number; title: TranslationKey; body: TranslationKey }[] = [
export default function LandingPage() {
const navigate = useNavigate();
const { language, setLanguage, t } = useI18n();
const { language, setLocalLanguage, t } = useI18n();
const location = useLocation() as { state?: { from?: string } };
const [checking, setChecking] = useState(true);
@@ -99,7 +99,7 @@ export default function LandingPage() {
<Typography sx={{ color: "#fff", fontWeight: 800, fontSize: 20 }}>Jobbjakt</Typography>
</Stack>
<Stack direction="row" alignItems="center" spacing={1}>
<StackLanguageToggle language={language} setLanguage={setLanguage} onDark />
<StackLanguageToggle language={language} setLanguage={setLocalLanguage} onDark />
<GradientButton onClick={goToLogin} sx={{ color: "#0b1020", fontWeight: 700 }}>
{t("landingSignIn")}
</GradientButton>