wiregui/tests
Stefano Bertelli 06b5a3dc12
Some checks failed
Dev / test (push) Failing after 3m14s
Dev / docker (push) Has been skipped
feat: comprehensive test suite + SAML auth fixes + mock SAML IdP
Tests (198 unit + 70 e2e = 268 total):
- Add test_api_deps.py: Bearer token auth, get_current_api_user, require_admin
- Add test_wireguard_extended.py: ensure_interface, set_private_key, set_listen_port
- Add test_firewall_extended.py: _nft/_nft_batch errors, jump rules, policies
- Add test_mfa_login.py: MFA redirect, TOTP verify, invalid code, cancel
- Add test_magic_link_page.py: page render, submit, empty email, back to login
- Add test_admin_devices.py: list, filter, create, edit, delete, config dialog
- Add test_admin_rules.py: list, create, edit, delete (all DB-verified)
- Add test_admin_settings.py: defaults, security, OIDC/SAML providers
- Add test_saml_login.py: button visible, redirect, metadata, full login flow

Bug fixes:
- Fix SAML callback to use /auth/complete bridge (same fix as OIDC)
- Fix missing get_settings import in admin settings page
- Add SAML provider buttons to login page
- Make SAML strict mode configurable per-provider

Infrastructure:
- Add mock SimpleSAMLphp IdP to compose.yml with SP config
- Add mock-saml service to CI workflows (release + dev)
2026-03-31 16:52:29 -05:00
..
e2e feat: comprehensive test suite + SAML auth fixes + mock SAML IdP 2026-03-31 16:52:29 -05:00
__init__.py feat: initial WireGUI implementation — full VPN management platform 2026-03-30 16:53:46 -05:00
conftest.py fix: CI test DB — use main DB in CI, skip test DB creation 2026-03-30 18:55:09 -05:00
test_account.py feat: initial WireGUI implementation — full VPN management platform 2026-03-30 16:53:46 -05:00
test_admin.py feat: initial WireGUI implementation — full VPN management platform 2026-03-30 16:53:46 -05:00
test_api.py feat: initial WireGUI implementation — full VPN management platform 2026-03-30 16:53:46 -05:00
test_api_deps.py feat: comprehensive test suite + SAML auth fixes + mock SAML IdP 2026-03-31 16:52:29 -05:00
test_api_routes.py feat: initial WireGUI implementation — full VPN management platform 2026-03-30 16:53:46 -05:00
test_auth.py feat: initial WireGUI implementation — full VPN management platform 2026-03-30 16:53:46 -05:00
test_auth_extended.py feat: initial WireGUI implementation — full VPN management platform 2026-03-30 16:53:46 -05:00
test_firewall.py feat: initial WireGUI implementation — full VPN management platform 2026-03-30 16:53:46 -05:00
test_firewall_extended.py feat: comprehensive test suite + SAML auth fixes + mock SAML IdP 2026-03-31 16:52:29 -05:00
test_integration_mfa.py feat: initial WireGUI implementation — full VPN management platform 2026-03-30 16:53:46 -05:00
test_integration_oidc.py feat: initial WireGUI implementation — full VPN management platform 2026-03-30 16:53:46 -05:00
test_magic_link.py feat: initial WireGUI implementation — full VPN management platform 2026-03-30 16:53:46 -05:00
test_mfa.py feat: initial WireGUI implementation — full VPN management platform 2026-03-30 16:53:46 -05:00
test_models.py feat: initial WireGUI implementation — full VPN management platform 2026-03-30 16:53:46 -05:00
test_notifications.py feat: initial WireGUI implementation — full VPN management platform 2026-03-30 16:53:46 -05:00
test_services.py fix: CI runner containers for Forgejo actions 2026-03-30 18:22:42 -05:00
test_services_extended.py feat: initial WireGUI implementation — full VPN management platform 2026-03-30 16:53:46 -05:00
test_tasks.py feat: initial WireGUI implementation — full VPN management platform 2026-03-30 16:53:46 -05:00
test_tasks_extended.py feat: initial WireGUI implementation — full VPN management platform 2026-03-30 16:53:46 -05:00
test_utils.py fix: pure Python keypair generation, no wg CLI dependency 2026-03-30 23:11:58 -05:00
test_wireguard_extended.py feat: comprehensive test suite + SAML auth fixes + mock SAML IdP 2026-03-31 16:52:29 -05:00