fix(simulation): stabilize screenshot artifacts (#35933)

This commit is contained in:
James Long 2026-07-08 11:48:53 -04:00 committed by GitHub
commit e1d72fa338
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 37 additions and 14 deletions

View file

@ -17,7 +17,7 @@ async function handle(
) {
switch (request.method) {
case "ui.screenshot":
return SimulationActions.screenshot(harness, request.params?.path)
return SimulationActions.screenshot(harness, request.params?.name)
case "ui.state": {
return SimulationActions.state(harness)
}