From 582ab2672a13b461f8f639dfe2ca6dae6a0a2b6a Mon Sep 17 00:00:00 2001 From: M Waleed Kadous Date: Mon, 13 Apr 2026 03:08:07 -0700 Subject: [PATCH] [Bugfix #667] Fix: Update E2E test to match dashboard-dist path after monorepo restructure PR #666 moved the dashboard to packages/dashboard/ and changed the build output from dashboard/dist to dashboard-dist in packages/codev. The npm pack E2E test still expected the old path. --- .../agent-farm/__tests__/e2e/dashboard-terminals.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/codev/src/agent-farm/__tests__/e2e/dashboard-terminals.test.ts b/packages/codev/src/agent-farm/__tests__/e2e/dashboard-terminals.test.ts index 3758f06d..a5bb7c6b 100644 --- a/packages/codev/src/agent-farm/__tests__/e2e/dashboard-terminals.test.ts +++ b/packages/codev/src/agent-farm/__tests__/e2e/dashboard-terminals.test.ts @@ -153,13 +153,13 @@ test.describe('Dashboard Terminals E2E', () => { await request.delete(`${BASE_URL}/api/tabs/${body.id}`); }); - test('npm pack includes dashboard/dist', async () => { + test('npm pack includes dashboard-dist', async () => { const { execSync } = await import('node:child_process'); const output = execSync('npm pack --dry-run 2>&1', { cwd: resolve(WORKSPACE_PATH, 'packages/codev'), encoding: 'utf-8', }); - expect(output).toContain('dashboard/dist/index.html'); - expect(output).toContain('dashboard/dist/assets/'); + expect(output).toContain('dashboard-dist/index.html'); + expect(output).toContain('dashboard-dist/assets/'); }); });