Keep current-shot video regeneration visible in short windows

This commit is contained in:
Codex
2026-11-12 13:32:06 +08:00
parent 45cf52351c
commit f5223075c5
6 changed files with 63 additions and 10 deletions
+1 -1
View File
@@ -19,6 +19,6 @@ class ReadOnly(http.server.SimpleHTTPRequestHandler):
server=http.server.ThreadingHTTPServer(('127.0.0.1',18938),ReadOnly)
threading.Thread(target=server.serve_forever,daemon=True).start()
script = sys.argv[1] if len(sys.argv)>1 else 'verify_progress_ui.cjs'
if script not in {'verify_progress_ui.cjs','verify_cancel_ui.cjs','verify_english_ui.cjs'}:raise ValueError('Unknown UI test')
if script not in {'verify_progress_ui.cjs','verify_cancel_ui.cjs','verify_english_ui.cjs','verify_video_action_ui.cjs'}:raise ValueError('Unknown UI test')
try:subprocess.run(['node',str(root/'integration-work/browser-test'/script)],cwd=root,check=True)
finally:server.shutdown()