diff --git a/docs/ui-modernisation/CONNECTED_DISCOVERY_TRACKER.md b/docs/ui-modernisation/CONNECTED_DISCOVERY_TRACKER.md new file mode 100644 index 00000000..723d9ef8 --- /dev/null +++ b/docs/ui-modernisation/CONNECTED_DISCOVERY_TRACKER.md @@ -0,0 +1,23 @@ +# Discovery to application: connected native boundary + +18 November 2026. Test-only increment on existing `1db5f488` application/export/API, with pinned dependencies unchanged. The two new cases extend the existing `phase7-discovery.spec.ts` fixture and preserve its external-traffic guard. No provider, model or additional international source was activated. + +## Verified journey + +English/light/1440 desktop and BokmÃ¥l/dark/390 phone: discover a synthetic NAV vacancy, open its synthetic source advert, return to results, explicitly review its import preview, choose an existing company, create one actual tracked application, revisit it through the applications interface and verify its full workspace. Search, external advert HTML and import-preview responses are intercepted. Company setup, application creation (201), subsequent API reads, duplicate lookup and foreign-owner denial (404) execute against the isolated actual API and disposable SQLite database. + +The application GET DTO does not expose canonical job provenance. A read-only SQLite query joins the linked job with both owner IDs constrained, proving retained source `nav` and country `NO`; the existing generated fixture-root/path guard and query-only connection prevent mutation. Career Profile and company data remain unchanged. Advert language is independently `nb`, including during English UI execution. There is one explicit create, with no automatic creation or alternative-application chooser. + +Final result: **2/2 passed, zero skips/unexpected/flaky; four scoped axe scans with zero violations; four retained screenshots**, zero root horizontal overflow. Final TypeScript and scoped ESLint passed. These two cases are additional connected coverage, not a full regression or final A3 acceptance. + +The original two failures were verifier mistakes: provenance was asserted on the application DTO rather than its linked job. After correcting that boundary, one desktop assertion still assumed a link where the real keyboard-enabled table exposes a row; the phone exposes a link. Both original and intermediate outputs are retained. No application changes were made to satisfy those assumptions. + +## Visual review and limits + +The retained desktop workspace shows the approved right-side context and flat section hierarchy. The phone workspace stacks context below content and uses the hybrid bottom navigation. These are full-page captures at the journey's current scroll position: sticky header/bottom navigation appear within the stitched phone image, and the route heading is partly under the header in that capture. This is a capture/scroll review limitation requiring a controlled viewport check, not proof that every screen or header state is accepted. The BokmÃ¥l activity entry still displays the server event text `Created`; synthetic company content is English. These captures do not establish complete native-language acceptance or resolve the existing visual discrepancy register. + +The fixture advert deadline is historical synthetic data. This package does not exercise live NAV access, provider rights, saved-run ingestion, provider dismissal persistence, extraction/model quality, physical devices, assistive technology, browser zoom, or production. The frozen backend predates the later checklist error-classification correction and analytics aggregate change: combined affected browser validation remains separate. + +Exact original/intermediate/final reports, native logs, screenshots, audits, request boundaries, readbacks and LF-normalised source hashes are retained in [evidence receipts](evidence/connected-discovery/SOURCE_RECEIPTS.json). The source test is the rollback unit; no application/data rollback or migration is needed. + +AST-only graph refresh passed: 19,963 nodes / 49,440 edges. Existing optional PDF/SQL extractors and symbol-free generated-input warnings remain; no model labeling was run. diff --git a/docs/ui-modernisation/evidence/connected-discovery/SOURCE_RECEIPTS.json b/docs/ui-modernisation/evidence/connected-discovery/SOURCE_RECEIPTS.json new file mode 100644 index 00000000..c51eafa4 --- /dev/null +++ b/docs/ui-modernisation/evidence/connected-discovery/SOURCE_RECEIPTS.json @@ -0,0 +1,110 @@ +{ + "baseline": "1db5f488f6138e4f0f33749452b7d9f47658f4b0", + "qualification": "Test-only connected journeys against frozen existing export/API, no provider/model execution. Native readbacks and four scoped axe scans, not full visual acceptance.", + "stats": { + "startTime": "2026-11-18T17:40:00.807Z", + "duration": 25672.649, + "expected": 2, + "skipped": 0, + "unexpected": 0, + "flaky": 0 + }, + "sourcesLfSha256": { + "job-tracker-ui/e2e/phase7-discovery.spec.ts": "bcf2c84d0bc86d6fa6fdf43b62eaa70e066acf3ba1425b9496b6c9ea5ac7de46", + "job-tracker-ui/package-lock.json": "7ebd728f99a1ed9a5334542fb578b30127b4a0c7984efe2913266e89e2fbfbd3", + "job-tracker-ui/playwright.config.ts": "9252c961ac2779485bb72b24c31d526773d7c09f764eca638c4c1d47235e9f65", + "job-tracker-ui/src/i18n/translations.ts": "2b29e81921fc44fba95df62497dba18fb8d91568340aa529f7d25eef93b032ab" + }, + "artifacts": [ + { + "file": "focused.json.gz", + "bytes": 147829, + "sha256": "1124afe68404328500a5134be29b51b0039efdc035146c147539f03900fb29e8" + }, + { + "file": "focused.log.gz", + "bytes": 2437, + "sha256": "62fef0f99dfb844ff1562186e01ca819c7e4014b00aa2b1ccb5b859a0e3fb190" + }, + { + "file": "corrected.json.gz", + "bytes": 233327, + "sha256": "8de56092bc1e8f90606293b63e55e84ea5842027790b888c6dfdf2dcec23b9e0" + }, + { + "file": "corrected.log.gz", + "bytes": 2273, + "sha256": "7a79a52766d2f1d58a0cea5cfdd539f8f27742cd950555d818aae430b53482c9" + }, + { + "file": "final.json.gz", + "bytes": 358425, + "sha256": "866e94ea9dc5043b46e3645afdd82a40434061b1ef1740e418e0f2b14c277c37" + }, + { + "file": "final.log.gz", + "bytes": 1384, + "sha256": "e98d65b77b35182f0015c55feaa42429e822bd7a28d6e5845e2d56a6fba0d851" + }, + { + "file": "en-p7-discovery-en-light-1440-connected-fixture-result-return-audit.json", + "bytes": 10842, + "sha256": "e4e1d4f32458c44791fca7bd034fe9d45700316c9b6052cb776f197e2929ea22" + }, + { + "file": "en-p7-discovery-en-light-1440-connected-fixture-result-return.png", + "bytes": 93797, + "sha256": "bc28e6a338769f4baf7ad7dae14e0516c98a19e312114992b8f9326862e838f7" + }, + { + "file": "en-connected-native-tracker-readbacks.json", + "bytes": 3739, + "sha256": "e078245f64ce5513057710f0d3c9395f159b9b72438bf38858ebf21a857b7e98" + }, + { + "file": "en-p7-discovery-en-light-1440-connected-native-workspace-audit.json", + "bytes": 9268, + "sha256": "e115a6a6872110091799baa9484906779365bf33d36e70053a858288bbfaa07a" + }, + { + "file": "en-p7-discovery-en-light-1440-connected-native-workspace.png", + "bytes": 122650, + "sha256": "556c5e697bc05f1094a183ed9493403971643dbbb26e2dd74c2e35e2a69a24b1" + }, + { + "file": "en-discovery-request-boundary.json", + "bytes": 1264, + "sha256": "1b566579e51d569be46ed43d6fc8fb8b4cf4959831493bccb0dd67086fe2ed30" + }, + { + "file": "nb-p7-discovery-nb-dark-390-connected-fixture-result-return-audit.json", + "bytes": 11333, + "sha256": "f9a09992219a3a5ff0f9848785227eccb34f336af3281c4343fc6665aab4e52d" + }, + { + "file": "nb-p7-discovery-nb-dark-390-connected-fixture-result-return.png", + "bytes": 41080, + "sha256": "907ab5bba5793caa220a974506b791b28183e1e1b1bde82b26bb8ba3d69634e7" + }, + { + "file": "nb-connected-native-tracker-readbacks.json", + "bytes": 3737, + "sha256": "88610906a3b65175350b5a83b55795e029b878b90cf5967bcead821ed50991ce" + }, + { + "file": "nb-p7-discovery-nb-dark-390-connected-native-workspace-audit.json", + "bytes": 14328, + "sha256": "714231108ce7ee9781e16d3ac6a4780eaada0685e15c2b03ec7e3be713c40614" + }, + { + "file": "nb-p7-discovery-nb-dark-390-connected-native-workspace.png", + "bytes": 81638, + "sha256": "eacdcadd05b014cb45e0038486513fa828a7a099f004c73d3468ebd5d597db1b" + }, + { + "file": "nb-discovery-request-boundary.json", + "bytes": 1264, + "sha256": "1b566579e51d569be46ed43d6fc8fb8b4cf4959831493bccb0dd67086fe2ed30" + } + ] +} diff --git a/docs/ui-modernisation/evidence/connected-discovery/corrected.json.gz b/docs/ui-modernisation/evidence/connected-discovery/corrected.json.gz new file mode 100644 index 00000000..fffb3e22 Binary files /dev/null and b/docs/ui-modernisation/evidence/connected-discovery/corrected.json.gz differ diff --git a/docs/ui-modernisation/evidence/connected-discovery/corrected.log.gz b/docs/ui-modernisation/evidence/connected-discovery/corrected.log.gz new file mode 100644 index 00000000..cc3488ba Binary files /dev/null and b/docs/ui-modernisation/evidence/connected-discovery/corrected.log.gz differ diff --git a/docs/ui-modernisation/evidence/connected-discovery/en-connected-native-tracker-readbacks.json b/docs/ui-modernisation/evidence/connected-discovery/en-connected-native-tracker-readbacks.json new file mode 100644 index 00000000..0b59f855 --- /dev/null +++ b/docs/ui-modernisation/evidence/connected-discovery/en-connected-native-tracker-readbacks.json @@ -0,0 +1 @@ +{"sample":{"language":"en","theme":"light","width":1440,"height":900},"job":{"id":"connected-en","title":"Faglærer i kunst og håndverk — æøå","company":"Synthetic community learning centre","location":"TRONDHEIM","modifiedAt":"2026-10-09T10:00:00Z","deadline":"2026-10-20T23:59:59Z","url":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-en","source":"nav","sourceName":"NAV Arbeidsplassen","acquisitionType":"searched","retrievedAt":"2026-10-10T10:00:00Z","countryCode":"NO"},"readback":{"id":1,"companyId":1,"company":{"id":1,"ownerUserId":"c3b9c5f7-7ffe-4e21-8dfc-0b68365e85ed","name":"Synthetic community learning centre","location":"Trondheim","source":"User","recruiterName":null,"recruiterEmail":null,"recruiterLinkedIn":null,"lastContactedAt":null,"nextContactAt":null,"pipelineStage":null},"jobTitle":"Faglærer i kunst og håndverk — æøå","status":"Saved","dateApplied":null,"savedAt":"2026-11-18T17:40:14.1198041","responseReceived":false,"responseDate":null,"notes":null,"coverLetterText":null,"jobUrl":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-en","description":"Syntetisk stilling: planlegg aktiviteter og undervisning i kunst og håndverk. Kilden beholdes ordrett — æøå.","translatedDescription":null,"descriptionLanguage":"nb","tags":null,"deadline":"2026-10-20T00:00:00","location":"TRONDHEIM","salary":null,"salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":null,"feedbackRequestedAt":null,"hasResume":false,"hasCoverLetter":false,"hasPortfolio":false,"hasOtherAttachment":false,"isDeleted":false,"deletedAt":null,"daysSince":null,"needsFollowUp":false,"followUpReason":null,"tailoredCvText":null,"workflowSignal":{"actionKey":"follow-up","reason":"No response yet and no follow-up is scheduled.","workspaceTab":"follow-up","followMode":"waiting-update","needsAttention":true,"hasPackageGap":false,"needsInterviewPrep":false,"needsFollowUpAction":true,"hasTailoredCv":false,"hasSavedApplicationAnswerDraft":false,"hasInterviewPrepNotes":false},"shortSummary":null,"fullSummary":null,"version":1},"opportunity":{"source":"nav","countryCode":"NO"},"duplicates":{"hasDuplicates":true,"matches":[{"id":1,"jobTitle":"Faglærer i kunst og håndverk — æøå","company":"Synthetic community learning centre","jobUrl":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-en","status":"Saved","dateApplied":null,"reason":"same URL, same company and similar title"}]},"trackerWrites":[{"method":"POST","path":"/api/jobapplications","query":{},"body":{"jobTitle":"Faglærer i kunst og håndverk — æøå","companyId":1,"status":"Saved","location":"TRONDHEIM","salary":"","salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":null,"jobUrl":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-en","source":"nav","countryCode":"NO","description":"Syntetisk stilling: planlegg aktiviteter og undervisning i kunst og håndverk. Kilden beholdes ordrett — æøå.","translatedDescription":null,"descriptionLanguage":"nb","tags":null,"deadline":"2026-10-20","notes":"","coverLetterText":null,"dateApplied":"2026-11-18"}}],"searches":1,"previews":1,"detailViews":1,"choosers":[],"qualification":"Search, original-source popup HTML and import preview are explicitly synthetic route fixtures, with no provider fetch. Company setup/job POST/readbacks/duplicate check/foreign denial are actual disposable API. Source/country checked on the linked opportunity through a guarded read-only query of this fixture SQLite only; application DTO does not expose them. No full provider integration, canonical geography, import parser or automatic duplicate blocking claim."} \ No newline at end of file diff --git a/docs/ui-modernisation/evidence/connected-discovery/en-discovery-request-boundary.json b/docs/ui-modernisation/evidence/connected-discovery/en-discovery-request-boundary.json new file mode 100644 index 00000000..28edd7b2 --- /dev/null +++ b/docs/ui-modernisation/evidence/connected-discovery/en-discovery-request-boundary.json @@ -0,0 +1 @@ +{"providerBoundary":"Saved-search list/create/alert PATCH/delete and readbacks use the real isolated owner API and disposable SQLite. Browser vacancy-provider /search and owner /saved-searches/{id}/run responses are intercepted because the server provider has an external NAV base URL. Intercepted runs do not create SavedJobSearchResults: successful intercepted Dismiss establishes presentation only, never runner/history/dismiss persistence or alert delivery. A real missing-result Dismiss 404 is exercised separately. The unchanged saved-search-repair suite and backend fake-provider SQLite tests retain owner/anonymous and real runner/history contracts. External browser traffic and unregistered provider-dependent requests are blocked.","requests":[{"method":"GET","path":"/api/job-discovery/saved-searches","query":{},"body":null},{"method":"GET","path":"/api/job-discovery/search","query":{"q":"kunstlærer","location":"Trondheim"},"body":null}],"blockedProviderRequests":[],"blockedExternalRequests":[],"qualification":"Browser request log contains only method/path/query/JSON payload, with no cookies or authorization/CSRF/session headers. Direct API fixture reads are verified in individual tests; this log is not a server outbound-traffic measurement."} \ No newline at end of file diff --git a/docs/ui-modernisation/evidence/connected-discovery/en-p7-discovery-en-light-1440-connected-fixture-result-return-audit.json b/docs/ui-modernisation/evidence/connected-discovery/en-p7-discovery-en-light-1440-connected-fixture-result-return-audit.json new file mode 100644 index 00000000..87207952 --- /dev/null +++ b/docs/ui-modernisation/evidence/connected-discovery/en-p7-discovery-en-light-1440-connected-fixture-result-return-audit.json @@ -0,0 +1 @@ +{"sample":{"language":"en","theme":"light","width":1440,"height":900},"state":"connected-fixture-result-return","geometry":{"width":1440,"height":900,"rootOverflow":0,"overflowElements":[]},"ariaSnapshot":"- status: \"Unread notifications: 0\"\n- link \"Skip to main content\":\n - /url: \"#app-main-content\"\n- banner:\n - button \"Collapse sidebar\"\n - group \"Application language\":\n - button \"English\" [pressed]: EN\n - button \"Norsk bokmål\": NB\n - button \"Notifications\"\n - button \"Settings\"\n - button \"Quick Search Ctrl+K\"\n - button \"User\": PD\n - paragraph: p7-discovery-1795023609656-6m4g3w1d1et@example.test\n - text: User\n- navigation \"Navigation\":\n - img \"Jobbjakt\"\n - heading \"Jobbjakt\" [level=6]\n - text: Track your hunt\n - separator\n - text: Job search\n - list \"Job search\":\n - listitem:\n - button \"Dashboard\"\n - listitem:\n - button \"Job Applications\"\n - list \"Job Applications\":\n - listitem:\n - button \"Companies\":\n - paragraph: Companies\n - listitem:\n - button \"Compare offers\":\n - paragraph: Compare offers\n - listitem:\n - button \"Trash\":\n - paragraph: Trash\n - listitem:\n - button \"Discover jobs\"\n - text: Career\n - list \"Career\":\n - listitem:\n - button \"Career profile\"\n - listitem:\n - button \"CV Builder\"\n - listitem:\n - button \"Documents\"\n - text: Workspace\n - list \"Workspace\":\n - listitem:\n - button \"Reminders\"\n - listitem:\n - button \"Job email\"\n - listitem:\n - button \"Analytics\"\n - listitem:\n - button \"Operations\"\n - separator\n - text: Account\n - list \"Account\":\n - listitem:\n - button \"Settings\"\n - list \"Settings\":\n - listitem:\n - button \"Profile\":\n - paragraph: Profile\n - listitem:\n - button \"Connected accounts\":\n - paragraph: Connected accounts\n- main:\n - navigation:\n - list:\n - listitem: Home\n - listitem: Discover jobs\n - heading \"Discover jobs\" [level=1]\n - paragraph: Search vacancies and save opportunities to your tracker.\n - form \"Search NAV\":\n - text: Role or company\n - textbox \"Role or company\": kunstlærer\n - button \"Search NAV\"\n - complementary \"Search filters\":\n - heading \"Search filters\" [level=2]\n - button \"Jump to results\"\n - text: Municipality\n - textbox \"Municipality\": Trondheim\n - group: Sources and coverage\n - heading \"Saved searches\" [level=2]\n - paragraph: Saved NAV searches are checked automatically. You will be notified when new vacancies appear.\n - text: Search name\n - textbox \"Search name\"\n - button \"Save search\"\n - paragraph: No saved searches yet.\n - region \"Search results\":\n - heading \"Search results\" [level=2]\n - button \"Return to search\"\n - status: Content loaded.\n - status: 1 vacancy found\n - text: Sort results\n - combobox \"Sort results Recently updated\": Recently updated\n - article \"Faglærer i kunst og håndverk — æøå\":\n - text: NAV Arbeidsplassen\n - heading \"Faglærer i kunst og håndverk — æøå\" [level=3]\n - paragraph: Synthetic community learning centre · TRONDHEIM\n - text: Searched listing · Retrieved 10/10/2026 Listing updated 10/9/2026\n - paragraph: \"Application deadline: 10/21/2026\"\n - text: Work arrangement not provided by this source\n - link \"View listing\":\n - /url: https://arbeidsplassen.nav.no/stillinger/stilling/connected-en\n - button \"Save to tracker\"\n- alert","axe":{"scope":"All enabled rules plus target-size; complete violations and incomplete findings retained","violations":[],"incomplete":[{"id":"color-contrast","impact":"serious","tags":["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT","RGAAv4","RGAA-3.2.1"],"description":"Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds","help":"Elements must meet minimum color contrast ratio thresholds","helpUrl":"https://dequeuniversity.com/rules/axe/4.13/color-contrast?application=playwright","nodes":[{"any":[{"id":"color-contrast","data":{"contrastRatio":0,"fontSize":"9.0pt (12px)","fontWeight":"normal","messageKey":"shortTextContent","expectedContrastRatio":"4.5:1"},"relatedNodes":[],"impact":"serious","message":"Element content is too short to determine if it is actual text content"}],"all":[],"none":[],"impact":"serious","html":"0","target":[".MuiBadge-badge"],"failureSummary":"Fix any of the following:\n Element content is too short to determine if it is actual text content"},{"any":[{"id":"color-contrast","data":{"contrastRatio":0,"fontSize":"11.3pt (15px)","fontWeight":"normal","messageKey":"bgOverlap","expectedContrastRatio":"4.5:1"},"relatedNodes":[],"impact":"serious","message":"Element's background color could not be determined because it is overlapped by another element"}],"all":[],"none":[],"impact":"serious","html":"","target":["#_r_18_"],"failureSummary":"Fix any of the following:\n Element's background color could not be determined because it is overlapped by another element"},{"any":[{"id":"color-contrast","data":{"contrastRatio":0,"fontSize":"11.3pt (15px)","fontWeight":"normal","messageKey":"bgOverlap","expectedContrastRatio":"4.5:1"},"relatedNodes":[],"impact":"serious","message":"Element's background color could not be determined because it is overlapped by another element"}],"all":[],"none":[],"impact":"serious","html":"","target":["#_r_1b_"],"failureSummary":"Fix any of the following:\n Element's background color could not be determined because it is overlapped by another element"},{"any":[{"id":"color-contrast","data":{"contrastRatio":0,"fontSize":"11.3pt (15px)","fontWeight":"normal","messageKey":"bgOverlap","expectedContrastRatio":"4.5:1"},"relatedNodes":[],"impact":"serious","message":"Element's background color could not be determined because it is overlapped by another element"}],"all":[],"none":[],"impact":"serious","html":"","target":["#_r_1c_"],"failureSummary":"Fix any of the following:\n Element's background color could not be determined because it is overlapped by another element"},{"any":[{"id":"color-contrast","data":{"contrastRatio":0,"fontSize":"11.3pt (15px)","fontWeight":"normal","messageKey":"bgOverlap","expectedContrastRatio":"4.5:1"},"relatedNodes":[],"impact":"serious","message":"Element's background color could not be determined because it is overlapped by another element"}],"all":[],"none":[],"impact":"serious","html":"
Recently updated
","target":["#_r_1h_"],"failureSummary":"Fix any of the following:\n Element's background color could not be determined because it is overlapped by another element"}]}],"passes":[{"id":"aria-allowed-attr","nodes":38},{"id":"aria-allowed-role","nodes":43},{"id":"aria-command-name","nodes":16},{"id":"aria-conditional-attr","nodes":38},{"id":"aria-deprecated-role","nodes":24},{"id":"aria-hidden-body","nodes":1},{"id":"aria-hidden-focus","nodes":29},{"id":"aria-input-field-name","nodes":1},{"id":"aria-prohibited-attr","nodes":38},{"id":"aria-required-attr","nodes":24},{"id":"aria-roles","nodes":24},{"id":"aria-valid-attr-value","nodes":38},{"id":"aria-valid-attr","nodes":38},{"id":"avoid-inline-spacing","nodes":6},{"id":"button-name","nodes":12},{"id":"bypass","nodes":1},{"id":"color-contrast","nodes":58},{"id":"document-title","nodes":1},{"id":"duplicate-id-aria","nodes":6},{"id":"empty-heading","nodes":6},{"id":"form-field-multiple-labels","nodes":3},{"id":"heading-order","nodes":6},{"id":"html-has-lang","nodes":1},{"id":"html-lang-valid","nodes":1},{"id":"label-title-only","nodes":3},{"id":"label","nodes":3},{"id":"landmark-banner-is-top-level","nodes":1},{"id":"landmark-main-is-top-level","nodes":1},{"id":"landmark-no-duplicate-banner","nodes":1},{"id":"landmark-no-duplicate-main","nodes":1},{"id":"landmark-one-main","nodes":1},{"id":"landmark-unique","nodes":7},{"id":"link-name","nodes":2},{"id":"list","nodes":7},{"id":"listitem","nodes":18},{"id":"meta-viewport-large","nodes":1},{"id":"meta-viewport","nodes":1},{"id":"nested-interactive","nodes":32},{"id":"page-has-heading-one","nodes":1},{"id":"region","nodes":220},{"id":"scrollable-region-focusable","nodes":1},{"id":"skip-link","nodes":1},{"id":"summary-name","nodes":1},{"id":"svg-img-alt","nodes":1},{"id":"tabindex","nodes":33},{"id":"target-size","nodes":35},{"id":"valid-lang","nodes":2}]},"providerBoundary":"Saved-search list/create/alert PATCH/delete and readbacks use the real isolated owner API and disposable SQLite. Browser vacancy-provider /search and owner /saved-searches/{id}/run responses are intercepted because the server provider has an external NAV base URL. Intercepted runs do not create SavedJobSearchResults: successful intercepted Dismiss establishes presentation only, never runner/history/dismiss persistence or alert delivery. A real missing-result Dismiss 404 is exercised separately. The unchanged saved-search-repair suite and backend fake-provider SQLite tests retain owner/anonymous and real runner/history contracts. External browser traffic and unregistered provider-dependent requests are blocked.","qualifications":["Finite browser states, not the Cartesian product of every width/language/theme/state.","Automated local Chromium and reduced-motion media only; axe incomplete findings require triage and do not establish human screen-reader acceptance.","Physical touch/software keyboard, actual browser zoom, deployed fonts/photos, real provider/alert delivery and production acceptance remain unverified."]} \ No newline at end of file diff --git a/docs/ui-modernisation/evidence/connected-discovery/en-p7-discovery-en-light-1440-connected-fixture-result-return.png b/docs/ui-modernisation/evidence/connected-discovery/en-p7-discovery-en-light-1440-connected-fixture-result-return.png new file mode 100644 index 00000000..c4b1a04c Binary files /dev/null and b/docs/ui-modernisation/evidence/connected-discovery/en-p7-discovery-en-light-1440-connected-fixture-result-return.png differ diff --git a/docs/ui-modernisation/evidence/connected-discovery/en-p7-discovery-en-light-1440-connected-native-workspace-audit.json b/docs/ui-modernisation/evidence/connected-discovery/en-p7-discovery-en-light-1440-connected-native-workspace-audit.json new file mode 100644 index 00000000..1f92899e --- /dev/null +++ b/docs/ui-modernisation/evidence/connected-discovery/en-p7-discovery-en-light-1440-connected-native-workspace-audit.json @@ -0,0 +1 @@ +{"sample":{"language":"en","theme":"light","width":1440,"height":900},"state":"connected-native-workspace","geometry":{"width":1440,"height":900,"rootOverflow":0,"overflowElements":[]},"ariaSnapshot":"- status: \"Unread notifications: 0\"\n- link \"Skip to main content\":\n - /url: \"#app-main-content\"\n- banner:\n - button \"Collapse sidebar\"\n - group \"Application language\":\n - button \"English\" [pressed]: EN\n - button \"Norsk bokmål\": NB\n - button \"Notifications\"\n - button \"Settings\"\n - button \"Quick Search Ctrl+K\"\n - button \"Add Job\"\n - button \"User\": PD\n - paragraph: p7-discovery-1795023609656-6m4g3w1d1et@example.test\n - text: User\n- navigation \"Navigation\":\n - img \"Jobbjakt\"\n - heading \"Jobbjakt\" [level=6]\n - text: Track your hunt\n - separator\n - text: Job search\n - list \"Job search\":\n - listitem:\n - button \"Dashboard\"\n - listitem:\n - button \"Job Applications\"\n - list \"Job Applications\":\n - listitem:\n - button \"Companies\":\n - paragraph: Companies\n - listitem:\n - button \"Compare offers\":\n - paragraph: Compare offers\n - listitem:\n - button \"Trash\":\n - paragraph: Trash\n - listitem:\n - button \"Discover jobs\"\n - text: Career\n - list \"Career\":\n - listitem:\n - button \"Career profile\"\n - listitem:\n - button \"CV Builder\"\n - listitem:\n - button \"Documents\"\n - text: Workspace\n - list \"Workspace\":\n - listitem:\n - button \"Reminders\"\n - listitem:\n - button \"Job email\"\n - listitem:\n - button \"Analytics\"\n - listitem:\n - button \"Operations\"\n - separator\n - text: Account\n - list \"Account\":\n - listitem:\n - button \"Settings\"\n - list \"Settings\":\n - listitem:\n - button \"Profile\":\n - paragraph: Profile\n - listitem:\n - button \"Connected accounts\":\n - paragraph: Connected accounts\n- main:\n - navigation:\n - list:\n - listitem: Home\n - listitem: Job Applications\n - listitem: Job details\n - heading \"Job details\" [level=1]\n - paragraph: Manage this application, its documents, timeline, and correspondence.\n - status: Content loaded.\n - button \"Back to applications\"\n - text: Workspace\n - button \"Jump to application context\"\n - heading \"Faglærer i kunst og håndverk — æøå\" [level=2]\n - paragraph: Synthetic community learning centre\n - button \"Edit application\"\n - link \"Open original advert\":\n - /url: https://arbeidsplassen.nav.no/stillinger/stilling/connected-en\n - text: Saved\n - paragraph: TRONDHEIM\n - paragraph: \"Deadline: 10/20/2026\"\n - text: Application progress\n - 'region \"Application progress: Saved\"': Saved Interested Preparing Applied Waiting Interview Offer\n - tablist \"Workspace sections\":\n - tab \"Overview\" [selected]\n - tab \"Match\"\n - tab \"Application\"\n - tab \"Documents\"\n - tab \"Timeline\"\n - tab \"Notes & tasks\"\n - tab \"Interview Prep\"\n - tabpanel \"Overview\":\n - region \"Next recommended action\":\n - heading \"Next recommended action\" [level=2]\n - heading \"Complete your career profile\" [level=3]\n - paragraph: The master profile is what every CV variant is built from.\n - button \"Complete your career profile\"\n - region \"Application preparation\":\n - heading \"Application preparation\" [level=2]\n - button \"CV Not prepared\":\n - text: CV\n - paragraph: Not prepared\n - button \"Cover letter Not written\":\n - text: Cover letter\n - paragraph: Not written\n - button \"Documents None\":\n - text: Documents\n - paragraph: None\n - button \"AI suggestions None yet\":\n - text: AI suggestions\n - paragraph: None yet\n - button \"Next actions and checklist 2/14 done\":\n - text: Next actions and checklist\n - paragraph: 2/14 done\n - region \"Recent activity\":\n - heading \"Recent activity\" [level=2]\n - button \"Refresh\"\n - paragraph:\n - strong: Created\n - text: 11/18/2026\n - heading \"Job details\" [level=3]:\n - button \"Job details\":\n - paragraph: Job details\n - complementary \"Application context\":\n - region \"Application context\":\n - heading \"Application context\" [level=2]\n - term: Company\n - definition: Synthetic community learning centre\n - term: Location\n - definition: TRONDHEIM\n - term: Country\n - definition: \"NO\"\n - term: Source\n - definition: nav\n - term: Salary\n - definition: —\n - term: Discovered\n - definition:\n - time: 11/18/2026\n - term: Applied\n - definition: —\n - term: Deadline\n - definition:\n - time: 10/20/2026\n - term: Follow-up\n - definition: —\n - button \"Return to current task\"\n- alert","axe":{"scope":"All enabled rules plus target-size; complete violations and incomplete findings retained","violations":[],"incomplete":[{"id":"color-contrast","impact":"serious","tags":["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT","RGAAv4","RGAA-3.2.1"],"description":"Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds","help":"Elements must meet minimum color contrast ratio thresholds","helpUrl":"https://dequeuniversity.com/rules/axe/4.13/color-contrast?application=playwright","nodes":[{"any":[{"id":"color-contrast","data":{"contrastRatio":0,"fontSize":"9.0pt (12px)","fontWeight":"normal","messageKey":"shortTextContent","expectedContrastRatio":"4.5:1"},"relatedNodes":[],"impact":"serious","message":"Element content is too short to determine if it is actual text content"}],"all":[],"none":[],"impact":"serious","html":"0","target":[".MuiBadge-badge"],"failureSummary":"Fix any of the following:\n Element content is too short to determine if it is actual text content"}]}],"passes":[{"id":"aria-allowed-attr","nodes":48},{"id":"aria-allowed-role","nodes":51},{"id":"aria-command-name","nodes":16},{"id":"aria-conditional-attr","nodes":48},{"id":"aria-deprecated-role","nodes":31},{"id":"aria-hidden-body","nodes":1},{"id":"aria-hidden-focus","nodes":45},{"id":"aria-prohibited-attr","nodes":48},{"id":"aria-required-attr","nodes":31},{"id":"aria-required-children","nodes":1},{"id":"aria-required-parent","nodes":7},{"id":"aria-roles","nodes":31},{"id":"aria-valid-attr-value","nodes":48},{"id":"aria-valid-attr","nodes":48},{"id":"avoid-inline-spacing","nodes":8},{"id":"button-name","nodes":27},{"id":"bypass","nodes":1},{"id":"color-contrast","nodes":96},{"id":"definition-list","nodes":1},{"id":"dlitem","nodes":18},{"id":"document-title","nodes":1},{"id":"duplicate-id-aria","nodes":9},{"id":"empty-heading","nodes":9},{"id":"heading-order","nodes":9},{"id":"html-has-lang","nodes":1},{"id":"html-lang-valid","nodes":1},{"id":"landmark-banner-is-top-level","nodes":1},{"id":"landmark-main-is-top-level","nodes":1},{"id":"landmark-no-duplicate-banner","nodes":1},{"id":"landmark-no-duplicate-main","nodes":1},{"id":"landmark-one-main","nodes":1},{"id":"landmark-unique","nodes":10},{"id":"link-name","nodes":2},{"id":"list","nodes":7},{"id":"listitem","nodes":19},{"id":"meta-viewport-large","nodes":1},{"id":"meta-viewport","nodes":1},{"id":"nested-interactive","nodes":46},{"id":"page-has-heading-one","nodes":1},{"id":"region","nodes":308},{"id":"scrollable-region-focusable","nodes":1},{"id":"skip-link","nodes":1},{"id":"svg-img-alt","nodes":1},{"id":"tabindex","nodes":49},{"id":"target-size","nodes":45},{"id":"valid-lang","nodes":2}]},"providerBoundary":"Saved-search list/create/alert PATCH/delete and readbacks use the real isolated owner API and disposable SQLite. Browser vacancy-provider /search and owner /saved-searches/{id}/run responses are intercepted because the server provider has an external NAV base URL. Intercepted runs do not create SavedJobSearchResults: successful intercepted Dismiss establishes presentation only, never runner/history/dismiss persistence or alert delivery. A real missing-result Dismiss 404 is exercised separately. The unchanged saved-search-repair suite and backend fake-provider SQLite tests retain owner/anonymous and real runner/history contracts. External browser traffic and unregistered provider-dependent requests are blocked.","qualifications":["Finite browser states, not the Cartesian product of every width/language/theme/state.","Automated local Chromium and reduced-motion media only; axe incomplete findings require triage and do not establish human screen-reader acceptance.","Physical touch/software keyboard, actual browser zoom, deployed fonts/photos, real provider/alert delivery and production acceptance remain unverified."]} \ No newline at end of file diff --git a/docs/ui-modernisation/evidence/connected-discovery/en-p7-discovery-en-light-1440-connected-native-workspace.png b/docs/ui-modernisation/evidence/connected-discovery/en-p7-discovery-en-light-1440-connected-native-workspace.png new file mode 100644 index 00000000..f5573a96 Binary files /dev/null and b/docs/ui-modernisation/evidence/connected-discovery/en-p7-discovery-en-light-1440-connected-native-workspace.png differ diff --git a/docs/ui-modernisation/evidence/connected-discovery/final.json.gz b/docs/ui-modernisation/evidence/connected-discovery/final.json.gz new file mode 100644 index 00000000..a427041e Binary files /dev/null and b/docs/ui-modernisation/evidence/connected-discovery/final.json.gz differ diff --git a/docs/ui-modernisation/evidence/connected-discovery/final.log.gz b/docs/ui-modernisation/evidence/connected-discovery/final.log.gz new file mode 100644 index 00000000..96bddeea Binary files /dev/null and b/docs/ui-modernisation/evidence/connected-discovery/final.log.gz differ diff --git a/docs/ui-modernisation/evidence/connected-discovery/focused.json.gz b/docs/ui-modernisation/evidence/connected-discovery/focused.json.gz new file mode 100644 index 00000000..f9173621 Binary files /dev/null and b/docs/ui-modernisation/evidence/connected-discovery/focused.json.gz differ diff --git a/docs/ui-modernisation/evidence/connected-discovery/focused.log.gz b/docs/ui-modernisation/evidence/connected-discovery/focused.log.gz new file mode 100644 index 00000000..df52e5e2 Binary files /dev/null and b/docs/ui-modernisation/evidence/connected-discovery/focused.log.gz differ diff --git a/docs/ui-modernisation/evidence/connected-discovery/nb-connected-native-tracker-readbacks.json b/docs/ui-modernisation/evidence/connected-discovery/nb-connected-native-tracker-readbacks.json new file mode 100644 index 00000000..0e183794 --- /dev/null +++ b/docs/ui-modernisation/evidence/connected-discovery/nb-connected-native-tracker-readbacks.json @@ -0,0 +1 @@ +{"sample":{"language":"nb","theme":"dark","width":390,"height":844},"job":{"id":"connected-nb","title":"Faglærer i kunst og håndverk — æøå","company":"Synthetic community learning centre","location":"TRONDHEIM","modifiedAt":"2026-10-09T10:00:00Z","deadline":"2026-10-20T23:59:59Z","url":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-nb","source":"nav","sourceName":"NAV Arbeidsplassen","acquisitionType":"searched","retrievedAt":"2026-10-10T10:00:00Z","countryCode":"NO"},"readback":{"id":2,"companyId":2,"company":{"id":2,"ownerUserId":"33728467-11f1-4863-97d8-fc14a6b2421d","name":"Synthetic community learning centre","location":"Trondheim","source":"User","recruiterName":null,"recruiterEmail":null,"recruiterLinkedIn":null,"lastContactedAt":null,"nextContactAt":null,"pipelineStage":null},"jobTitle":"Faglærer i kunst og håndverk — æøå","status":"Saved","dateApplied":null,"savedAt":"2026-11-18T17:40:22.5290878","responseReceived":false,"responseDate":null,"notes":null,"coverLetterText":null,"jobUrl":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-nb","description":"Syntetisk stilling: planlegg aktiviteter og undervisning i kunst og håndverk. Kilden beholdes ordrett — æøå.","translatedDescription":null,"descriptionLanguage":"nb","tags":null,"deadline":"2026-10-20T00:00:00","location":"TRONDHEIM","salary":null,"salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":null,"feedbackRequestedAt":null,"hasResume":false,"hasCoverLetter":false,"hasPortfolio":false,"hasOtherAttachment":false,"isDeleted":false,"deletedAt":null,"daysSince":null,"needsFollowUp":false,"followUpReason":null,"tailoredCvText":null,"workflowSignal":{"actionKey":"follow-up","reason":"No response yet and no follow-up is scheduled.","workspaceTab":"follow-up","followMode":"waiting-update","needsAttention":true,"hasPackageGap":false,"needsInterviewPrep":false,"needsFollowUpAction":true,"hasTailoredCv":false,"hasSavedApplicationAnswerDraft":false,"hasInterviewPrepNotes":false},"shortSummary":null,"fullSummary":null,"version":1},"opportunity":{"source":"nav","countryCode":"NO"},"duplicates":{"hasDuplicates":true,"matches":[{"id":2,"jobTitle":"Faglærer i kunst og håndverk — æøå","company":"Synthetic community learning centre","jobUrl":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-nb","status":"Saved","dateApplied":null,"reason":"same URL, same company and similar title"}]},"trackerWrites":[{"method":"POST","path":"/api/jobapplications","query":{},"body":{"jobTitle":"Faglærer i kunst og håndverk — æøå","companyId":2,"status":"Saved","location":"TRONDHEIM","salary":"","salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":null,"jobUrl":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-nb","source":"nav","countryCode":"NO","description":"Syntetisk stilling: planlegg aktiviteter og undervisning i kunst og håndverk. Kilden beholdes ordrett — æøå.","translatedDescription":null,"descriptionLanguage":"nb","tags":null,"deadline":"2026-10-20","notes":"","coverLetterText":null,"dateApplied":"2026-11-18"}}],"searches":1,"previews":1,"detailViews":1,"choosers":[],"qualification":"Search, original-source popup HTML and import preview are explicitly synthetic route fixtures, with no provider fetch. Company setup/job POST/readbacks/duplicate check/foreign denial are actual disposable API. Source/country checked on the linked opportunity through a guarded read-only query of this fixture SQLite only; application DTO does not expose them. No full provider integration, canonical geography, import parser or automatic duplicate blocking claim."} \ No newline at end of file diff --git a/docs/ui-modernisation/evidence/connected-discovery/nb-discovery-request-boundary.json b/docs/ui-modernisation/evidence/connected-discovery/nb-discovery-request-boundary.json new file mode 100644 index 00000000..28edd7b2 --- /dev/null +++ b/docs/ui-modernisation/evidence/connected-discovery/nb-discovery-request-boundary.json @@ -0,0 +1 @@ +{"providerBoundary":"Saved-search list/create/alert PATCH/delete and readbacks use the real isolated owner API and disposable SQLite. Browser vacancy-provider /search and owner /saved-searches/{id}/run responses are intercepted because the server provider has an external NAV base URL. Intercepted runs do not create SavedJobSearchResults: successful intercepted Dismiss establishes presentation only, never runner/history/dismiss persistence or alert delivery. A real missing-result Dismiss 404 is exercised separately. The unchanged saved-search-repair suite and backend fake-provider SQLite tests retain owner/anonymous and real runner/history contracts. External browser traffic and unregistered provider-dependent requests are blocked.","requests":[{"method":"GET","path":"/api/job-discovery/saved-searches","query":{},"body":null},{"method":"GET","path":"/api/job-discovery/search","query":{"q":"kunstlærer","location":"Trondheim"},"body":null}],"blockedProviderRequests":[],"blockedExternalRequests":[],"qualification":"Browser request log contains only method/path/query/JSON payload, with no cookies or authorization/CSRF/session headers. Direct API fixture reads are verified in individual tests; this log is not a server outbound-traffic measurement."} \ No newline at end of file diff --git a/docs/ui-modernisation/evidence/connected-discovery/nb-p7-discovery-nb-dark-390-connected-fixture-result-return-audit.json b/docs/ui-modernisation/evidence/connected-discovery/nb-p7-discovery-nb-dark-390-connected-fixture-result-return-audit.json new file mode 100644 index 00000000..96d40624 --- /dev/null +++ b/docs/ui-modernisation/evidence/connected-discovery/nb-p7-discovery-nb-dark-390-connected-fixture-result-return-audit.json @@ -0,0 +1 @@ +{"sample":{"language":"nb","theme":"dark","width":390,"height":844},"state":"connected-fixture-result-return","geometry":{"width":390,"height":844,"rootOverflow":0,"overflowElements":[]},"ariaSnapshot":"- status: \"Uleste varsler: 0\"\n- link \"Hopp til hovedinnhold\":\n - /url: \"#app-main-content\"\n- banner:\n - button \"Åpne navigasjon\"\n - img \"Jobbjakt\"\n - button \"Varsler\"\n - button \"Hurtigsøk (Ctrl+K)\"\n - button \"Bruker\": PD\n- main:\n - navigation:\n - list:\n - listitem: Hjem\n - listitem: Finn jobber\n - heading \"Finn jobber\" [level=1]\n - paragraph: Søk etter stillinger og lagre dem i jobboversikten din.\n - form \"Søk i NAV\":\n - text: Rolle eller bedrift\n - textbox \"Rolle eller bedrift\": kunstlærer\n - button \"Søk i NAV\"\n - button \"Søkefiltre\"\n - region \"Søkeresultater\":\n - heading \"Søkeresultater\" [level=2]\n - button \"Tilbake til søk\"\n - status: Innhold lastet.\n - status: 1 stilling funnet\n - text: Sorter resultater\n - combobox \"Sorter resultater Nylig oppdatert\": Nylig oppdatert\n - article \"Faglærer i kunst og håndverk — æøå\":\n - text: NAV Arbeidsplassen\n - heading \"Faglærer i kunst og håndverk — æøå\" [level=3]\n - paragraph: Synthetic community learning centre · TRONDHEIM\n - text: Funnet gjennom søk · Hentet 10.10.2026 Stillingen ble oppdatert 9.10.2026\n - paragraph: \"Søknadsfrist: 21.10.2026\"\n - text: Arbeidsform er ikke oppgitt av kilden\n - link \"Vis stilling\":\n - /url: https://arbeidsplassen.nav.no/stillinger/stilling/connected-nb\n - button \"Lagre i oversikten\"\n- navigation \"Hovednavigasjon\":\n - button \"Dashboard\"\n - button \"Søknader\"\n - button \"Finn jobber\"\n - button \"Karriere\"\n - button \"Mer\"\n- alert","axe":{"scope":"All enabled rules plus target-size; complete violations and incomplete findings retained","violations":[],"incomplete":[{"id":"aria-valid-attr-value","impact":"critical","tags":["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],"description":"Ensure all ARIA attributes have valid values","help":"ARIA attributes must conform to valid values","helpUrl":"https://dequeuniversity.com/rules/axe/4.13/aria-valid-attr-value?application=playwright","nodes":[{"any":[],"all":[{"id":"aria-valid-attr-value","data":{"messageKey":"controlsWithinPopup","needsReview":"aria-controls=\"_r_8_\""},"relatedNodes":[],"impact":"critical","message":"Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: aria-controls=\"_r_8_\""}],"none":[],"impact":"critical","html":"