fix(test): settle visible search-query-ribbon in ui-tools composer check - #1635
Conversation
CI can leave a hidden Next streaming `#S:1` clone beside the live favourites ribbon (outstanding #93), so bare getByTestId fails strict mode. Match the settlement helpers already used elsewhere in this file.
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe search-route UI test now uses ChangesSearch-route ribbon selection
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
Comment |
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Uh oh!
There was an error while loading. Please reload this page.
Summary
getByTestId("search-query-ribbon")can match two nodes when Next leaves a hidden streaming#S:1clone beside the live favourites band (outstanding chore(deps): bump actions/checkout from 4 to 7 #93).visibleByTestIdalready imported intests/ui-tools.spec.ts, matching the settlement helpers used elsewhere in that file.Verification
Production UI/pr-requiredwill prove the hotspot.Risk and rollout
Notes
Summary by CodeRabbit