45 lines
3.0 KiB
Markdown
45 lines
3.0 KiB
Markdown
# 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.
|
|
|
|
## Browser and duplicate evidence
|
|
|
|
- Mocked authenticated Playwright journey passed at 375, 768 and 1440 pixels with keyboard form traversal, long Norwegian text, sorting, reviewed URL import, light/dark themes and zero horizontal overflow.
|
|
- Visual inspection found and corrected an unreadable dark-mode information banner; the rerun passed and refreshed both screenshots.
|
|
- The feed regression confirms repeated active events keep the latest value and a later inactive event removes a withdrawn duplicate.
|
|
- Complete Playwright regression: 5/5. Full backend: 631/631. Full frontend: 201/201. Production build passed.
|
|
- Evidence: `docs/audits/evidence/jobs-001-discovery-375-light.png`, `docs/audits/evidence/jobs-001-discovery-1440-dark.png`.
|
|
- Implementation/evidence commit: `82f4526`.
|
|
|
|
## Not yet verified
|
|
|
|
- No live NAV or production request was performed. Browser result/import data was mocked and is not evidence of NAV availability.
|
|
- Native mobile-device assistive technology, live NAV response compatibility and production smoke remain.
|