0d32038150
Adds tests/e2e/ with three layers of E2E coverage: - API layer (tests/e2e/api/): unauthenticated access, admin endpoints, peer endpoints, access control enforcement — 24 tests - Playwright UI (tests/e2e/ui/): login flows, admin navigation, peer dashboard/services, role-based ACL, password change — 60+ tests - WireGuard connectivity (tests/e2e/wg/): tunnel up/down, DNS resolution through VPN, service ACL enforcement via iptables, full-tunnel routing Shared helpers: PicAPIClient, WGInterface, playwright_login, cleanup. Makefile targets: test-e2e-api, test-e2e-ui, test-e2e-wg, test-e2e. Adds scripts/reset_admin_password.py for test bootstrap. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8 lines
281 B
INI
8 lines
281 B
INI
[pytest]
|
|
markers =
|
|
ui: Playwright browser tests (requires Chromium)
|
|
wg: WireGuard VPN tests (requires wireguard-tools and sudo)
|
|
cell_link: PIC-to-PIC cell link tests (requires PIC1_HOST)
|
|
requires_internet: Tests that make outbound internet connections
|
|
addopts = -v
|