Skip to content

fix: serve built dashboard in e2e workflow - #15

Merged
biancarosa merged 1 commit into
mainfrom
codex/fix-main-e2e
May 19, 2026
Merged

fix: serve built dashboard in e2e workflow#15
biancarosa merged 1 commit into
mainfrom
codex/fix-main-e2e

Conversation

@biancarosa

Copy link
Copy Markdown
Owner

Summary

  • Serve the static dashboard build from dashboard/out when the E2E workflow starts netkit for Playwright.
  • Keeps CI from testing the non-embedded fallback dashboard page after the dashboard build step.

Root Cause

The workflow built the dashboard but started ./bin/netkit without --dashboard-dir, so port 3000 served the fallback "Dashboard not embedded" page. Playwright then passed the title check but failed when looking for the real dashboard controls.

Validation

  • CI=true npm run test:e2e passed locally: 7 tests passed.
  • make e2e passed locally.

Fixes #11.
Fixes #14.

@biancarosa
biancarosa marked this pull request as ready for review May 19, 2026 18:07
@biancarosa
biancarosa merged commit 62488c6 into main May 19, 2026
1 check passed
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.

🚨 E2E Tests Failed on Main Branch (c3cc6f9) 🚨 E2E Tests Failed on Main Branch (852f0db)

1 participant