Story 1.9: E2E Playwright Tests for Document Upload and Search Flows
Sprint Key: 1-9-e2e-playwright-tests-for-document-upload-and-search-flows
Epic: 1
PRD: testing-framework
Story 1.9: E2E Playwright Tests for Document Upload and Search Flows
Status: ready-for-dev
Story
As a developer, I want automated Playwright E2E tests for document upload and search flows, so that the document ingestion pipeline is validated end-to-end in CI.
Acceptance Criteria
- AC1: Full document upload flow — upload a document via Admin Dashboard → document appears in table with "Pending" status
- AC2: Multi-format upload — upload .txt, .md, .pdf files successfully
- AC3: File type rejection — unsupported file types rejected with error message
- AC4: Search returns relevant results — search by file name returns matching documents
- AC5: CI integration — tests run as scheduled CI jobs alongside chatbot tests
- AC6: Performance — full suite completes within 30 minutes (NFR3)
Edited by Jérôme Revillard