From ec30ed408c3a3040cbb35b458bad68559a332bc2 Mon Sep 17 00:00:00 2001 From: retoor Date: Sun, 1 Nov 2026 11:53:55 +0100 Subject: [PATCH] Open the profile actions menu before clicking Unblock in the report e2e test Co-Authored-By: Claude Sonnet 5.5 --- pyproject.toml | 2 +- tests/e2e/reports/ui.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f2a8481d..97a43cc3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = [ diff --git a/tests/e2e/reports/ui.py b/tests/e2e/reports/ui.py index 704331ae..a534e9a9 100644 --- a/tests/e2e/reports/ui.py +++ b/tests/e2e/reports/ui.py @@ -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")