From 7f82f5d5980fcb25f5b085d2db4110cbb670c875 Mon Sep 17 00:00:00 2001 From: johndoe6345789 Date: Wed, 24 Dec 2025 03:39:47 +0000 Subject: [PATCH] Update e2e/smoke.spec.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- e2e/smoke.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/smoke.spec.ts b/e2e/smoke.spec.ts index 6fdd51738..9733b28b6 100644 --- a/e2e/smoke.spec.ts +++ b/e2e/smoke.spec.ts @@ -41,10 +41,10 @@ test.describe('Basic Smoke Tests', () => { ); // Should have no critical console errors - if (criticalErrors.length > 0) { - console.log('Console errors found:', criticalErrors); - } - expect(criticalErrors.length).toBe(0); + expect( + criticalErrors, + `Console errors found: ${criticalErrors.join('\n')}` + ).toEqual([]); }); test('should have viewport properly configured', async ({ page }) => {