From 9fccae37e76b724e1ef3196379eca994fae42da4 Mon Sep 17 00:00:00 2001 From: Matthew Schile Date: Tue, 3 Dec 2024 15:29:41 -0700 Subject: [PATCH] test: normalize Firefox CDP spawn message --- system-tests/lib/normalizeStdout.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system-tests/lib/normalizeStdout.ts b/system-tests/lib/normalizeStdout.ts index 168e258f6620..ea3cc016f9c6 100644 --- a/system-tests/lib/normalizeStdout.ts +++ b/system-tests/lib/normalizeStdout.ts @@ -164,6 +164,8 @@ export const normalizeStdout = function (str: string, options: any = {}) { .replace(crossOriginErrorRe, '[Cross origin error message]') // Replaces connection warning since Chrome or Firefox sometimes take longer to connect .replace(/Still waiting to connect to .+, retrying in 1 second \(attempt .+\/.+\)\n/g, '') + // Replaces CDP connection error message in Firefox since Cypress will retry + .replace(/Failed to spawn CDP with Firefox. Retrying.*\.\.\./, '') if (options.browser === 'webkit') { // WebKit throws for lookups on undefined refs with "Can't find variable: "