- Fix chatbot chat history tests: use regex pattern (/\/api\/chat/)
instead of glob pattern to properly match URLs with query strings
- Add skip condition for performance tests (require RUN_PERFORMANCE_TESTS=1)
as Lighthouse audits take too long for regular test runs
- Increase performance test timeout to 180s for when they are run
- Add proper fallback handling for non-GET requests in route mocks
All 103 chromium tests pass with CI=true (forces fresh dev server).
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add comprehensive performance test suite with Playwright-Lighthouse integration
- Include Lighthouse audits with 90% thresholds for performance, accessibility,
best-practices, and SEO
- Test all locales (de, en, sr) for homepage performance
- Add critical pages performance tests (homepage, about, portfolio, contact)
- Include mobile performance testing with iPhone viewport
- Add Core Web Vitals verification tests (LCP, CLS, error tracking)
- Add resource loading tests (JS bundle size, image optimization, modern formats)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>