Uh oh!
There was an error while loading. Please reload this page.
fix(cli): parse negative numbers as arguments - #42333
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Webkit quantizes wheel deltas to integers, so asserting on fractional deltas tested the browser rather than the parser. Assert on the argument error instead, and move the mouse into the page before scrolling.
Test results for "MCP"1 failed 8135 passed, 1341 skipped Merge workflow run. |
Hi, I'm the Playwright bot and I took a look at the latest failing CI. 🟢 No real failures — the PR is clearThe most recent run (32407110777) has a single failure, DetailsThis PR only touches Pre-existing flake / infra
Already fixed in this PR
Triaged by the Playwright bot - agent run |
c055448
into
microsoft:mainUh oh!
There was an error while loading. Please reload this page.
Summary
playwright-cli mousewheel 0 -100failed withUnknown options: --0, --1because the vendored minimist sends everything matching/^-[^-]+/down the short-flag branch. Upstream minimist has the same bug./^-[A-Za-z]/instead and let everything else fall through to positional arguments.Fixes#42321