Julia Evans shows Vue component integration tests that run directly in the browser (no Node): bundle components, expose them on `window._components`, mount with a helper, and drive assertions with QUnit + `waitFor` polling + real DOM events. Also checks Chrome JS coverage on the bundle.
Testing Vue components in the browser
Julia Evans (May 2, 2026) walks through running Vue component integration tests directly in the browser without using Node, showing a practical setup that exposes components on window._components and uses a mountComponent helper and QUnit to drive tests. She documents key implementation details and pain points — polling via a waitFor helper for async renders, needing to dispatch DOM events for form inputs, pragmatic use of CSS/test identifiers, and checking Chrome’s JS coverage on the bundled file — all with concrete snippets and tradeoffs. citeturn0view0
jvns.ca