Open the profile actions menu before clicking Unblock in the report e2e test
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -100,6 +100,8 @@ def test_blocking_from_a_content_action_bar_hides_the_author(alice, bob):
|
||||
bob_page.goto(
|
||||
f"{BASE_URL}/profile/{alice_user['username']}", wait_until="domcontentloaded"
|
||||
)
|
||||
bob_page.locator("[data-action-menu-trigger]").first.click()
|
||||
bob_page.locator("[data-action-menu-panel]").wait_for(state="visible")
|
||||
bob_page.locator("button:has-text('Unblock')").first.click()
|
||||
bob_page.locator(".dialog-overlay.visible .dialog-confirm").click()
|
||||
bob_page.wait_for_load_state("domcontentloaded")
|
||||
|
||||
Reference in New Issue
Block a user