From f171247f64ff836105d123a84a9ffca6a2b04241 Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Thu, 5 May 2022 16:56:25 -0700 Subject: [PATCH] test: skip "should scroll zero-sized element" on mac 10.15 (#13972) --- tests/page/locator-misc-2.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/page/locator-misc-2.spec.ts b/tests/page/locator-misc-2.spec.ts index 0aee0378a9..7d07e13228 100644 --- a/tests/page/locator-misc-2.spec.ts +++ b/tests/page/locator-misc-2.spec.ts @@ -16,6 +16,7 @@ */ import { test as it, expect } from './pageTest'; +import os from 'os'; it('should press @smoke', async ({ page }) => { await page.setContent(``); @@ -42,8 +43,9 @@ it('should scroll into view', async ({ page, server, isAndroid }) => { } }); -it('should scroll zero-sized element into view', async ({ page, isAndroid, isElectron }) => { +it('should scroll zero-sized element into view', async ({ page, isAndroid, isElectron, browserName, isMac }) => { it.fixme(isAndroid || isElectron); + it.skip(browserName === 'webkit' && isMac && parseInt(os.release(), 10) < 20, 'WebKit for macOS 10.15 is frozen.'); await page.setContent(`