HEL-842: reload offline prototype when capturing model states

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
2026-10-25 00:36:43 +08:00
co-authored by multica-agent
parent 27613336ff
commit 29a3c29fa3
+1
View File
@@ -77,6 +77,7 @@ with sync_playwright() as pw:
(a.approved / "HEL-837-交互样本-v2.html").resolve().as_uri()
+ "?theme=night#models"
)
page.reload() # The offline prototype does not route on hashchange.
page.locator("#p-models.on").wait_for()
page.locator(".md-f [data-mtest]").click()
original = a.output / "original-render-model-testing.png"