2 Commits (116189d11ba6dcfa68be5b795f067963ced05d65)

Author SHA1 Message Date
oabrivard 1dad319e5e fix: update E2E tests for Turnstile DOM stability, stale selectors, and pipeline changes
- Replace waitForLoadState('networkidle') with 'domcontentloaded' to
  avoid hangs caused by the Cloudflare Turnstile script
- Add { waitUntil: 'domcontentloaded' } to all page.goto() calls
- Rewrite registration test to use the API directly instead of UI form
  submission, since the Turnstile script causes continuous DOM mutations
  that prevent Playwright from clicking elements
- Fix admin-providers test to select Gemini from the provider dropdown
  when multiple providers are enabled
- Fix sources test to clean up leftover sources before asserting counts
- Update generation-live LLM call type assertion from 'rewrite' to
  'search' to match the current pipeline (classify_summarize is optional)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3 months ago
oabrivard 286dbbbcc8 test: add E2E infrastructure and 5 Playwright test flows
Add Playwright E2E testing setup with Docker Compose test environment,
database seed script, auth helpers, and five test scenarios covering
registration, admin providers, settings persistence, sources CRUD,
and settings export/import.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
3 months ago