test(ui): add jsdom coverage for ModeActionPopup and DocumentSearchResultsPanel state matrix - #1469
Conversation
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in:59 minutes Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:d6f190207f
ℹ️ 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".
Uh oh!
There was an error while loading. Please reload this page.
# Conflicts: # docs/outstanding-issues.md
# Conflicts: # docs/outstanding-issues.md
Uh oh!
There was an error while loading. Please reload this page.
Motivation
Description
tests/mode-action-popup.dom.test.tsxto coverModeActionPopupopen/close, keyboard navigation, action execution, focus restoration, mode selection and disabled-mode behaviour.tests/document-search-record-fault.dom.test.tsxwith jsdom cases that assert theDocumentSearchResultsPanelloading → settled-empty transition, empty-query home actions, and unavailable/error reporting.docs/outstanding-issues.mdto mark#107as resolved with the executing coverage as the disposition.workwith messagetest(ui): cover component state transitions.Testing
npm test -- --run tests/mode-action-popup.dom.test.tsx tests/document-search-record-fault.dom.test.tsxand the added tests passed locally (2 files, 10 tests; all green).npm run verify:cheap(full cheap gate) completed successfully; Vitest run: 437 test files / 4,580 tests passed with 4 skipped.npm run check:outstanding-issues(guard validated and Add risk labels to document classification #107 archived),npm run format -- --writeandnpm run format:changed(formatting clean), andnpm run check:rag:fixtures(offline RAG fixtures passed).npm run verify:pr-local -- --dry-run --files ...produced the expected verification plan with no blocking provider-backed checks.Codex Task