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-24 23:15:36 -07:00
2026-07-24 23:15:36 -07:00
2026-06-03 17:36:35 -07:00
2026-07-13 19:07:58 -07:00
2026-04-27 08:21:48 -07:00
2026-05-12 07:47:11 -07:00
2026-07-13 19:07:58 -07:00
2026-07-14 23:18:55 -07:00
2026-07-17 22:45:57 -07:00
2026-07-08 04:24:30 -07:00
2026-07-15 08:44:11 -07:00
2026-07-14 23:18:55 -07:00
2026-06-23 23:30:32 -07:00
2026-06-25 23:34:08 -07:00
2026-07-13 07:10:14 -07:00
2026-07-25 06:22:23 -07:00
2026-07-16 10:13:49 -07:00
2026-05-23 19:51:36 -07:00
2026-07-19 14:08:51 -07:00
2026-07-14 08:16:42 -07:00
2026-06-14 15:29:35 -07:00
2026-07-17 09:12:01 -07:00
2026-07-12 21:21:10 -07:00
2026-07-19 15:53:07 -07:00
2026-06-14 15:29:35 -07:00
2026-04-27 08:21:48 -07:00
2026-06-13 19:22:00 -07:00
2026-07-20 00:18:53 -07:00
2026-07-24 06:21:53 -07:00
2026-04-27 08:21:48 -07:00
2026-05-11 09:52:23 +02:00
2026-07-10 13:26:23 -07:00
2026-07-12 14:42:09 -07:00
2026-04-27 08:21:48 -07:00
2026-07-12 14:42:09 -07:00
2026-06-19 20:47:32 -07:00
2026-06-18 16:47:09 -07:00
2026-07-23 00:01:24 -07:00
2026-06-16 18:03:41 -07:00
2026-07-14 23:18:55 -07:00
2026-07-13 19:07:58 -07:00
2026-07-14 23:18:55 -07:00
2026-07-13 19:07:58 -07:00
2026-07-13 19:07:58 -07:00
2026-04-27 08:21:48 -07:00
2026-07-24 23:15:36 -07:00
2026-07-14 23:18:55 -07:00
2026-06-24 19:25:44 -07:00
2026-06-21 10:53:08 -07:00
2026-05-27 21:31:12 -07:00
2026-03-30 23:56:01 -07:00
2026-03-26 01:03:16 -04:00
2026-07-15 08:44:11 -07:00
2026-07-14 23:18:55 -07:00
2026-04-27 08:21:48 -07:00
2026-06-30 08:04:12 -07:00
2026-04-29 08:15:38 -07:00
2026-07-19 00:10:02 -07:00
2026-07-03 07:47:03 -07:00
2026-07-24 06:21:53 -07:00
2026-06-25 17:04:30 -07:00
2026-07-24 06:21:53 -07:00
2026-07-22 15:47:24 -07:00
2026-05-03 05:47:11 -07:00
2026-07-15 14:41:05 -07:00
2026-07-22 18:26:33 -07:00
2026-07-17 22:45:57 -07:00
2026-07-17 23:18:40 -07:00
2026-06-19 05:13:39 -07:00