From 652c675e44e39ba837f1c0164c1278bcbcce20b8 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Fri, 16 May 2025 13:33:25 +0200 Subject: [PATCH] test: rebase PointerEvent.pressure test on Windows/Android (#35971) --- tests/page/page-click.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/page/page-click.spec.ts b/tests/page/page-click.spec.ts index 52b8495af5..60117ee161 100644 --- a/tests/page/page-click.spec.ts +++ b/tests/page/page-click.spec.ts @@ -1194,9 +1194,11 @@ it('should set PointerEvent.pressure on pointerdown', async ({ page, isLinux, he ]); }); -it('should set PointerEvent.pressure on pointermove', async ({ page, isLinux, headless }) => { +it('should set PointerEvent.pressure on pointermove', async ({ page, isLinux, headless, isWindows, browserName, isAndroid }) => { it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/35844' }); it.fixme(isLinux && !headless, 'Stray mouse events on Linux headed mess up the tests.'); + it.fixme(isWindows && !headless && browserName === 'webkit', 'WebKit win also send stray mouse events.'); + it.fixme(isAndroid, 'Android coordinates seem to have rounding issues.'); await page.setContent(`