Skip to content
Source
Sign inSign up
pingdotgg/t3code

test(web): drop two rule-excluded tests from the redesign #33892

Mergedshivamhwp(GitHub profile, opens in a new tab)merged 0 commits intomaria/redesign/2-composer-timeline fromrefs/pull/33892/headmerged by shivamhwp(GitHub profile, opens in a new tab) View on GitHub

Note

🤖 Claude Opus 5.5 on behalf of Shivam

Macroscope's Test Signal check left four comments on #28840 asking for tests to be removed under the testing rules (AGENTS.md Verifying, docs/internals/testing.md). This removes two of them and keeps two, with the reasons below. Deletions only; no surviving test changed.

Removed:

  • MessagesTimeline.browser.test.tsx "opens standalone skill details and its instructions" (the comment at line 833). It opens the popover, clicks View instructions and checks that a mocked openFile received the thread and path. That is callback wiring, which the rules leave out. It is also a second layer for the same thing: SlashCommandTimelineRow renders the shared SkillChipPopover with skillInstructionsOpener, which ChatMarkdown.browser.test.tsx "ChatMarkdown skill chips" already covers, and MessagesTimeline.logic.test.ts covers parsing a standalone $skill message. The redesign feature commit added it; it wasn't a bug fix's proof. Its useRightPanelStore import goes with it.
  • ComposerBannerStack.browser.test.tsx "keeps the tray's top edge without leaving an empty notice region". It checks only a 1px rim, a non-zero corner radius, a zero-height notice region and the composer's top offset. Those are purely visual, so they get captures, not a UI test. Main's version came from a feature PR (#25401). The redesign rewrote it, and the fix commit 357823b568 changed it again, but that fix was itself visual (keeping the tray border inside the composer's size), which also gets captures. Its ComposerSurface import goes with it.

Kept:

  • MessagesTimeline.browser.test.tsx "keeps the bar still when work arrives while the history collapses at the bottom". #30466 merged it into this layer as the failing-first proof of a race. The follow-the-end scroll came back during the collapse, so a row that landed mid-collapse scrolled toward an end that was still moving. Without the fix, the bar in the test jumps from 865px to 46px. The rules keep tests for race fixes. The symptom shows on screen, but the cause and the fix are in the scroll-follow state.
  • The baseline assertions and BaselineMarker in ContextChip.browser.test.tsx. This file is byte-identical to main, where #25066 added it. Layer 2 only caught up to main in #29207, and the diff shows it as new only because layer 1 still has the older version. Removing a main test belongs in a PR against main, not in the redesign stack.

Not touched: the fifth comment, on design-system/scenes/playback.test.ts:161. Layer 6 deletes that file, so editing it here would cause a modify/delete conflict going up.

The deletions merge cleanly into maria/redesign/6-workspace-panes (checked with git merge-tree). Layer 6's additions to MessagesTimeline.browser.test.tsx are at lines 272 and 1023, away from the removed block.

vp run check:changed against layer 2 passed at the deletion commit 685d4bb2e8: format, lint, knip, typecheck, and the 55 remaining tests in the two files (51 in MessagesTimeline, 4 in ComposerBannerStack). An independent review (GPT-6.1 Sol) agreed with all four calls.

Rebased onto layer 2 after its 2026-11-11 update. Layer 2 now carries main's #26570 itself, so the cherry-pick this PR used to include for the Agent context budget check is gone and the PR is the one deletion commit.

Stacks on maria/redesign/2-composer-timeline.

Claude Opus 5.5, Claude Code via T3 Code.

🤖 Generated with Claude Code

Sign in to join this conversation.