Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7c1e55a352
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| // to the other side rather than leave focus where it was. | ||
| if (document.activeElement === element) return; | ||
| } |
There was a problem hiding this comment.
Restore the unsuppressed WebKit focus retry
When keyboard navigation targets a difference that is still below the fold, Linux WebKit can silently ignore focus({ preventScroll: true }); this loop then exhausts its candidates and leaves focus on <body>. focusDiff scrolls smoothly before this call, so the target can still be off-screen at this point, and the existing keyboard-navigation e2e assertion for [data-diff-id].focus-diff:focus will fail on the WebKit projects now selected by CI. Retry focus() without preventScroll after these attempts fail.
Useful? React with 👍 / 👎.
| - name: Run Playwright tests | ||
| run: pnpm test:e2e | ||
| run: pnpm test:e2e --project=webkit --project=mobile-webkit |
There was a problem hiding this comment.
Restore the full browser matrix in CI
This command runs only the two WebKit projects, while playwright.config.ts also defines the desktop Chrome, mobile Chrome, and Firefox projects. Because deployment requires only this e2e job to succeed, regressions in the primary Chromium and Firefox flows can now merge and deploy without any end-to-end coverage; the installed Chrome and Firefox browsers are unused. Restore the unfiltered test command before merging.
Useful? React with 👍 / 👎.
Diagnostic branch. e2e temporarily scoped to WebKit projects for fast CI feedback while iterating the Linux-WebKit keyboard-focus fix. The scoping commit is reverted before merge.