Repository navigation
test(zoom): restore the close, context color, tab stop and stop() tests that #14 dropped - #490
Conversation
…ts that #14 dropped #14 (142b3d0) merged a stale branch over e2e/zoom.e2e.ts and deleted five tests and the lastFrame helper that 26233e9 had. They are back against today's fixtures. The closing test and lastFrame live in e2e/motion-zoom.e2e.ts, since the closing travel has come from comark-motion since #474 and the zoom-only renderer closes at once. The screenshot's zoom item is now .ca-stage, and the tab order steps over each screenshot's Copy button, which #26 added.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Latest result Pull request merged. Final answersSession Pull request merged. Session Waiting for review checks before the next pass. Session Waiting for review checks before the next pass. Session Waiting for review checks before the next pass. Session Waiting for review checks before the next pass. Session Waiting for review checks before the next pass. Session Waiting for review checks before the next pass. Session Waiting for review checks before the next pass. Session Waiting for review checks before the next pass. Session Waiting for review checks before the next pass. |
comark-annotate
comark-badge
comark-bundle
comark-cards
comark-carousel
comark-cast
comark-charts
comark-chat
comark-chips
comark-cjk
comark-code
comark-code-notes
comark-colors
comark-comments
comark-critic
comark-deflist
comark-details
comark-diagrams
comark-diff
comark-embed
comark-fields
comark-figure
comark-file-tree
comark-footnotes
comark-git-graph
comark-github
comark-icon
comark-include
comark-keys
comark-links
comark-linter
comark-magic-move
comark-mark
markdown-it-to-comark
marked-to-comark
comark-mathml
comark-media
comark-metrics
migrate-to-comark
comark-motion
comark-outline
comark-properties
comark-qr
comark-quiz
comark-reading-time
remark-to-comark
comark-sources
comark-steps
comark-table
comark-tabs
comark-tests
comark-time
comark-ui
comark-xref
comark-zoom
commit: |
There was a problem hiding this comment.
✅ No new issues found.
Approach: Sound — putting the closing-frame check in the motion suite exercises the actual animation, while the zoom-only suite covers keyboard behavior, color inheritance, and cleanup.
Reviewed changes — All five restored regressions. No P0 or P1 findings.
- Closing geometry: Checks that the animated copy lands within one pixel of the source for both the table and the fixed-line-height block.
- Zoom behavior: Checks screenshot context color, carousel tab order and Enter handling,
tabindexhandling for late insertions, and scroll restoration afterstop(). - Verification: All 43 tests in both Chromium zoom suites passed. The five restored tests also passed six repetitions each with four workers.
gpt-6.2-sol(high) | 𝕏

Five zoom e2e tests and the
lastFramehelper have been missing since #14. Its branch was older than #11 and #16, and the squash (142b3d0) deleted what they had added toe2e/zoom.e2e.ts. The code they test is still inpackages/zoom/src/script.ts, untested.This puts them back against today's fixtures:
Three things differ from the originals. The closing test and
lastFrameare ine2e/motion-zoom.e2e.ts, because the closing travel comes from comark-motion since #474 and the zoom-only renderer closes at once. The Enter test steps over each screenshot's Copy button, which #26 added, and asserts the whole tab order. The screenshot's zoom item is.ca-stagenow. The offsetHeight test that #14 left in place of the closing test stays, since it covers a ratio line height and a serif font that the restored fixture does not.Tested:
playwright test e2e/zoom.e2e.ts e2e/motion-zoom.e2e.tspasses (43). With four lines ofpackages/zoom/src/script.tsbroken (nested tabindex removal,shell.style.color = "inherit",restore()on stop, the line-height probe) and the package rebuilt, exactly the five restored tests fail. Format, lint and typecheck pass.Not checked: the rest of the e2e suite and
pnpm ready. Chromium only, as the Playwright config says.