Skip to content

test(qa): align chat, update and machines browser QA scripts with current behaviour - #1286

Merged
devswha merged 1 commit into
mainfrom
fix/qa-script-drift
Oct 17, 2026
Merged

devswha merged 1 commit into
mainfrom
fix/qa-script-drift

Conversation

@devswha

@devswha devswha commented Oct 17, 2026

Copy link
Copy Markdown
Owner

Change

Three browser QA scripts that are not in scripts/ci-browser.sh had drifted from designed behaviour (#1178). Scripts only; no product change.

  • scripts/chat-browser-qa.ts: the "Ran git status" row opened at the keep-open step stays expanded through fold/unfold, so the later row.click() closed it and .work-row-detail never appeared. It now clicks only when aria-expanded !== "true".
  • scripts/update-browser-qa.ts: since changelog.d fragments, ## [Unreleased] is always empty, so the fake v99.0.0 was cut with an empty section, which releaseNotes() drops by design. v99.0.0 now gets its own ### Fixed line.
  • scripts/machines-browser-qa.ts: attached files upload in parallel since fix(composer): parallel uploads, paths at the start #864, so both picked files are in flight (expect 2, still all to PC A's /pane/image, PC B's draft kept). The held queue is folded while the prompt dock is open (feat(chat): held messages are quiet rows on the message box's column #466), so the step opens .composer-queue-toggle before pressing Discard.

No changelog fragment: changelog.d/README.md asks for one only for changes users notice.

Not added to scripts/ci-browser.sh: chat-browser-qa (about 18 s) and update-browser-qa look like cheap candidates, but this PR keeps to the drift fix; machines-browser-qa needs the SSH fixture and a remote bundle, so it stays out.

Validation

  • bun run check run --build bun scripts/chat-browser-qa.ts: all 8 PASS lines.
  • bun run check run bun scripts/update-browser-qa.ts: all 4 PASS lines.
  • machines-browser-qa.ts against a fresh SSH_TEST_KEEP=1 bun run test:ssh fixture (fresh bun run build:remote bundle, run under bun run check run): all 4 PASS lines, and the SSH integration itself passed end to end.
  • bun run check fast: exit 0.

Fixes #1178

🤖 Generated with Claude Code

…viour

- chat-browser-qa: the "Ran git status" row opened while the turn ran stays
  open through fold and unfold, so click it only when it is not expanded.
- update-browser-qa: give the fake v99.0.0 its own changelog section; with
  changelog.d fragments Unreleased is always empty, and an empty release is
  not told.
- machines-browser-qa: attached files upload in parallel since #864, so both
  late uploads are in flight (2, not 1); open the folded held rows before
  pressing Discard while the prompt dock is open (#466).

Fixes #1178

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 17, 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 16 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
  • Configuration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4df0117f-71bb-4d6c-8ea0-13b6f07374c5
📥 Commits

Reviewing files that changed from the base of the PR and between 7e21257 and 932d5b4.

📒 Files selected for processing: 3
  • scripts/chat-browser-qa.ts
  • scripts/machines-browser-qa.ts
  • scripts/update-browser-qa.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

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

@devswha
devswha merged commit 370dd88 into main Oct 17, 2026
9 checks passed
@devswha
devswha deleted the fix/qa-script-drift branch October 17, 2026 17:46
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.

QA scripts outside CI drifted: machines-browser-qa, chat-browser-qa and update-browser-qa fail on main

1 participant