Skip to content

fix(test): turn the Suggestion chip on in Claude Code's row on Agents in ui-regression - #3120

Merged
devswha merged 1 commit into
mainfrom
fix/ui-regression-settings-rows
Nov 6, 2026
Merged

devswha merged 1 commit into
mainfrom
fix/ui-regression-settings-rows

Conversation

@devswha

@devswha devswha commented Nov 6, 2026

Copy link
Copy Markdown
Owner

What it changes

scripts/ui-regression.ts (CI's required "Browser regression (ui-regression)" job) is red on main again: setChecked times out after 30 s waiting for getByRole('switch', { name: 'Suggestion chip' }).

#3108 moved the Suggestion chip switch out of Chat's Composer "More settings" into Claude Code's own settings on the Agents page: in Claude Code's row under "On this PC" when the PC has Claude, else in a "Claude Code" group of its own on that page (and only on a touch screen, which the phone context is). The script still opened ?settings=chat&section=composer-more, where the switch no longer is.

The step now opens ?settings=agents, waits for Claude Code's row or its group, opens the row when it is one, and turns the same switch on. The steps and assertions after it are unchanged.

I also checked every scripts/* file for links, sections and labels of the rows #3108 and #3117 moved or merged (launch-modes, chat-experimental, the old voice/remote pages, Permission mode, Artifacts chip, Side conversations chip, Expand thinking, Group agents by state, the two Tidy dictated text switches, the old page names). Apart from this step, #3108 and #3117 had already updated them, so this PR changes only this one script.

No product code changes.

Validation

  • In herdr-ci-runner:local (CI env, a fresh worktree, bun install --frozen-lockfile, bun run build, scripts/ci-browser-parallel.ts with BROWSER_SCRIPTS=scripts/ui-regression.ts):
    • on origin/main 309f5b3: FAIL twice, TimeoutError: setChecked: Timeout 30000ms exceeded waiting for the Suggestion chip switch.
    • on this branch: PASS (238 s), including "PASS a phone offers Claude's suggestion as a chip once Settings turns it on".
  • bun run check fast: green (unit 12591 pass, 0 fail; typecheck, build, generated files and workflow syntax ok).
  • Skipped: ui-contexts-regression, the integration suite and the other browser scripts (only this step of one script changed).

@coderabbitai

coderabbitai Bot commented Nov 6, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 24 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 309f5b3 and 328f73b.

Files selected for processing: 1

  • scripts/ui-regression.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@devswha

devswha commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Merge note: one test file, no product change. #3108 moved the Suggestion chip switch into the Claude Code row on Settings > Agents; the ui-regression step now opens settings=agents and the Claude row and turns on the same switch, assertions unchanged. No other script points at rows #3108/#3117 moved. In the CI runner image main fails twice at that step, this branch passes; bun run check fast passed (12591/0); omo CLEAR at this head; threads resolved.

@devswha
devswha merged commit e70cbf6 into main Nov 6, 2026
12 checks passed
@devswha
devswha deleted the fix/ui-regression-settings-rows branch November 6, 2026 03:48
Sign up for free to 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.

1 participant