docs: preserve native browser recovery and connected CV evidence

This commit is contained in:
cesnimda
2026-11-18 01:06:51 +01:00
parent a88e260d39
commit 5e04db9212
50 changed files with 9134 additions and 0 deletions
@@ -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,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