Header improvements

This commit is contained in:
Olaf
2026-08-24 20:17:46 +02:00
parent 12f3580f60
commit f96a4ab3ad
11 changed files with 183 additions and 93 deletions
+5 -3
View File
@@ -35,9 +35,11 @@ def test_user_config_api_and_profile_page():
assert 'name="avatar_url"' not in page_response.text
assert 'value="mastodon.social"' in page_response.text
assert 'From my #LinkLog: "' in page_response.text
assert 'id="admin-link"' in page_response.text
assert 'class="login-button hidden"' in page_response.text
assert 'id="auth-session" class="auth-session hidden"' in page_response.text
assert 'id="auth-menu" class="auth-menu hidden"' in page_response.text
assert 'id="auth-home-link" href="/">Home</a>' in page_response.text
assert 'id="auth-profile-link" class="hidden"' in page_response.text
assert '<a id="auth-username" class="user-name" href="/">' in page_response.text
assert 'id="auth-avatar"' not in page_response.text
bob_login = client.post('/api/auth/login', json={
'username': 'bob',