Keep composers usable, group actions and notifications, and drop the tool-count cap
DevPlace CI / test (push) Failing after 3h10m39s
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:
+10
-15
@@ -1,7 +1,7 @@
|
||||
# retoor <retoor@molodetz.nl>
|
||||
|
||||
from playwright.sync_api import expect
|
||||
from tests.conftest import BASE_URL
|
||||
from tests.conftest import BASE_URL, open_action_menu
|
||||
from tests.e2e.project.files import _make_project_ui
|
||||
def _open_project_with_delete(page, title):
|
||||
proj_url = _make_project_ui(page, title)
|
||||
@@ -12,19 +12,13 @@ PANEL = "[data-action-menu-panel]"
|
||||
|
||||
|
||||
def _open_menu(page):
|
||||
# aria-expanded can lag behind the popover, so the open state that counts
|
||||
# is whether the panel shows.
|
||||
page.wait_for_function(
|
||||
"() => document.querySelector('[data-action-menu-panel]') !== null"
|
||||
" || document.querySelector('[data-action-menu-trigger]') === null"
|
||||
)
|
||||
panel = page.locator(PANEL)
|
||||
if panel.count() and panel.evaluate("(el) => el.matches(':popover-open')"):
|
||||
panel = page.locator("#project-actions-panel")
|
||||
if panel.count():
|
||||
open_action_menu(panel)
|
||||
return
|
||||
page.click(TRIGGER)
|
||||
page.wait_for_function(
|
||||
"() => document.querySelector('[data-action-menu-panel]').matches(':popover-open')"
|
||||
)
|
||||
trigger = page.locator(TRIGGER).first
|
||||
if trigger.count():
|
||||
trigger.click()
|
||||
|
||||
|
||||
def _menu_item(page, label):
|
||||
@@ -35,8 +29,9 @@ def _menu_item(page, label):
|
||||
|
||||
|
||||
def _pick(page, label):
|
||||
_open_menu(page)
|
||||
_menu_item(page, label).first.click()
|
||||
item = _menu_item(page, label).first
|
||||
open_action_menu(item)
|
||||
item.click()
|
||||
|
||||
|
||||
def _click_delete(page):
|
||||
|
||||
Reference in New Issue
Block a user