Skip to content

fix(test): settle visible search-query-ribbon in ui-tools composer check - #1635

Merged
BigSimmo merged 5 commits into
mainfrom
cursor/ui-tools-ribbon-settlement-ec26
Aug 5, 2026
Merged

fix(test): settle visible search-query-ribbon in ui-tools composer check#1635
BigSimmo merged 5 commits into
mainfrom
cursor/ui-tools-ribbon-settlement-ec26

Conversation

@BigSimmo

@BigSimmoBigSimmo commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Summary

Verification

  • Verification not run: test locator settlement only; no product path change. CI Production UI / pr-required will prove the hotspot.
  • UI verification not run locally: Playwright Chromium will run in CI for this path-scoped change.

Risk and rollout

  • Risk: Low — test-only locator settlement for a known CI streaming clone.
  • Rollback: Revert the squash commit.
  • Provider or production effects: None

Notes

Open in WebOpen in Cursor

Summary by CodeRabbit

  • Tests
    • Improved search-route test reliability by selecting the visible status ribbon when multiple hidden or streaming versions are present.

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.
@coderabbitai

coderabbitaiBot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 124205a7-9d5a-446e-b6c3-bb83781db1d7

📥 Commits

Reviewing files that changed from the base of the PR and between abf5858 and cd8c942.

📒 Files selected for processing (1)
  • tests/ui-tools.spec.ts

📝 Walkthrough

Walkthrough

The search-route UI test now uses visibleByTestId to select the settled visible search-query-ribbon when hidden streaming clones exist.

Changes

Search-route ribbon selection

Layer / File(s)Summary
Visible ribbon assertion
tests/ui-tools.spec.ts
The test scopes the search-query-ribbon lookup to the visible element.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

Suggested reviewers:cursoragent, claude, copilot

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check nameStatusExplanation
Title check✅ PassedThe title clearly identifies the test fix for settling the visible search-query ribbon locator.
Description check✅ PassedThe description explains the change, verification status, low risk, rollback, and lack of production effects; omitted governance sections are not applicable to this test-only change.
Docstring Coverage✅ PassedNo functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check✅ PassedCheck skipped because no linked issues were found for this pull request.
Out of Scope Changes check✅ PassedCheck skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Comment @coderabbitai help to get the list of available commands.

@supabase

supabaseBot commented Aug 5, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project sjrfecxgysukkwxsowpy because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@BigSimmo
BigSimmo marked this pull request as ready for review August 5, 2026 20:48

@devin-ai-integrationdevin-ai-integrationBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@BigSimmo
BigSimmo enabled auto-merge (squash) August 5, 2026 21:33
@BigSimmo
BigSimmo merged commit d04ec9c into mainAug 5, 2026
29 checks passed
@BigSimmo
BigSimmo deleted the cursor/ui-tools-ribbon-settlement-ec26 branch August 5, 2026 21:52
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@BigSimmo@cursoragent