fix(test): resolve typescript compiler error in e2e test
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 15s
Build & Deploy / 🧪 QA (push) Successful in 1m31s
Build & Deploy / 🏗️ Build (push) Successful in 3m7s
Build & Deploy / 🚀 Deploy (push) Successful in 24s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 1m37s
Build & Deploy / 🔔 Notify (push) Successful in 3s
Nightly QA / 💨 Smoke & Health (push) Successful in 4m58s

This commit is contained in:
2026-06-11 13:51:43 +02:00
parent 428b223020
commit cdf2af79ca

View File

@@ -34,7 +34,9 @@ describe('Contact Form E2E', () => {
if (!isServerUp) skip();
page.on('console', (msg) => console.log('PAGE LOG:', msg.text()));
page.on('pageerror', (err) => console.error('PAGE ERROR:', err.message));
page.on('pageerror', (err) =>
console.error('PAGE ERROR:', err instanceof Error ? err.message : String(err)),
);
await page.goto(`${BASE_URL}/de/kontakt`);