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:
2026-11-01 11:53:55 +01:00
co-authored by Claude Sonnet 5.5
parent f705099928
commit ec30ed408c
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "devplacepy"
version = "1.1.12"
version = "1.1.13"
description = "DevPlace - The Developer Social Network"
requires-python = ">=3.12"
dependencies = [
+2
View File
@@ -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")