Record touch and keyboard acceptance with isolated SQL validation

This commit is contained in:
Joseph Doherty
2026-11-13 23:10:30 -05:00
parent 7ee65d9cd0
commit 75a1e6238e
29 changed files with 705 additions and 9 deletions
@@ -0,0 +1,14 @@
"""Correct native-zoom screenshot framing; repeat only the two affected functional cases."""
import verify
from playwright.sync_api import sync_playwright
verify.OUT=verify.HERE/'confirmation';verify.OUT.mkdir(exist_ok=True)
with sync_playwright() as p:
with verify.zoom_browser(p) as (ctx,worker):
page=ctx.new_page()
for width,expected in [(1440,720),(390,195)]:
page.set_viewport_size({'width':width,'height':900});verify.ready(page,'/density-pilot')
assert verify.set_browser_zoom(worker,page,2)==2
verify.tree_case(page,'raw-real200-'+str(expected))
data=verify.measure(page);assert data['width']==expected and data['dpr']==2,data
verify.set_browser_zoom(worker,page,1)
print('PASS2actual zoom cases; viewport screenshots preserve native zoom framing')