Keep composers usable, group actions and notifications, and drop the tool-count cap
DevPlace CI / test (push) Failing after 3h10m39s

Comment and post layouts stay full width on small screens. Secondary actions live in the More menu. Notifications can be grouped and throttled, and Enter can submit when that profile setting is on. Emulated-tool models accept large catalogs, with reserved names aliased on the wire and the catalog cached per owner. A dropped service-worker navigation is retried once. The test server waits 120s to finish importing before it is stopped.
This commit is contained in:
2026-11-12 15:29:27 +01:00
parent dbdd0d29dd
commit 8a48e3ef85
103 changed files with 2680 additions and 378 deletions
+5 -5
View File
@@ -14,7 +14,7 @@ def _create_plain_post_engagement_ui(page, content):
page.wait_for_url(f"{BASE_URL}/posts/*", wait_until="domcontentloaded")
from uuid import uuid4
from datetime import datetime, timedelta, timezone
from tests.conftest import BASE_URL, assert_share_copies
from tests.conftest import BASE_URL, assert_share_copies, click_menu_action, open_action_menu
from devplacepy.database import get_table
from devplacepy.utils import make_combined_slug
def _seed_posts(count):
@@ -378,7 +378,7 @@ def test_add_poll_to_existing_post_via_edit(alice):
_create_plain_post_engagement_ui(page, "Post that gains a poll through the edit modal.")
expect(page.locator(".poll")).to_have_count(0)
page.locator("[data-modal='edit-post-modal']").click()
click_menu_action(page.locator("#post-actions-panel [data-modal='edit-post-modal']"))
modal = page.locator("#edit-post-modal")
expect(modal).to_be_visible()
modal.locator("[data-poll-toggle]").click()
@@ -485,7 +485,7 @@ def test_post_edit_button(alice):
page.fill("#post-title", "Editable Post")
page.locator("#create-post-modal button.btn-primary:has-text('Post')").click()
page.wait_for_url(f"{BASE_URL}/posts/*", wait_until="domcontentloaded")
edit_btn = page.locator("button:has-text('Edit')")
edit_btn = open_action_menu(page.locator("#post-actions-panel [data-modal='edit-post-modal']"))
assert edit_btn.is_visible()
@@ -497,7 +497,7 @@ def test_post_edit_modal(alice):
page.fill("#post-title", "Edit Modal Test")
page.locator("#create-post-modal button.btn-primary:has-text('Post')").click()
page.wait_for_url(f"{BASE_URL}/posts/*", wait_until="domcontentloaded")
page.click("button:has-text('Edit')")
click_menu_action(page.locator("#post-actions-panel [data-modal='edit-post-modal']"))
assert page.is_visible("h3:has-text('Edit Post')")
@@ -509,7 +509,7 @@ def test_post_edit_submit(alice):
page.fill("#post-title", "Original Title")
page.locator("#create-post-modal button.btn-primary:has-text('Post')").click()
page.wait_for_url(f"{BASE_URL}/posts/*", wait_until="domcontentloaded")
page.click("button:has-text('Edit')")
click_menu_action(page.locator("#post-actions-panel [data-modal='edit-post-modal']"))
page.fill("#edit-title", "Edited Title")
page.fill("#edit-content", "Edited content for the post")
page.click("button:has-text('Save Changes')")