Skip to content

Commit 3f5cbd5

Browse files
authored
test(mouse): disable click steps test on headed (#38080)
1 parent 3802e94 commit 3f5cbd5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/page/page-click.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1288,8 +1288,9 @@ it('should click shadow root button', { annotation: { type: 'issue', description
12881288
await page.locator('my-button').click();
12891289
});
12901290

1291-
it('should click with tweened mouse movement', async ({ page, browserName, isAndroid }) => {
1291+
it('should click with tweened mouse movement', async ({ page, browserName, isAndroid, headless }) => {
12921292
it.skip(isAndroid, 'Bad rounding');
1293+
it.skip(!headless, 'System cursor tends to interfere with this test');
12931294

12941295
await page.setContent(`
12951296
<body style="margin: 0; padding: 0; height: 500px; width: 500px;">

0 commit comments

Comments
 (0)