Commit graph

2 commits

Author SHA1 Message Date
d03ef799f4 test: unskip the main-module unit tests and enable the real-backend browser lane
All checks were successful
CI / unit (pull_request) Successful in 45s
CI / backend-e2e (pull_request) Successful in 1m16s
CI / dashboard-e2e (pull_request) Successful in 2m26s
- tests/conftest.py installs minimal ultralytics/mediapipe stand-ins only when
  the real packages are absent, so clipwright.pipeline.main imports in the thin
  unit env instead of pytest.importorskip skipping 15 modules (63 tests). Unit
  suite is now 779 passed / 0 skipped.
- requirements-test.txt pins uvicorn==0.46.0 (the real-backend server).
- dashboard: vite preview proxies /api,/videos,/thumbnails to a locally-launched
  backend; Playwright gains a gated (CW_E2E_REAL) real project + uvicorn
  webServer running the pipeline stub_env; real-backend.spec.js drives the real
  upload->process->clip flow. CI dashboard job installs the backend test deps.
- Verified: real lane 20 passed twice in the CI container; mock-only 19 passed
  without the flag; backend unit/API/pipeline 779/209/127.
2026-10-05 10:46:45 +01:00
0040aa49da test/e2e-coverage (#5)
All checks were successful
CI / dashboard-e2e (push) Successful in 1m44s
CI / unit (push) Successful in 29s
CI / backend-e2e (push) Successful in 1m17s
Reviewed-on: #5
Co-authored-by: pedro-bento <mail@pbento.pt>
Co-committed-by: pedro-bento <mail@pbento.pt>
2026-10-04 22:28:46 +01:00