Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/mcp/mouse.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ test('browser_mouse_click_xy (right button)', async ({ client }) => {
arguments: { x: 100, y: 100, button: 'right' },
})).toHaveResponse({
code: expect.stringContaining(`await page.mouse.click(100, 100, {\n button: 'right'\n});`),
snapshot: expect.stringMatching(/mousemove 100 100.*mousedown button:2.*contextmenu button:2.*mouseup button:2/s),
snapshot: expect.stringMatching(/mousemove 100 100.*mousedown button:2(?=.*mouseup button:2)(?=.*contextmenu button:2)/s),
});
});

Expand Down
Loading