You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(ats): kanban e2e passes on an empty board; seed 006 only touches core.applications #538
tests/e2e/office/test-office-applications-kanban.spec.ts asserts that six kanban columns render, then exercises drag-and-drop.
Column structure renders fine on an empty board. The structural assertions pass against zero data, so the suite has been green throughout the period in which useApplications() returned a hardcoded empty array and no application has ever appeared in /office. The suite provides no signal on the actual failure.
Fixture problem
packages/supabase/seeds/006_seed-unicorn-ats.sql contains 3 INSERTs, all into core.applications. No messages, no activity, no assignments, no interview slots, no stage variety. Even a correct list endpoint would render a nearly-empty board with no metrics.
Work
Extend seed 006 beyond core.applications: application_messages, application_activity, application_assignments, interview_slots, and applications spread across all 7 stages with varied source values.
Assert a non-zero card count before asserting drag behaviour, so an empty board fails the suite instead of passing it.
Add assertions that a drag actually persists — reload and re-check the column.
Add contract tests for the new employer endpoints covering the 403 paths (wrong org, no role_assignments row) as first-class cases, not afterthoughts.
Acceptance
Reverting the employer list endpoint to an empty array turns this suite red.
Seed and precondition work landed in #554. The remaining half — the suite is excluded from testMatch and its auth setup sits outside testDir, so it never runs — is tracked in #553.
Activity
thinkclay commentedon Aug 10, 2026
Seed and precondition work landed in #554. The remaining half — the suite is excluded from
testMatchand its auth setup sits outsidetestDir, so it never runs — is tracked in #553.test(ats): seed the whole pipeline, and make an empty board fail the …