ui: simplify helper copy and center page loading feedback

This commit is contained in:
AttilaNet
2026-11-11 21:08:48 +08:00
parent d1e7f3c717
commit e23e7586c4
25 changed files with 747 additions and 141 deletions
@@ -110,8 +110,10 @@ class WorkbenchBrowserTests(unittest.TestCase):
def go(self, key, page=None):
page=page or self.page
page.locator(f'.page-tab[data-page="{key}"]').click()
page.wait_for_selector(f'.page-panel[data-page="{key}"]:not([hidden]) .page-loading[data-loading="false"]')
return page.locator(f'.page-panel[data-page="{key}"]:not([hidden])')
page.wait_for_selector(f'.page-panel[data-page="{key}"]:not([hidden]) .page-loading[data-loading="false"]', state="attached")
panel = page.locator(f'.page-panel[data-page="{key}"]:not([hidden])')
expect(panel).to_have_attribute("aria-busy", "false")
return panel
@staticmethod
def field(root,path):