Commit Graph

22 Commits

Author SHA1 Message Date
df7c57ea6d feat(test): add automatic server lifecycle management to run-e2e.sh
- Added kill_port() function to kill processes on specified port
- Added wait_for_server() function to wait for server to be ready
- Script now kills any existing server on port 3050 before starting
- Starts fresh dev server in background with logging
- Waits for server to be ready before running tests
- Automatically kills server after tests complete
- Added server log to report files for debugging
- Health check now reports healthy since server is managed by script
2026-05-09 13:46:15 -07:00
c268567bb6 fix(test): fix JSON generation and disable auto webServer
- Fixed run-e2e.sh to use numeric 0 instead of 'unknown' for test counts
- This resolves JSON parsing error when tests don't run
- Disabled webServer in playwright.config.ts due to Vite -p flag issue
- Tests now require manually starting dev server: cd web && pnpm dev -- --port 3050
- Updated comments in config with instructions for running tests
2026-05-09 13:36:22 -07:00
a217fb409f fix(test): correct path calculation in run-e2e.sh
Fixed PROJECT_ROOT path calculation from ../ to ../..
Script is in scripts/tests/, so need to go up two levels to reach project root
WEB_DIR is now correctly set to project root/web
2026-05-09 13:35:04 -07:00
a57229346c test(ui): enhance E2E test runner with AI-friendly detailed reports
- Updated scripts/tests/run-e2e.sh to generate comprehensive reports
- Added JSON reports for AI parsing with actionable recommendations
- Added markdown reports for human readability
- Created summary JSON with for_ai_agents section for automated action
- Added timestamped reports with symlinks to latest
- Added health check status to reports
- Created scripts/tests/reports/README.md with usage documentation
- Reports include: test results, failure analysis, next actions, file paths
2026-05-09 13:32:55 -07:00
79f00214a9 test(ui): add comprehensive Playwright E2E test suite
- Created e2e/alert-positioning.spec.ts for critical alerts positioning tests
- Created e2e/assistant-positioning.spec.ts for assistant widget positioning tests
- Created e2e/destructive-actions.spec.ts for destructive actions confirmation tests
- Created e2e/feedback.spec.ts for save/delete/update feedback tests
- Created e2e/page-states.spec.ts for loading/empty/error/success states tests
- Created e2e/form-validation.spec.ts for form validation tests
- Created e2e/keyboard-navigation.spec.ts for keyboard navigation tests
- Created scripts/tests/run-e2e.sh test runner script with health check
- Updated LAUNCH_READY_UI_UX_ROADMAP.md checklist - all items complete
- All testing infrastructure complete (CI integration replaced with local test runner)
2026-05-09 13:28:20 -07:00
4c658694f0 chore: enforce local ByteLyst package resolution 2026-05-08 21:09:14 -07:00
root
c6a05d54d9 Enforce strict UI audit in verify 2026-05-09 01:11:30 +00:00
root
b4f68725ef chore(chat): harden pipeline and deploy flow 2026-05-07 08:24:44 +00:00
root
5453bb4922 refactor(ui): close residual theme audit debt 2026-05-07 06:21:32 +00:00
5f38adac62 refactor(ui): remove legacy badge style debt 2026-05-06 18:26:12 -07:00
9ea72f7a71 fix(ui): harden drift audit 2026-05-06 15:46:42 -07:00
833e85ee0e feat(ui): add common platform primitive adapter 2026-05-06 13:51:25 -07:00
f0cdfe6776 chore(ui): add platform migration baseline audit 2026-05-06 13:46:10 -07:00
1be7a93d52 fix(vscode): add alpaca mcp auth diagnostics 2026-05-06 09:53:00 -07:00
9e3f99e7a9 fix(vscode): make alpaca mcp launcher sh-compatible 2026-05-06 09:37:44 -07:00
f425ec3bd7 chore(vscode): add alpaca mcp env template 2026-05-06 09:35:36 -07:00
4e8bc25b7d fix(vscode): correct alpaca mcp workspace config 2026-05-06 09:30:34 -07:00
6c43fca934 chore(infra): vendored @bytelyst/* packages, Docker healthcheck, compose merge
- Switch @bytelyst/* to file:../vendor/* references; add vendor/ tree;
  update both Dockerfile stages to COPY vendor/ before pnpm install
- docker-compose.yml: add healthcheck on backend /health/live; use
  backend/.env as env_file; env-var-driven web build args with prod defaults;
  GITEA_NPM_TOKEN uses ${:-} safe default; web depends_on service_healthy
- Add docker-compose.dev.yml hot-reload overlay
- Add scripts/dev.sh convenience script for Docker+local-web hybrid
- .npmrc: add replace-registry-host=always for Gitea Docker-internal rewrite
- Update smoke-release.sh and root package.json docker:* scripts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 19:35:35 -04:00
4cfb446f57 feat(backend): WebSocket namespaces, audit persistence, tab flags, telemetry
- Add /trading and /admin named Socket.IO namespaces; root namespace kept for
  backward compat; admin namespace rejects non-admins at connect time
- Wire auditRepository.ts: persist TradeAuditEvent to Cosmos audit-events
  container (best-effort); expose GET /api/admin/audit for admin queries
- Add tradingTelemetry singleton (Node.js Map-based storage adapter); init
  and fatal-error tracking wired in index.ts main()
- Add TAB_MARKETPLACE_ENABLED / TAB_MEMBERSHIP_ENABLED config flags; expose
  tabs.* shape in GET /api/feature-flags response
- Fix SupabaseService URL validation (regex check before createClient)
- Wire check:api-contract and check:audit-repository into npm run test
- Switch @bytelyst/* deps to file:../vendor/* references

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 19:35:00 -04:00
790213513f test: add release smoke coverage and runbook 2026-04-04 17:07:48 -07:00
d01ed51bff fix: harden repo verification scripts 2026-04-04 14:35:01 -07:00
3cbbd6ccaa feat: scaffold trading monorepo foundation 2026-04-04 11:18:21 -07:00