forked from retoor/devplacepy
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:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "devplacepy"
|
name = "devplacepy"
|
||||||
version = "1.1.12"
|
version = "1.1.13"
|
||||||
description = "DevPlace - The Developer Social Network"
|
description = "DevPlace - The Developer Social Network"
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.12"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
|||||||
@@ -100,6 +100,8 @@ def test_blocking_from_a_content_action_bar_hides_the_author(alice, bob):
|
|||||||
bob_page.goto(
|
bob_page.goto(
|
||||||
f"{BASE_URL}/profile/{alice_user['username']}", wait_until="domcontentloaded"
|
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("button:has-text('Unblock')").first.click()
|
||||||
bob_page.locator(".dialog-overlay.visible .dialog-confirm").click()
|
bob_page.locator(".dialog-overlay.visible .dialog-confirm").click()
|
||||||
bob_page.wait_for_load_state("domcontentloaded")
|
bob_page.wait_for_load_state("domcontentloaded")
|
||||||
|
|||||||
Reference in New Issue
Block a user