Skip to content

Add Playwright tests for Buckaroo in marimo#497

Merged
paddymul merged 3 commits into
mainfrom
feat/playwright-marimo-tests
Feb 20, 2026
Merged

Add Playwright tests for Buckaroo in marimo#497
paddymul merged 3 commits into
mainfrom
feat/playwright-marimo-tests

Conversation

@paddymul

Copy link
Copy Markdown
Collaborator

Summary

  • Adds Playwright end-to-end tests that verify Buckaroo widgets render correctly inside a marimo notebook
  • Tests both BuckarooWidget (5-row small DataFrame) and BuckarooInfiniteWidget (200-row large DataFrame)
  • Covers row counts, cell value matching, and column header presence
  • Follows existing server/storybook Playwright test patterns (dedicated config, shell script, CI step)

Files

  • tests/notebooks/marimo_pw_test.py — deterministic marimo test notebook
  • packages/buckaroo-js-core/playwright.config.marimo.ts — Playwright config (port 2718)
  • packages/buckaroo-js-core/pw-tests/marimo.spec.ts — 6 test cases
  • scripts/test_playwright_marimo.sh — CI shell script
  • packages/buckaroo-js-core/package.jsontest:marimo script
  • .github/workflows/ci.yml — marimo test step added

Test plan

  • All 6 tests pass locally (pnpm test:marimo)
  • CI passes on this PR

🤖 Generated with Claude Code

paddymul and others added 3 commits February 18, 2026 15:25
Add version to /health endpoint so the MCP tool can detect when a
stale server from a previous install is running. ensure_server() now
compares versions and kills the old process before starting a new one,
eliminating the need for users to manually pkill on upgrade.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Verifies that BuckarooWidget and BuckarooInfiniteWidget render correctly
inside a marimo notebook via anywidget, covering row counts, cell values,
and column headers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@paddymul
paddymul merged commit d77629b into main Feb 20, 2026
11 checks passed
paddymul added a commit that referenced this pull request Feb 21, 2026
* Auto-kill old server on upgrade when version mismatches

Add version to /health endpoint so the MCP tool can detect when a
stale server from a previous install is running. ensure_server() now
compares versions and kills the old process before starting a new one,
eliminating the need for users to manually pkill on upgrade.

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

* version bump to 0.12.8

* Add Playwright tests for Buckaroo rendering in marimo

Verifies that BuckarooWidget and BuckarooInfiniteWidget render correctly
inside a marimo notebook via anywidget, covering row counts, cell values,
and column headers.

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

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@paddymul paddymul mentioned this pull request Feb 26, 2026
1 task
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