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 from e292fb5 to ac06211 Compare February 27, 2026 15:52
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 ac06211 to 7665320 Compare February 27, 2026 15:53
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