From a554aa16d5fadd2005d2d1a8862de89e9a4c3c77 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 17 Jun 2026 01:05:00 +0000 Subject: [PATCH] test(e2e): ignore benign Firefox NS_BINDING_ABORTED console noise MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rapidly navigating analysis routes aborts in-flight resource/worker loads; Firefox surfaces the abort via Playwright's juggler harness as a console error (NS_BINDING_ABORTED), which flakily failed the no-console-errors assertion and blocked the Build/Deploy pipeline. It is not an application fault — add it to the existing benign-noise filter (alongside React Router and DevTools). --- tests/e2e/analysis.spec.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/e2e/analysis.spec.ts b/tests/e2e/analysis.spec.ts index 99a804c..f0f90ba 100644 --- a/tests/e2e/analysis.spec.ts +++ b/tests/e2e/analysis.spec.ts @@ -611,9 +611,16 @@ test.describe('Analysis Engine — Integration', () => { await expect(page.getByRole('heading', { name: route.heading })).toBeVisible(); } - // Filter out React Router / dev-mode noise — only real app errors matter + // Filter out React Router / dev-mode noise — only real app errors matter. + // `NS_BINDING_ABORTED` is benign Firefox noise: rapidly navigating between + // routes (the loop above) aborts in-flight resource/worker loads, which + // Firefox surfaces via Playwright's juggler harness as a console error. It is + // not an application fault and flakily blocked the deploy pipeline. const realErrors = consoleErrors.filter( - (msg) => !msg.includes('React Router') && !msg.includes('DevTools'), + (msg) => + !msg.includes('React Router') && + !msg.includes('DevTools') && + !msg.includes('NS_BINDING_ABORTED'), ); expect(realErrors).toHaveLength(0); });