Skip to content

Add browser smoke tests and component tests - #45

Merged
brsbl merged 2 commits into
mainfrom
bb/browser-and-component-tests
Oct 4, 2026
Merged

brsbl merged 2 commits into
mainfrom
bb/browser-and-component-tests

Conversation

@brsbl

@brsbl brsbl commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

Human comments

What was wrong

Unit tests ran only in jsdom, which has no Web Audio or layout. Playback, real browser behavior, and the trickiest controls were checked by hand only.

What changed

  • CI now runs Playwright smoke tests against the production build in real Chrome.
  • The smoke tests cover opening, play/stop, pattern switching with reload, all three share-link formats, and undo.
  • Component tests cover LED-group arrow keys and Tab order, Undo focus, the tempo field, and knob wheel input.
  • The playhead step now carries aria-current="step" for assistive tech and tests.
  • The app now has a favicon, so the console no longer logs a 404.

How you verified

  • Remote CI passed on 57a4a99: 47 unit and component tests, and 5 browser tests in Chrome. Run
  • The playback test shows Web Audio runs in CI's headless Chrome.

BB-Thread-ID: thr_d58s3peww2

🤖 Generated with Claude Code

AGENT GENERATED

- Playwright runs the production build in real Chrome in CI: opening,
  play and stop with a moving playhead, pattern switching through a
  reload, share links in all three formats, and undo.
- Component tests cover LED-group arrow keys and Tab order, Undo keeping
  focus, Escape and Enter in the tempo field, and knob wheel input.
- The playhead step carries aria-current="step", and the app gets a
  favicon instead of a 404.

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

vercel Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
loop-machine Ready Ready Preview Oct 4, 2026 11:36am UTC

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@brsbl
brsbl merged commit 9479cd6 into main Oct 4, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — 57a4a99a Deployed Oct 4, 2026 by vercel[bot]
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