Update e2e/smoke.spec.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
2025-12-24 03:39:47 +00:00
committed by GitHub
parent b022f3249c
commit 7f82f5d598

View File

@@ -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 }) => {