Skip to content

Vitest browser-mode + MSW setup for UI integration tests, with CI #37219

Description

@chirag-madlani

Why

Jest mocks children and runs in jsdom, and Playwright needs a full server stack. Nothing tested a page with its real children cheaply.

What

  • src/test/browser/: renderApp / renderWithApp mount the real router, react-query, i18n and styles. Only the network is mocked (MSW), and any unmocked /api/* call fails the test.
  • Pagination migrated: 35 of 37 Pagination.spec.ts tests are covered and tagged @migrated-browser.
  • ui-browser-tests.yml, plus a decision record for the layering rule.

PR: #35623

Done when

Activity

  1. added
    UI
    on Nov 6, 2026
  2. moved this to In Progress 🏗️ in Shippingon Nov 20, 2026
  3. moved this from In Progress 🏗️ to Done ✅ in Shippingon Nov 23, 2026
  4. added a commit that references this issue on Nov 23, 2026
    0cb6a5b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

UItesting

Type

Projects

  • Status
    Done ✅
  • Status
    Done ✅

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions