Act I · Protection
Silencing the False Signals
Implement the plan: Prevent Playwright E2E tests from polluting Umami analytics
A single CI test run was flooding the Umami analytics dashboard with 57 phantom page views and 13 ghost events in 22 seconds — indistinguishable from real users. The solution: a shared Playwright fixture at quality/test-suites/helpers/analytics-block.ts that extends the base test object, intercepting all requests to analytics.fenrirledger.com and aborting them before they reach the wire. All 8 spec files across auth/, auth-returnto/, and card-lifecycle/ were rewired to import from the new fixture. PR #1002 merged via HKR.
export const test = base.extend({
page: async ({ page }, use) => {
await page.route("**/analytics.fenrirledger.com/**",
(route) => route.abort());
await use(page);
},
});