From 499c36163670b85e9f02630bdf3bbf704e8c540d Mon Sep 17 00:00:00 2001 From: Matt Schile Date: Thu, 12 Dec 2024 07:42:35 -0700 Subject: [PATCH] test: match newline in Firefox CDP spawn message (#30753) --- system-tests/lib/normalizeStdout.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-tests/lib/normalizeStdout.ts b/system-tests/lib/normalizeStdout.ts index 77d960b57c35..5dbf7f04bf84 100644 --- a/system-tests/lib/normalizeStdout.ts +++ b/system-tests/lib/normalizeStdout.ts @@ -165,7 +165,7 @@ export const normalizeStdout = function (str: string, options: any = {}) { // 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.*\.\.\./, '') + .replace(/Failed to spawn CDP with Firefox. Retrying.*\.\.\.\n/g, '') if (options.browser === 'webkit') { // WebKit throws for lookups on undefined refs with "Can't find variable: "