Files
jobtrackingapp/docs/verification/jobs-001-job-discovery.md
T
cesnimda 8d86c697ef
CI and Deploy / test (pull_request) Successful in 4m20s
CI and Deploy / deploy (pull_request) Has been skipped
docs(jobs): record discovery state evidence
2026-08-10 10:44:23 +02:00

2.3 KiB

JOBS-001 job discovery verification

Updated: 2026-08-10

Current verified increment

  • The authenticated discovery endpoint searches the official NAV feed and now returns an explicit nav source key, NAV Arbeidsplassen display name, searched acquisition type and one request-level retrieval timestamp.
  • Application deadlines are exposed only when NAV supplies the explicit applicationDue field. Missing deadline and work-mode data remain absent rather than inferred.
  • The discovery card renders the response source rather than a hardcoded label, links to the original NAV listing and distinguishes listing update, retrieval and deadline dates.
  • The existing reviewed URL-import flow preserves the NAV source and NO country code in the create-job request. This is covered with mocked UI data; no NAV request was made.
  • Source filtering is not added while the endpoint has exactly one verified source. Multi-source filtering remains conditional on real source data.

Evidence

  • Focused backend discovery test: 1/1 passed.
  • Focused discovery and reviewed-import UI tests: 2 suites, 4/4 passed.
  • Full backend: 630/630 passed.
  • Full frontend: 50 suites, 198/198 passed; existing Jest force-exit/open-handle warning remains.
  • Production frontend build and TypeScript checks passed.
  • git diff --check passed with line-ending notices only.
  • Implementation commits: 511a9f6, 3f74b23.

Result-state and assessment increment

  • Initial guidance is distinct from a completed zero-result search.
  • Search criteria are trimmed and retained for an explicit retry after failure; stale results are cleared before a new request.
  • Results expose a count and bounded recent-update, nearest-deadline and title sorting. Missing deadlines sort last.
  • Missing location and work-arrangement data are disclosed instead of inferred.
  • Cards use equal-height action placement and responsive result controls.
  • Focused UI: 4/4; full frontend: 50 suites and 201/201; production build passed.

Not yet verified

  • No live NAV, browser, provider or production request was performed.
  • Required 375/768/1440, light/dark, keyboard, Norwegian/long-content and end-to-end import checks remain.
  • Browser end-to-end sorting/retry/import and duplicate-feed regression remain before repository scope can close.