From 411cf2928f55a2b143d0da446476d85833143a63 Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Wed, 18 Dec 2024 12:57:49 +0100 Subject: [PATCH] update log line matcher --- tests/installation/playwright-cdn.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/installation/playwright-cdn.spec.ts b/tests/installation/playwright-cdn.spec.ts index af0339f03b..78b1ab9aa0 100644 --- a/tests/installation/playwright-cdn.spec.ts +++ b/tests/installation/playwright-cdn.spec.ts @@ -26,7 +26,7 @@ const CDNS = [ 'https://playwright-verizon.azureedge.net', ]; -const DL_STAT_BLOCK = /^.*from url: (.*)$\n^.*to location: (.*)$\n^.*response status code: (.*)$\n^.*total bytes: (\d+)$\n^.*download complete, size: (\d+)$\n^.*SUCCESS downloading (\w+) .*$/gm; +const DL_STAT_BLOCK = /^.*from url: (.*)$\n^.*to location: (.*)$\n^.*response status code: (.*)$\n^.*total bytes: (\d+)$\n^.*download complete, size: (\d+)$\n^.*SUCCESS downloading (?:and extracting )?(\w+) .*$/gm; const parsedDownloads = (rawLogs: string) => { const out: { url: string, status: number, name: string }[] = [];