Skip to content

Fix #667: Update E2E test for dashboard-dist path after monorepo restructure#668

Merged
waleedkadous merged 1 commit intomainfrom
builder/bugfix-667-dashboard-e2e-npm-pack-missing
Apr 13, 2026
Merged

Fix #667: Update E2E test for dashboard-dist path after monorepo restructure#668
waleedkadous merged 1 commit intomainfrom
builder/bugfix-667-dashboard-e2e-npm-pack-missing

Conversation

@waleedkadous
Copy link
Copy Markdown
Contributor

Summary

The dashboard E2E test (dashboard-terminals.test.ts) was checking that npm pack includes dashboard/dist/index.html, but PR #666 moved the dashboard to packages/dashboard/ and changed the build output to dashboard-dist/. The test assertion was not updated to match.

Fixes #667

Root Cause

PR #666 (VS Code extension monorepo restructure) changed:

  • build:dashboard script from cd dashboard && npm install && npm run build to cd ../dashboard && npm run build && cp -r dist ../../packages/codev/dashboard-dist
  • files field from dashboard/dist to dashboard-dist

The E2E test was not updated to match the new path.

Fix

Updated the test assertions from dashboard/dist/index.htmldashboard-dist/index.html and dashboard/dist/assets/dashboard-dist/assets/.

Test Plan

  • Regression test updated (the fix IS the test update)
  • Build passes
  • All 2442 unit tests pass
  • npm pack --dry-run confirms dashboard-dist/index.html is in the tarball

… 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.
@waleedkadous waleedkadous merged commit 5e93f98 into main Apr 13, 2026
6 checks passed
@waleedkadous waleedkadous deleted the builder/bugfix-667-dashboard-e2e-npm-pack-missing branch April 13, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dashboard E2E: npm pack missing dashboard/dist after monorepo restructure (#666)

1 participant