TEST-UNIFY-2: helpers → tests/lib + import codemod (gate green, 0 collection errors)#122
Merged
Conversation
…(Phase 2) The reusable test layer now lives in ONE place. Moved all helpers (auth, api, seedGraph, dbHealing, testEnv, mobileAudit, zorder, vlm, mock-oauth-server, README) into tests/lib/ alongside the harness modules, and balance_metrics.py into tests/lib/metrics/. Codemod across all 39 keeper specs: '../helpers/' → '../lib/' (uniform — every spec is depth-1 under tests/); fixed the balance_metrics.py path string in graph-balance.spec.ts and two stale doc-comment paths. Verified (the plan's #1 risk — a missed import silently zeroes a project at collection): playwright --list per project all resolve with ZERO collection errors (default 352, perf 3, geometry 18, showcase 5, vlm 1, matrix 109); THE GATE 5/5. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
🧪 Comprehensive Test Suite
Full-stack smoke gate runs in the CI workflow. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 2 of the clean-tree refactor. All reusable helpers consolidated into
tests/lib/(+lib/metrics/balance_metrics.py);../helpers/→../lib/codemod across 39 specs. Verified per-projectplaywright --list(0 collection errors: default 352 / perf 3 / geometry 18 / showcase 5 / vlm 1 / matrix 109) and THE GATE 5/5.🤖 Generated with Claude Code