Creates comprehensive integration test that simulates fresh developer onboarding: **Test Flow:** 1. Fresh Ubuntu + Node 20 environment (Docker) 2. Run `./scripts/setup.sh` (install + build + npm link) 3. Create test config with `ao init` 4. Start dashboard with `ao start` 5. Verify dashboard API responds 6. Verify WebSocket servers running 7. Measure total onboarding time **Usage:** ```bash # Run locally cd tests/integration && ./run-test.sh # Or with docker-compose cd tests/integration && docker-compose up --build ``` **CI Integration:** - Runs on PR (when packages/ or scripts/ change) - Runs on push to main - Uploads logs on failure - Measures onboarding time **Benefits:** - Catches onboarding regressions (like config discovery bug) - Benchmarks onboarding performance - Validates fresh install experience - Tests actual user workflow end-to-end **Future Enhancements:** - Multi-project test - Port conflict test - Session spawn test - Terminal WebSocket test - Upgrade test Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ci.yml | ||
| integration-tests.yml | ||
| onboarding-test.yml | ||
| release.yml | ||
| security.yml | ||