Update
This commit is contained in:
@@ -722,11 +722,10 @@ def test_profile_back_link(alice):
|
||||
page.wait_for_url(f"{BASE_URL}/feed", wait_until="domcontentloaded")
|
||||
|
||||
|
||||
def test_profile_role_display(alice):
|
||||
# alice_test is the first user -> Admin; only admins see role badges.
|
||||
def test_profile_level_display(alice):
|
||||
page, user = alice
|
||||
page.goto(f"{BASE_URL}/profile/{user['username']}", wait_until="domcontentloaded")
|
||||
assert page.locator(".profile-role").is_visible()
|
||||
assert page.locator(".profile-level-bar").is_visible()
|
||||
|
||||
|
||||
def test_profile_avatar(alice):
|
||||
|
||||
Reference in New Issue
Block a user