Skip to content

fix(web): align canvas and sidebar regression tests - #678

Merged
tannerpolley merged 1 commit into
mainfrom
issue-677-canvasstore-test-fails-on-main-details
Nov 25, 2026
Merged

tannerpolley merged 1 commit into
mainfrom
issue-677-canvasstore-test-fails-on-main-details

Conversation

@tannerpolley

Copy link
Copy Markdown
Owner

Closes #677

Summary

The Nov 16 upstream sync (721ba11236, merged in #428) imported an assertion that the details card becomes a popover at 900 px while retaining the fork’s intentional 400 px minimum chat lane. The test now expects inline at 900 px and covers both sides of the 772 px docking threshold, including when the sampled panel animation is narrower than the current canvas.

Sidebar browser tests were inheriting drafts persisted by earlier tests. Those drafts caused the draft locator to match multiple rows and consumed the numbered jump hints before the thread rows. Both tests now start with an empty draft store and restore previous state after each run.

Evidence

  • The canvas failure reproduced on the base and on the historical sync merge. The same upstream test passed on the upstream parent. The fixed canvas and layout tests passed 5/5.
  • Running the draft-producing cases before Sidebar reproduced both failures with one worker. After the fix, all five selected Chromium cases passed in that order under CPU contention with VITEST_MAX_WORKERS=1.
  • Focused lint, formatting, and git diff --check passed.

Review

PASS. The independent read-only review of df2d43f0403ede6061228f9abd9032b91c9a6355 found no blocking defects. The diff touches only tests and can be reverted.

Implemented with GPT-6.2 Sol in the Codex harness via T3 Code. Reviewed with GPT-6.2 Astra.

@tannerpolley
tannerpolley merged commit 764bd5c into main Nov 25, 2026
@tannerpolley
tannerpolley deleted the issue-677-canvasstore-test-fails-on-main-details branch November 25, 2026 00:36
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.

canvasStore test fails on main: details card inline vs popover at 900px

1 participant