fieldwitness/tests/e2e
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
..
__init__.py Add comprehensive test suite: integration tests + Playwright e2e 2026-04-02 20:22:12 -04:00
conftest.py Fix e2e test infrastructure and app bugs found by Playwright 2026-04-03 19:58:34 -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 Fix e2e test infrastructure and app bugs found by Playwright 2026-04-03 19:58:34 -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 Fix e2e test infrastructure and app bugs found by Playwright 2026-04-03 19:58:34 -04:00