diff options
Diffstat (limited to 'test/web_snapshot.mjs')
| -rw-r--r-- | test/web_snapshot.mjs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/web_snapshot.mjs b/test/web_snapshot.mjs index a9cd8dff..61467c4d 100644 --- a/test/web_snapshot.mjs +++ b/test/web_snapshot.mjs @@ -82,7 +82,8 @@ async function main() { if (scenarioModule) { const scenario = await import(pathToFileURL(scriptPath)); - await scenario.default({ grid, touch: dispatchTouch, wait: waitUntil, stable: waitStable, delay }); + await scenario.default({ grid, touch: dispatchTouch, wait: waitUntil, stable: waitStable, delay, evaluate, + mouse: (event) => client.send("Input.dispatchMouseEvent", event) }); console.error(`web test ok: ${path.relative(process.cwd(), scriptPath)}`); return; } |
