.ai/principles/baselines/testing-msw.md
Prerequisite: Read
.ai/principles/distilled/testing-jest.mdfirst — its MSW Integration Tests, Capybara Feature Tests, and Test Fixtures sections are the primary reference and apply in full here.
This baseline covers only the gaps and additions not already in testing-jest.md.
For the decision of which test type to write, see
.ai/principles/distilled/testing-frontend-testing-hierarchy.md.
yarn jest:msw-integration; DO NOT run with the default yarn jest.work_items/handlers.js) and register them in the top-level
handlers.js via featureHandlers/restEndpoints.test_helpers.js so they are available
globally in all MSW integration tests (auto-imported via
Object.assign(global, testHelpers) in test_setup.js).@testing-library/vue queries to locate elements