Progress: 28% (5h/14h completed) Suite 1: Frontend Form Tests ✅ (27 tests) Location: apps/frontend/src/__tests__/e2e/video-upload-form.test.tsx Step 1 - File Selection (9 tests): - Drag & drop support - Format validation (mp4, webm, quicktime) - Size validation (max 500MB) - Duration extraction - CRITICAL: NO video blob in state Step 2 - Metadata Entry (8 tests): - Title validation (required, max 100 chars) - Description validation (required, max 5000 chars) - Tag management (max 10 tags) - Thumbnail upload (optional) Step 3 - Upload Flow (10 tests): - Progress tracking 0% → 100% - Status messages - Callbacks invocation - Error handling & retry - Form disabled during upload Suite 2: Service Tests ✅ (20 tests) Location: apps/frontend/src/__tests__/e2e/video-upload-service.test.ts Features tested: - File chunking (5MB parts) - Concurrent uploads (max 3) - Progress tracking - ETag extraction - Error handling - Full flow integration Test Coverage: - VideoUploadForm component: > 80% expected - video-upload.service: > 90% expected Files (in .gitignore): - apps/frontend/src/__tests__/e2e/video-upload-form.test.tsx (450 LOC) - apps/frontend/src/__tests__/e2e/video-upload-service.test.ts (350 LOC) Pending (9h): - Suite 3: Integration E2E (3h) - Suites 4-6: Backend tests (5.5h) - Suite 7: Full E2E (0.5h) Status: ✅ Solid progress (47 tests written) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
80 lines
1.8 KiB
YAML
80 lines
1.8 KiB
YAML
# METADATA.yml - E2E Tests Video Upload
|
|
id: TASK-2026-01-27-E2E-VIDEO-UPLOAD
|
|
fecha: "2026-01-27"
|
|
titulo: "E2E Tests: Video Upload Module"
|
|
descripcion: "Comprehensive E2E test suite for video upload functionality (multipart upload with S3/R2). Covers form validation, service logic, backend integration, and full E2E flow."
|
|
|
|
clasificacion:
|
|
tipo: "testing"
|
|
origen: "plan"
|
|
prioridad: "P2"
|
|
feature: "OQI-002-educativo"
|
|
|
|
proyecto:
|
|
nombre: trading-platform
|
|
path: projects/trading-platform
|
|
nivel: STANDALONE
|
|
|
|
estado:
|
|
actual: en_progreso
|
|
progreso: 28%
|
|
fecha_inicio: "2026-01-27"
|
|
fecha_fin: null
|
|
|
|
fases:
|
|
- id: "SUITE-1"
|
|
nombre: "Frontend Form Tests"
|
|
horas: 3h
|
|
archivos:
|
|
- "apps/frontend/src/__tests__/e2e/video-upload-form.test.tsx"
|
|
estado: completado
|
|
tests: 27
|
|
|
|
- id: "SUITE-2"
|
|
nombre: "Service Tests"
|
|
horas: 2h
|
|
archivos:
|
|
- "apps/frontend/src/__tests__/e2e/video-upload-service.test.ts"
|
|
estado: completado
|
|
tests: 20
|
|
|
|
- id: "SUITE-3"
|
|
nombre: "Integration E2E"
|
|
horas: 3h
|
|
archivos:
|
|
- "apps/frontend/src/__tests__/e2e/video-upload-integration.test.tsx"
|
|
estado: pendiente
|
|
tests: 0
|
|
|
|
- id: "SUITE-4-6"
|
|
nombre: "Backend Tests"
|
|
horas: 5.5h
|
|
archivos:
|
|
- "apps/backend/src/__tests__/integration/video-controller.test.ts"
|
|
- "apps/backend/src/__tests__/integration/video-service.test.ts"
|
|
- "apps/backend/src/__tests__/integration/storage-service.test.ts"
|
|
estado: pendiente
|
|
tests: 0
|
|
|
|
- id: "SUITE-7"
|
|
nombre: "Full E2E Flow"
|
|
horas: 0.5h
|
|
archivos:
|
|
- "apps/backend/src/__tests__/e2e/video-upload-flow.test.ts"
|
|
estado: pendiente
|
|
tests: 0
|
|
|
|
agente:
|
|
principal: "claude-code"
|
|
subagentes: []
|
|
|
|
esfuerzo_estimado: 14h
|
|
esfuerzo_completado: 5h
|
|
|
|
commits: []
|
|
|
|
metricas:
|
|
archivos_creados: 2
|
|
tests_escritos: 47
|
|
cobertura_estimada: "28%"
|