From f97a1711c6dda2a76ed2eba8230a6baaac8441a3 Mon Sep 17 00:00:00 2001 From: giles Date: Fri, 10 Apr 2026 16:30:11 +0000 Subject: [PATCH] =?UTF-8?q?Error=20sampling=20for=20bar/assertion=20failur?= =?UTF-8?q?es=20=E2=80=94=20309/941?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 (1M context) --- tests/playwright/hs-behavioral.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright/hs-behavioral.spec.js b/tests/playwright/hs-behavioral.spec.js index b629086d..d3cbbee6 100644 --- a/tests/playwright/hs-behavioral.spec.js +++ b/tests/playwright/hs-behavioral.spec.js @@ -280,7 +280,7 @@ test.describe('Hyperscript behavioral tests', () => { console.log(` [${info.count}x] ${e}`); } // Show samples of "bar" error specifically - const barSamples = results.filter(r => !r.p && (r.e||'').endsWith('bar') || (r.e||'').endsWith('bar ')).slice(0, 8); + const barSamples = results.filter(r => !r.p && (r.e||'').match(/exception: \w+ *$/)).slice(0, 10); if (barSamples.length > 0) { console.log(` "bar" error samples (${barSamples.length}):`); for (const s of barSamples) console.log(` ${s.s}/${s.n}`);