Repository navigation
test: prune UI tests that can't catch a bug, fix two that couldn't fail - #1957
Merged
Merged
Maple Review Bot / Maple / review
succeeded
Oct 30, 2026 in 41s
Confidence 10/10 · No issues found
🟢 Confidence 10/10 · safe to merge
Test-only change: both rewritten assertions were checked against the hook's first-render return and the row link's aria-label, and each can now fail.
no findings · tests covered · risk low
Removes UI tests that duplicated covered behaviour or pinned layout option strings, and replaces two assertions that could never fail with ones that can. Test-only and safe to merge.
What was checked
usePlotLegendSlotderives its answer at render (plot-frame.tsx:452), soanswers[0]istrueand a read-back-from-effect regression now fails the testrole("link", { name: "Trace GET /" })matches the row'saria-labelbuilt fromrootSpanName(view-row.ts:31,row-link.ts:27)- The removed ELK assertions were constant-vs-literal pins on
DEFAULT_LAYOUT_CONFIG, which the repo'stest-sloprules ban; the flat/compound and >300-node switch checks stay
4650952 · Updated on every push. Reply "won't fix" to dismiss a finding, or mention @maple-review-bot to ask about one.
Loading