Skip to content

chore: prune pointless e2e tests and wire every spec into a script - #32

Merged
gitsad merged 7 commits into
mainfrom
chore/prune-and-wire-e2e
Nov 11, 2026
Merged

gitsad merged 7 commits into
mainfrom
chore/prune-and-wire-e2e

Conversation

@gitsad

@gitsad gitsad commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

What this changes

Removes four e2e tests that proved nothing about the app, and gives every remaining Playwright spec a package.json script so none is orphaned.

Key files

  • test/e2e/graph-performance.spec.ts, .md and test:graph:perf — removed (no latency budget, could not catch a slowdown)
  • test/e2e/graph-regression.spec.ts, graph-navigation.spec.ts, tray-popover.spec.ts — one guard-mismatch test, one hidden-harness test and the two logo tests removed
  • package.json — new test:graph:macro:e2e, test:pr-review:e2e, test:text-select:e2e, test:lsp:e2e (compiles first)
  • docs/primitives.md — the four scripts listed under Regression checks

Before / after

Before: 12 of 24 specs had no script. After: a shell check that every test/e2e/*.spec.ts basename appears in package.json prints nothing missing.

First run of each new script (these specs were never run by anything, and several fail on their own, not fixed here):

  • test:graph:macro:e2e: 28 passed, 13 failed (30 s timeouts in graph-macro-areas, -foundation, -legend, -platform-uses, -systems)
  • test:pr-review:e2e: 5 passed, 5 failed
  • test:text-select:e2e: 7 skipped (no Playwright Chromium)
  • test:lsp:e2e: failed, the spec's esbuild build has no .svg loader (prdiffmodal.ts)
    Also: test:graph:e2e 33 passed, 9 failed (screenshot and attribute checks, not touched by this change); test:tray:e2e 11 passed; test:graph:typecheck already fails on origin/main (64 errors, getBitmap() typed void in graph-pixi, missing svg declarations).

Verified with pnpm run typecheck, pnpm run lint, pnpm test (7004 passed), all green. Unreviewed fixes: none. Reviewer follow-ups, not done: launchTrayHarness viewport/scale and GraphHarness.startupMs are now unused. Lantern: 4 files re-mapped.

Run cost

agent model effort calls cache-read cache-write+input
lantern-delegate-medium sonnet 5.5 medium 86 12882895 205205
└ reviewer ×1 opus 5.5 medium 15 919627 91740
lantern-delegate-low (merge main) sonnet 5.5 low 25 1678652 78113
total 126 15481174 375058

@gitsad
gitsad merged commit 1630678 into main Nov 11, 2026
16 checks passed
@gitsad
gitsad deleted the chore/prune-and-wire-e2e branch November 11, 2026 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant