Context
tests/fixtures/msw-fixture.ts and tests/e2e/wallet-fixture.ts (plus tests/helpers/) overlap in wallet/session mocking and API stub setup, with different patterns used across specs.
Problem
Specs drift in how they mock the chain/API; fixing a mock bug requires touching multiple fixtures, and some specs re-implement mocks inline.
Proposed approach
Create one canonical fixture module exporting wallet and api fixtures (extends Playwright test), migrate specs, delete duplicates, document in tests/README.md.
Acceptance criteria
- Single fixture module used by all specs
- No inline mock duplication (grep-verified)
- E2E suite passes after migration
Context
tests/fixtures/msw-fixture.tsandtests/e2e/wallet-fixture.ts(plustests/helpers/) overlap in wallet/session mocking and API stub setup, with different patterns used across specs.Problem
Specs drift in how they mock the chain/API; fixing a mock bug requires touching multiple fixtures, and some specs re-implement mocks inline.
Proposed approach
Create one canonical fixture module exporting
walletandapifixtures (extends Playwrighttest), migrate specs, delete duplicates, document intests/README.md.Acceptance criteria