Header improvements
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user