gsxdsm
2a2b157cb9
FN-8585: fix dashboard composer test source reads
Stabilize dashboard composer tests when Vitest launches from the workspace root.
- Resolve dashboard test source fixtures relative to the app directory.
- Migrate affected component tests away from cwd-relative CSS reads.
- Enforce the fixture convention in test hooks and document it.
Files changed:
docs/testing.md | 4 +++
package.json | 6 ++--
.../__tests__/AuthTokenRecoveryDialog.test.tsx | 3 +-
.../components/__tests__/ChatView.mobile.test.tsx | 5 +--
.../__tests__/EngineControlMenu.test.tsx | 11 ++----
.../components/__tests__/FloatingWindow.test.tsx | 5 +--
.../app/components/__tests__/ListView.test.tsx | 5 +--
.../__tests__/MissionInterviewModal.test.tsx | 3 +-
.../app/components/__tests__/MobileNavBar.test.tsx | 3 +-
.../app/components/__tests__/NewTaskModal.test.tsx | 3 +-
.../__tests__/PlanningModeModal.initial.test.tsx | 3 +-
.../PlanningModeModal.ui-interactions.test.tsx | 7 ++--
.../components/__tests__/PrCreateModal.test.tsx | 3 +-
.../__tests__/QuickChat.persist.test.tsx | 3 +-
.../components/__tests__/QuickEntryBox.test.tsx | 3 +-
.../components/__tests__/ReportActionMenu.test.tsx | 9 ++---
.../app/components/__tests__/ReportModal.test.tsx | 3 +-
.../__tests__/ShadcnColorPicker.test.tsx | 3 +-
.../components/__tests__/TerminalModal.test.tsx | 3 +-
.../components/__tests__/ThemeDropdown.test.tsx | 9 ++---
.../__tests__/WorkflowNodeEditor.test.tsx | 5 +--
.../WorkflowOptionalStepsDropdown.test.tsx | 3 +-
.../components/__tests__/WorkflowSwitcher.test.tsx | 5 +--
.../app/components/__tests__/board-mobile.test.tsx | 4 +--
.../__tests__/CommandCenterControls.test.tsx | 6 ++--
.../__tests__/SystemControlsArea.test.tsx | 5 +--
.../__tests__/SystemStatsArea.test.tsx | 3 +-
.../command-center/areas/__tests__/areas.test.tsx | 3 +-
.../__tests__/KeyboardShortcutsSection.test.tsx | 3 +-
.../app/test/__tests__/cssFixture.test.ts | 35 +++++++++++++++++++
packages/dashboard/app/test/cssFixture.ts | 12 +++++++
.../check-no-cwd-relative-dashboard-test-reads.mjs | 39 ++++++++++++++++++++++
32 files changed, 162 insertions(+), 55 deletions(-)
Fusion-Task-Id: FN-8585
Fusion-Task-Lineage: 83a35fb6-a29d-4e97-b282-1054c68b8cc9
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-25 06:22:23 -07:00
..
2026-07-25 06:22:23 -07:00
2026-07-25 06:22:23 -07:00
2026-06-30 10:30:57 -07:00
2026-07-19 17:39:43 -07:00
2026-07-20 09:57:38 -07:00
2026-07-15 18:43:37 -07:00
2026-07-21 15:30:31 -07:00
2026-06-19 04:37:04 -07:00
2026-06-25 19:57:49 -07:00
2026-07-18 13:18:08 -07:00
2026-07-18 13:18:08 -07:00
2026-07-20 09:57:38 -07:00
2026-06-19 04:27:01 -07:00
2026-07-20 09:57:38 -07:00
2026-07-18 18:45:16 -07:00
2026-07-18 18:45:16 -07:00
2026-06-19 04:27:01 -07:00
2026-07-09 08:17:52 -07:00