Commit Graph

6 Commits

Author SHA1 Message Date
Gan, Jimmy 7fb92ccebf fix: make TOTP replay protection test more robust
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 3m54s
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Backend Tests (push) Has started running
Ensure auth file is properly initialized before testing replay protection.
Add better error message to diagnose failures.
2026-04-04 17:45:57 +08:00
Gan, Jimmy 9f67c57a43 fix: clear TOTP_SECRET env var in test_verify_totp_no_secret_enabled
Run Tests / Backend Tests (push) Failing after 1m2s
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Frontend Tests (push) Has started running
2026-04-04 13:51:22 +08:00
Gan, Jimmy 83fc231c75 fix: clear TOTP secret in test_verify_totp_no_secret_enabled for test isolation
Run Tests / Backend Tests (push) Failing after 2m6s
Run Tests / Frontend Tests (push) Failing after 1m26s
Run Tests / Test Summary (push) Has started running
2026-04-04 13:47:05 +08:00
Gan, Jimmy 6285f03c36 fix: clear TOTP secret in test for proper isolation
Run Tests / Backend Tests (push) Failing after 1m28s
Run Tests / Frontend Tests (push) Failing after 3m50s
Run Tests / Test Summary (push) Failing after 32s
2026-04-04 13:37:11 +08:00
Gan, Jimmy e1fc23981f fix: update test imports from auth to auth_service
Deploy Dashboard (Dev) / deploy-dev (push) Failing after 1m42s
Run Tests / Backend Tests (push) Has started running
Run Tests / Frontend Tests (push) Has been cancelled
Run Tests / Test Summary (push) Has been cancelled
2026-04-02 09:12:48 +08:00
Gan, Jimmy 8431920d26 feat: add comprehensive unit and integration testing infrastructure
Run Tests / Backend Tests (pull_request) Has been cancelled
Run Tests / Frontend Tests (pull_request) Has been cancelled
Run Tests / Test Summary (pull_request) Has been cancelled
- Backend: pytest with unit tests (auth, rbac, config) and integration tests (auth flow, docker, files)
- Frontend: vitest with unit tests (api client) and component tests (login)
- CI: Gitea Actions workflow for automated testing with coverage reports
- Documentation: TESTING.md guide with setup, usage, and best practices
- Coverage goals: 80%+ backend, 70%+ frontend
2026-03-30 11:11:39 +08:00