test(web): drop two rule-excluded tests from the redesign #33892
maria/redesign/2-composer-timeline fromrefs/pull/33892/head·merged by shivamhwp(GitHub profile, opens in a new tab) View on GitHubNote
🤖 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 mockedopenFilereceived the thread and path. That is callback wiring, which the rules leave out. It is also a second layer for the same thing:SlashCommandTimelineRowrenders the sharedSkillChipPopoverwithskillInstructionsOpener, whichChatMarkdown.browser.test.tsx"ChatMarkdown skill chips" already covers, andMessagesTimeline.logic.test.tscovers parsing a standalone$skillmessage. The redesign feature commit added it; it wasn't a bug fix's proof. ItsuseRightPanelStoreimport 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. ItsComposerSurfaceimport 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
BaselineMarkerinContextChip.browser.test.tsx. This file is byte-identical tomain, where #25066 added it. Layer 2 only caught up tomainin #29207, and the diff shows it as new only because layer 1 still has the older version. Removing amaintest belongs in a PR againstmain, 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
- 1
- 2
Pushedf5a3b0a
shivamhwp(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.