fieldwitness/tests/e2e
Aaron D. Lee 16318daea3
Some checks failed
CI / lint (push) Failing after 12s
CI / typecheck (push) Failing after 12s
Add comprehensive test suite: integration tests + Playwright e2e
Integration tests (350 passing):
- test_evidence_summary.py: HTML/PDF generation, XSS safety, anchor rendering
- test_tor.py: Tor module unit tests (mocked, no Tor needed)
- test_c2pa_importer.py: Import result dataclass, trust evaluation, graceful degradation
- test_file_attestation.py: All file types (PNG, PDF, CSV, empty, large), determinism
- test_paths.py: Registry correctness, env var override, all paths under BASE_DIR
- test_killswitch_coverage.py: Tor keys, trusted keys, carrier history destruction

Playwright e2e infrastructure:
- tests/e2e/ with conftest (live server, auth fixtures), helpers (test file generators)
- test_auth.py: Setup flow, login/logout, protected routes
- test_attest.py: Image/PDF/CSV attestation, verify, attestation log
- test_dropbox.py: Token creation, source upload, branding check
- test_keys.py: Identity display, trust store
- test_fieldkit.py: Status dashboard, killswitch page
- test_navigation.py: All nav links, responsive layout

Run: pytest (unit/integration) or pytest -m e2e tests/e2e/ (browser)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 20:22:12 -04:00
..
__init__.py Add comprehensive test suite: integration tests + Playwright e2e 2026-04-02 20:22:12 -04:00
conftest.py Add comprehensive test suite: integration tests + Playwright e2e 2026-04-02 20:22:12 -04:00
helpers.py Add comprehensive test suite: integration tests + Playwright e2e 2026-04-02 20:22:12 -04:00
test_attest.py Add comprehensive test suite: integration tests + Playwright e2e 2026-04-02 20:22:12 -04:00
test_auth.py Add comprehensive test suite: integration tests + Playwright e2e 2026-04-02 20:22:12 -04:00
test_dropbox.py Add comprehensive test suite: integration tests + Playwright e2e 2026-04-02 20:22:12 -04:00
test_fieldkit.py Add comprehensive test suite: integration tests + Playwright e2e 2026-04-02 20:22:12 -04:00
test_keys.py Add comprehensive test suite: integration tests + Playwright e2e 2026-04-02 20:22:12 -04:00
test_navigation.py Add comprehensive test suite: integration tests + Playwright e2e 2026-04-02 20:22:12 -04:00