Make dashboard test execution deterministic and restore quarantined coverage. - Defer oversight-menu autofocus until the opening frame and cover both breakpoints. - Replace timing-dependent planning stream mocks with deterministic microtasks. - Isolate QuickEntryBox focus state and re-admit restored dashboard tests. Files changed: .../dashboard/app/components/TaskDetailModal.tsx | 15 ++- .../PlanningModeModal.planning-flow.test.tsx | 132 ++++++++++++++------- .../components/__tests__/QuickEntryBox.test.tsx | 13 ++ .../TaskDetailModal.oversight-mobile.test.tsx | 19 +-- packages/dashboard/vitest.config.ts | 24 ++-- scripts/lib/dashboard-curated-skiplist.json | 4 + scripts/lib/test-quarantine.json | 20 ---- 7 files changed, 140 insertions(+), 87 deletions(-) Fusion-Task-Id: FN-8245 Fusion-Task-Lineage: cd9b0638-0a6b-4dcf-980a-e90ba72b5db9 Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
14 lines
1.1 KiB
JSON
14 lines
1.1 KiB
JSON
{
|
|
"$comment": "Dashboard curated-gate skip-list (plan U2 / R7). Files here are NOT executed by any quality project. Every entry needs a non-empty reason. These were discovered as orphans (running in no executed project) that FAIL in isolation today, so gating them would break CI; skip-listed to keep the gate green and the failures tracked. FNXC:DashboardTesting 2026-06-14-07:51: Placeholder tracking is not actionable; every skip-list reason must cite a concrete Fusion task ID unless the test is fixed and the entry is removed. Remove an entry once the test is fixed and add it to a backfill/quality project.",
|
|
"entries": [
|
|
{
|
|
"file": "packages/dashboard/app/__tests__/build-output.test.ts",
|
|
"reason": "asserts the built bundle; runs standalone via `pnpm --filter @fusion/dashboard test:build` (needs a prior vite build), not in the unit gate"
|
|
},
|
|
{
|
|
"file": "packages/dashboard/src/__tests__/plugin-registry-dist.test.ts",
|
|
"reason": "emitted-dist assertion; runs standalone via `pnpm --filter @fusion/dashboard test:build` after a build, not in the unit gate"
|
|
}
|
|
]
|
|
}
|