fix: WireGuard peer sync, privileged mode, E2E and integration test correctness
- api/app.py: sync WireGuard server config on peer add/remove (non-fatal) - docker-compose.yml: add privileged:true to wireguard service - E2E tests: fix logout selector, DNS IP lookup, wg config DNS line, VIP skip guards, badge text selectors, heading .first, async logout wait - Integration tests: fix 4 tests that sent unauthenticated requests expecting 400 (now use authenticated session helpers); accept 401 as valid in webui proxy test; add password field to service_access validation test - Remove stale tracked config templates (config/api/api/*, config/api/cell.env, etc.) that no longer exist on disk after config layout was reorganised Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -258,6 +258,7 @@ class TestValidation:
|
||||
r = post('/api/peers', json={
|
||||
'name': 'bad-svc-peer',
|
||||
'public_key': 'dummykey==',
|
||||
'password': 'ValidPass123!',
|
||||
'service_access': ['invalid_service'],
|
||||
})
|
||||
assert r.status_code == 400
|
||||
|
||||
Reference in New Issue
Block a user