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
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"test:unified:open": "node tests/run-unified.mjs --profile full --open",
"test:unified:lib": "node --test tests/lib/",
"test:installation": "./scripts/test-installation-simple.sh",
"test:https": "node tests/ssl-certificate-analysis.js && node tests/mobile-https-compatibility-test.js",
"test:https": "node tests/integration/ssl-certificate-analysis.js && node tests/integration/mobile-https-compatibility-test.js",
"test:report": "open test-results/reports/index.html",
"lint": "turbo run lint",
"typecheck": "turbo run typecheck",
Expand All @@ -39,15 +39,15 @@
"docker:prod": "docker compose -f deployment/docker-compose.yml up",
"test:smoke": "playwright test tests/e2e/smoke/user-smoke.spec.ts --reporter=line",
"test:mobile": "playwright test --grep \"@mobile|@audit\" --project=\"GraphDone-Core/dev-neo4j/chromium\" --reporter=line",
"report:showcase": "playwright test --project=showcase && node tests/generate-showcase-report.mjs",
"report:matrix": "playwright test --project=matrix --reporter=line,html && node tests/generate-matrix-report.mjs",
"report:showcase": "playwright test --project=showcase && node tests/lib/reporting/generate-showcase-report.mjs",
"report:matrix": "playwright test --project=matrix --reporter=line,html && node tests/lib/reporting/generate-matrix-report.mjs",
"report:matrix:open": "open test-artifacts/matrix/index.html 2>/dev/null || xdg-open test-artifacts/matrix/index.html 2>/dev/null || echo 'Open test-artifacts/matrix/index.html'",
"test:perf": "playwright test --project=perf --reporter=line",
"test:perf:scale": "playwright test --project=perf-scale --reporter=line && node tests/generate-perf-report.mjs",
"report:perf": "node tests/generate-perf-report.mjs",
"test:vlm": "playwright test --project=vlm --reporter=line && node tests/generate-vlm-report.mjs",
"test:perf:scale": "playwright test --project=perf-scale --reporter=line && node tests/lib/reporting/generate-perf-report.mjs",
"report:perf": "node tests/lib/reporting/generate-perf-report.mjs",
"test:vlm": "playwright test --project=vlm --reporter=line && node tests/lib/reporting/generate-vlm-report.mjs",
"test:geometry": "playwright test --project=geometry --reporter=line",
"report:vlm": "node tests/generate-vlm-report.mjs",
"report:vlm": "node tests/lib/reporting/generate-vlm-report.mjs",
"perf:bundle": "node tests/perf/check-bundle-size.mjs"
},
"devDependencies": {
Expand Down
21 changes: 13 additions & 8 deletions tests/sequences/unified.config.mjs
Original file line number Diff line number Diff line change
@@ -1,29 +1,34 @@
/**
* Declarative manifest for the unified test harness (tests/run-unified.mjs).
* Each sequence names an adapter + its inputs; PROFILES select which run.
* Paths reflect the CURRENT tree (Phase 0 of the test-tree refactor is
* non-destructive); they update as specs move into domain folders.
*
* Profiles:
* smoke — fast blocking signal (unit + THE GATE + a focused e2e)
* pr — broader blocking set for PRs (adds graph + mobile)
* full — everything incl. report-only capture sequences (video/screenshots)
* report — only the capture-heavy report sequences
* pr — broader blocking set for PRs (adds graph, mobile, perf budgets)
* full — everything incl. the capture-heavy, report-only sequences
* report — only the capture-heavy report sequences (video / galleries / metrics)
*/
const PW = 'GraphDone-Core/dev-neo4j/chromium';

export const SEQUENCES = {
// Blocking signal
'unit-web': { adapter: 'vitest', title: 'Web unit tests', cwd: 'packages/web', blocking: true },
'smoke': { adapter: 'playwright', title: 'Smoke gate (THE GATE)', args: ['tests/e2e/smoke/user-smoke.spec.ts', `--project=${PW}`], blocking: true },
'e2e-auth': { adapter: 'playwright', title: 'Auth e2e — passwordless focus', args: ['tests/e2e/auth/passwordless-focus.spec.ts', `--project=${PW}`], blocking: true },
'e2e-graph': { adapter: 'playwright', title: 'Graph e2e — camera', args: ['tests/e2e/graph/camera.spec.ts', `--project=${PW}`], blocking: true },
'mobile': { adapter: 'playwright', title: 'Mobile audit', args: ['--grep', '@mobile|@audit', `--project=${PW}`], blocking: false },
'perf-budgets': { adapter: 'playwright', title: 'Perf budgets (ADAPT-8)', args: ['--project=perf'], blocking: false },
// Capture-heavy, report-only (own Playwright projects; specs under tests/e2e/reports/)
'diagnostics': { adapter: 'playwright', title: 'Graph-geometry diagnostics', args: ['--project=geometry'], blocking: false },
'showcase': { adapter: 'playwright', title: 'Showcase — video + screenshots', args: ['--project=showcase'], blocking: false },
'matrix': { adapter: 'playwright', title: 'Feature × resolution matrix', args: ['--project=matrix'], blocking: false },
'vlm': { adapter: 'playwright', title: 'Local-VLM visual eval (skips w/o endpoints)', args: ['--project=vlm'], blocking: false },
'perf-scale': { adapter: 'playwright', title: 'Large-scale perf sweep', args: ['--project=perf-scale'], blocking: false },
};

export const PROFILES = {
smoke: ['unit-web', 'smoke', 'e2e-auth'],
pr: ['unit-web', 'smoke', 'e2e-auth', 'e2e-graph', 'mobile'],
full: ['unit-web', 'smoke', 'e2e-auth', 'e2e-graph', 'mobile', 'showcase'],
report: ['showcase'],
pr: ['unit-web', 'smoke', 'e2e-auth', 'e2e-graph', 'mobile', 'perf-budgets'],
full: ['unit-web', 'smoke', 'e2e-auth', 'e2e-graph', 'mobile', 'perf-budgets', 'diagnostics', 'showcase', 'matrix', 'vlm', 'perf-scale'],
report: ['diagnostics', 'showcase', 'matrix', 'vlm', 'perf-scale'],
};
Loading