Repository navigation
test(webkit): wait for the DSM filter trigger to hydrate before pressing Enter - #3504
Conversation
…ing Enter Main's Safari matrix after #3503 cleared the Forms test and showed one new intermittent failure: the installed-app DSM category facet test focused the filter button and pressed Enter straight after load, before React attached its handler, so the filter panel never opened. Wait for hydration first, the same fix as #3503. No test skipped or loosened; no app code changed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DCghuougzFFXRF3dQQEcYr
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
There was a problem hiding this comment.
BigSimmo has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.
🤖 CodeAnt AI — Review Status
|
Thanks for using CodeAnt! 🎉We're free for open-source projects. if you're enjoying it, help us grow by sharing. Share on X · |
Codex Review SummaryThis 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. |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Claude encountered an error after 2s —— View job I'll analyze this and get back to you. |
🏁 CodeAnt Quality Gate ResultsCommit: ✅ Overall Status: PASSEDQuality Gate Details
|
PR Summary by QodoWait for DSM filter hydration before WebKit keyboard interaction
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
CodeAnt PR Risk: Low Risk
Assessed commit: |
Code Review ✅ Approved🟢 Low risk · Adding a hydration wait in one WebKit UI test changes only test synchronization, leaving application behavior and interfaces untouched. Test-only change that makes the DSM category facet keyboard test wait for the filter trigger to hydrate via VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Approved OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
Merging this PR will not alter performance
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can commit Qodo's fix in one click with committable suggestions (GitHub & GitLab) |
Qodo FixerNo findings are available for this PR yet. Findings appear here once Qodo has reviewed the PR. |
WebKit now runs in CI and its genuine failures were fixed test-side in #3492-#3494 and #3501-#3504. The last three were the same race, a keypress before React attached the handler; the update names the helper to use and the one check left (the first main run after #3504). Claude-Session: https://claude.ai/code/session_01DCghuougzFFXRF3dQQEcYr Co-authored-by: Claude <noreply@anthropic.com>
User description
Summary
Before: main's Safari release matrix after test(webkit): wait for the Forms composer to be live before typing #3503 (run 38300091965) cleared the Forms test and showed one new intermittent failure. The installed-app (
mobile-pwa-standalone) test "DSM category facets support keyboard selection and restore focus" focused the filter button and pressed Enter straight after load, before React had attached its handler. The filter panel never opened. The same test passed in the previous main run, which fits a timing race.After: the test waits for the trigger to hydrate with the shared
expectHydratedhelper before focusing it. This is the same pattern as test(webkit): wait for the Forms composer to be live before typing #3503.Test-only. No test skipped, no assertion loosened, no app code changed.
Verification
prettier --check("All matched files use Prettier code style!") andeslinton the changed file, both clean.Risk and rollout
Notes
🤖 Generated with Claude Code
https://claude.ai/code/session_01DCghuougzFFXRF3dQQEcYr
Generated by Claude Code
Summary by cubic
Fixes an intermittent WebKit failure in the DSM category facet test by waiting for the filter trigger to hydrate before pressing Enter.
Main's Safari matrix showed the installed-app test pressing Enter before React attached the trigger's handler, so the filter panel never opened. The test now uses the shared
expectHydratedhelper before focusing, matching the fix from #3503. Test-only change — no test skipped, no assertion loosened, no app code touched.Written for commit f3aef43. Summary will update on new commits.
CodeAnt-AI Description
Stabilize keyboard selection in the DSM filter test
What Changed
Impact
✅ Fewer intermittent WebKit test failures✅ More reliable DSM keyboard-selection coverage💡 Usage Guide
Checking Your Pull Request
Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.
Talking to CodeAnt AI
Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:
This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.
Example
Preserve Org Learnings with CodeAnt
You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:
This helps CodeAnt AI learn and adapt to your team's coding style and standards.
Example
Retrigger review
Ask CodeAnt AI to review the PR again, by typing:
Check Your Repository Health
To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.