fieldwitness/tests
Aaron D. Lee 0312204340
Some checks failed
CI / lint (push) Failing after 13s
CI / typecheck (push) Failing after 11s
Fix e2e test infrastructure and app bugs found by Playwright
Fixes:
- Add frontends/web/ to sys.path in e2e conftest for temp_storage import
- Fix .fieldwitness → .fwmetadata in e2e conftest
- Fix NameError in /health endpoint (auth_is_authenticated → is_authenticated)
- Fix NameError in /login POST (config → app.config["FIELDWITNESS_CONFIG"])
- Add session-scoped admin_user fixture for reliable test ordering
- Fix navigation test assertions (health fetch URL, title checks, logout)
- Increase server startup timeout and use /login for health polling

Status: 17/39 e2e tests passing (auth + navigation). Remaining failures
are selector/assertion mismatches needing template-specific tuning.
350 unit/integration tests continue passing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 19:58:34 -04:00
..
e2e Fix e2e test infrastructure and app bugs found by Playwright 2026-04-03 19:58:34 -04:00
conftest.py Rebrand SooSeF to FieldWitness 2026-04-02 15:05:13 -04:00
test_attest_hashing.py Rebrand SooSeF to FieldWitness 2026-04-02 15:05:13 -04:00
test_c2pa_bridge.py Fix all power-user review issues (FR-01 through FR-12) 2026-04-02 20:10:37 -04:00
test_c2pa_importer.py Add comprehensive test suite: integration tests + Playwright e2e 2026-04-02 20:22:12 -04:00
test_chain_security.py Rebrand SooSeF to FieldWitness 2026-04-02 15:05:13 -04:00
test_chain.py Rebrand SooSeF to FieldWitness 2026-04-02 15:05:13 -04:00
test_deadman_enforcement.py Rebrand SooSeF to FieldWitness 2026-04-02 15:05:13 -04:00
test_evidence_summary.py Add comprehensive test suite: integration tests + Playwright e2e 2026-04-02 20:22:12 -04:00
test_file_attestation.py Add comprehensive test suite: integration tests + Playwright e2e 2026-04-02 20:22:12 -04:00
test_key_rotation.py Rebrand SooSeF to FieldWitness 2026-04-02 15:05:13 -04:00
test_killswitch_coverage.py Add comprehensive test suite: integration tests + Playwright e2e 2026-04-02 20:22:12 -04:00
test_killswitch.py Rebrand SooSeF to FieldWitness 2026-04-02 15:05:13 -04:00
test_paths.py Add comprehensive test suite: integration tests + Playwright e2e 2026-04-02 20:22:12 -04:00
test_serialization.py Rebrand SooSeF to FieldWitness 2026-04-02 15:05:13 -04:00
test_stego_audio.py Rebrand SooSeF to FieldWitness 2026-04-02 15:05:13 -04:00
test_stego.py Rebrand SooSeF to FieldWitness 2026-04-02 15:05:13 -04:00
test_tor.py Add comprehensive test suite: integration tests + Playwright e2e 2026-04-02 20:22:12 -04:00