Skip to content

Comments

ci: move JupyterLab Playwright tests to dedicated CI job#534

Merged
paddymul merged 5 commits intomainfrom
ci/move-jupyter-playwright-to-ci
Feb 22, 2026
Merged

ci: move JupyterLab Playwright tests to dedicated CI job#534
paddymul merged 5 commits intomainfrom
ci/move-jupyter-playwright-to-ci

Conversation

@paddymul
Copy link
Collaborator

Summary

  • Extracts the inline JupyterLab Playwright test step from the monolithic build.yml job into its own TestJupyterLab job in ci.yml
  • Follows the same pattern as existing Playwright jobs (TestMarimo, TestWASMMarimo, TestServer, TestStorybook): depends on BuildWheel, downloads artifacts, installs deps, runs the test script
  • Keeps continue-on-error: true to match the previous behavior

Test plan

  • Verify the new TestJupyterLab job appears in CI and runs correctly
  • Verify the build.yml job still passes without the removed step

🤖 Generated with Claude Code

paddymul and others added 5 commits February 21, 2026 17:25
Extract the inline JupyterLab Playwright test step from the monolithic
build job into its own dedicated job in ci.yml, matching the pattern
used by the Marimo, WASM Marimo, Server, and Storybook Playwright jobs.
The new job downloads the pre-built wheel artifact and runs the test
script directly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
These were removed in the bulk cleanup of generated files but are
needed by the JupyterLab Playwright tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Print the actual traceback when PolarsDFViewer fails so we can
see the root cause in CI logs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PolarsBuckarooWidget.analysis_klasses contains @stat-decorated
functions (from PL_ANALYSIS_V2) alongside classes. The
find_most_specific_styling helper called issubclass() on every
item without checking if it was actually a class first, causing
"issubclass() arg 1 must be a class" when PolarsDFViewer was used.

Add isinstance(x, type) guard before the issubclass() check.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@paddymul paddymul merged commit 3492d2e into main Feb 22, 2026
20 checks passed
paddymul added a commit that referenced this pull request Feb 22, 2026
* ci: move JupyterLab Playwright tests from build.yml to ci.yml

Extract the inline JupyterLab Playwright test step from the monolithic
build job into its own dedicated job in ci.yml, matching the pattern
used by the Marimo, WASM Marimo, Server, and Storybook Playwright jobs.
The new job downloads the pre-built wheel artifact and runs the test
script directly.

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

* ci: set JupyterLab Playwright timeout to 5 minutes

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

* ci: restore integration test notebooks accidentally removed in 1c4cc46

These were removed in the bulk cleanup of generated files but are
needed by the JupyterLab Playwright tests.

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

* ci: add error diagnostics to test_polars_dfviewer notebook

Print the actual traceback when PolarsDFViewer fails so we can
see the root cause in CI logs.

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

* fix: handle non-class items in find_most_specific_styling

PolarsBuckarooWidget.analysis_klasses contains @stat-decorated
functions (from PL_ANALYSIS_V2) alongside classes. The
find_most_specific_styling helper called issubclass() on every
item without checking if it was actually a class first, causing
"issubclass() arg 1 must be a class" when PolarsDFViewer was used.

Add isinstance(x, type) guard before the issubclass() check.

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

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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