diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-15 12:43:53 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-09-15 17:24:42 -0300 |
| commit | c787d59a987ec601cd7b65399543afe6d37a615d (patch) | |
| tree | b593436d7aa4c37cb0e59eef5412dbb77ae5faad /test/web_snapshot.mjs | |
| parent | 8b0bed0427064794725f95cb7b020d7d96956975 (diff) | |
| download | pardes-c787d59a987ec601cd7b65399543afe6d37a615d.tar.gz pardes-c787d59a987ec601cd7b65399543afe6d37a615d.zip | |
Route mouse thumb buttons to jump history
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; } |
