Skip to content

Add widget.js smoke test#202

Open
manzt wants to merge 3 commits intomainfrom
push-nslkxxzmuvtk
Open

Add widget.js smoke test#202
manzt wants to merge 3 commits intomainfrom
push-nslkxxzmuvtk

Conversation

@manzt
Copy link
Member

@manzt manzt commented Feb 27, 2026

We don't have a good way of fully e2e testing widget.js, but right now there is not even a simple test that checks if the widget.js module even loads in the browser, leading to a regression in v1.3.4 (#198).

These changes add a smoke test that renders a minimal HiGlass viewer (single top-axis track) in headless browser, verifying the module loads and render completes without error.

You can run the test locally with deno task vitest.

@manzt manzt force-pushed the push-nslkxxzmuvtk branch 3 times, most recently from edc0ea4 to b5b55e4 Compare February 28, 2026 15:59
@manzt manzt added the internal Internal changes to the project; not end-user facing and shouldn't be documented in release notes. label Feb 28, 2026
Smoke-tests the HiGlass anywidget render pipeline in headless Chromium
via vitest browser mode and Playwright. SwiftShader args are required
since PixiJS needs a WebGL context unavailable in headless by default.
@manzt manzt force-pushed the push-nslkxxzmuvtk branch from b5b55e4 to cb0ec3e Compare February 28, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Internal changes to the project; not end-user facing and shouldn't be documented in release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant