Unify gateway styling and preserve identity through recovery
ci / java (push) Failing after 15m11s
ci / nightly-windev (push) Failing after 10m18s
ci / portable (push) Failing after 27m42s
ci / windows-x86 (push) Failing after 22m19s

This commit is contained in:
Joseph Doherty
2026-11-13 20:12:00 -05:00
parent b06921ce85
commit 26a90883fa
76 changed files with 20585 additions and 128 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ with sync_playwright() as p:
for width,zoom in [(1440,1),(1024,1),(390,1),(1440,2)]:
page.set_viewport_size({'width':width,'height':900});page.goto(BASE);page.wait_for_selector('html[data-mx-ready="true"]');page.evaluate('document.fonts.ready')
set_browser_zoom(worker,page,zoom)
trigger=page.get_by_role('button',name='Create API Key',exact=True);trigger.focus();trigger.press('Enter')
trigger=page.get_by_role('button',name='Create API key',exact=True);trigger.focus();trigger.press('Enter')
dialog=page.locator('dialog:modal');dialog.wait_for()
page.wait_for_function("document.querySelector('dialog:modal [data-dialog-initial]')===document.activeElement")
focus=[]
@@ -26,7 +26,7 @@ with sync_playwright() as p:
page.screenshot(path=str(OUT/f'create-{width}-zoom{zoom}.png'),full_page=False)
results.append({'width':page.evaluate('innerWidth'),'dpr':page.evaluate('devicePixelRatio'),'scroll':page.evaluate('document.documentElement.scrollWidth'),'zoom':zoom,'nativeModal':True,'outsideFocusBlocked':True,'focusSamples':focus,'validationInsideDialog':True})
page.keyboard.press('Escape');page.wait_for_function("!document.querySelector('dialog:modal')")
page.wait_for_function("document.activeElement.textContent.trim()==='Create API Key'")
page.wait_for_function("document.activeElement.textContent.trim()==='Create API key'")
set_browser_zoom(worker,page,1)
page.set_viewport_size({'width':390,'height':844})
trigger=page.locator('#slow-trigger');trigger.click();page.locator('dialog:modal').wait_for()