Commit Graph
2 Commits
Author SHA1 Message Date
damjan_savicandClaude Opus 4.5 5b60398b8b auto-claude: subtask-8-1 - Fix Playwright test suite issues
- 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>
2026-01-25 02:21:44 +01:00
damjan_savicandClaude Opus 4.5 ddcd08ac06 auto-claude: subtask-7-3 - Create chatbot E2E tests for message flow and error handling
Add comprehensive E2E tests for the chatbot component including:
- Chatbot UI tests (open/close, welcome message, suggested prompts)
- Message flow tests (sending messages, receiving responses, enter key submission)
- Error handling tests (API failures, streaming errors, dismissible errors)
- Clear chat functionality tests
- Accessibility tests (ARIA labels, focus management)
- Mobile responsiveness tests
- Chat history loading tests

Tests use mocked API responses for reliability and isolation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 01:49:56 +01:00