Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/phase0-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:
- name: Transpile source
run: npm run transpile-client

- name: Run Phase 0 QA unit tests
run: npm run test-phase0-qa
- name: Run CortexIDE unit regression (Phase 0 + Phase 2)
run: npm run test-cortexide-qa

phase0-cdp-macos:
name: Phase 0 CDP smoke (macOS)
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
"test-node": "mocha test/unit/node/index.js --delay --ui=tdd --timeout=5000 --exit",
"test-phase0-qa": "npm run test-node -- --runGlob \"**/cortexide/test/common/{providerSettingsValidation,onboardingHelpers,attachFileToChat,chatThreadStorageReviver,providerToolFormat,phase0ClaimVerification,modelCapabilities,menubarStackingFix,designSystem,atReferenceTokens,resolveAtReferences,prepareChatAttachments}.test.js\"",
"test-phase1-safety-cdp": "node test/cortexide-smoke/phase1-safety-verify.mjs",
"test-phase2-qa": "npm run test-node -- --runGlob \"**/cortexide/test/common/{agentLoopDecisions,toolPermissions,toolSynthesisDecision,toolCallRecognition}.test.js\"",
"test-cortexide-qa": "npm run test-phase0-qa && npm run test-phase2-qa",
"test-extension": "vscode-test",
"test-build-scripts": "cd build && npm run test",
"check-cyclic-dependencies": "node build/lib/checkCyclicDependencies.ts out",
Expand Down
4 changes: 3 additions & 1 deletion test/cortexide-smoke/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ Exit code 0 = all checks passed. A screenshot is written to the OS temp dir.

```bash
# Fast — unit tests only (CI runs this on every PR):
npm run test-phase0-qa
npm run test-cortexide-qa
# Phase 0 only: npm run test-phase0-qa
# Phase 2 only: npm run test-phase2-qa

# Full — unit tests + live CDP verify (needs a built dev app):
node build/lib/preLaunch.ts
Expand Down
4 changes: 2 additions & 2 deletions test/cortexide-smoke/run-phase0-qa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ PORT="${CX_CDP_PORT:-9222}"
WS="${CX_WS:-/tmp/cx-phase0-qa-ws}"
PROFILE="${CX_PROFILE:-/tmp/cx-phase0-qa-profile}"

echo "== Phase 0 QA: unit tests =="
npm run test-phase0-qa
echo "== CortexIDE QA: Phase 0 + Phase 2 unit tests =="
npm run test-cortexide-qa

if [[ "$RUN_CDP" -ne 1 ]]; then
echo ""
Expand Down
Loading