From 20fcd6b272d1a86df970ea0e71609a2306ec2917 Mon Sep 17 00:00:00 2001 From: Playwright Service <89237858+playwrightmachine@users.noreply.github.com> Date: Wed, 19 Jul 2023 09:24:21 -0700 Subject: [PATCH] feat(webkit): roll to r1875 (#24299) Since https://github.com/WebKit/WebKit/commit/99ff08340f12db8d867a0ed04f176802b7e0a355 search event is disabled in cocoa. --------- Signed-off-by: Max Schmitt Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Max Schmitt --- packages/playwright-core/browsers.json | 2 +- tests/library/modernizr.spec.ts | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/playwright-core/browsers.json b/packages/playwright-core/browsers.json index e17e224731..2cb37d303e 100644 --- a/packages/playwright-core/browsers.json +++ b/packages/playwright-core/browsers.json @@ -39,7 +39,7 @@ }, { "name": "webkit", - "revision": "1874", + "revision": "1875", "installByDefault": true, "revisionOverrides": { "mac10.14": "1446", diff --git a/tests/library/modernizr.spec.ts b/tests/library/modernizr.spec.ts index 62547e19cd..5f0e165c65 100644 --- a/tests/library/modernizr.spec.ts +++ b/tests/library/modernizr.spec.ts @@ -71,8 +71,10 @@ it('safari-14-1', async ({ browser, browserName, platform, server, headless, isM expected.inputtypes.time = false; } - if (isMac && parseInt(os.release(), 10) > 20) + if (isMac && parseInt(os.release(), 10) > 20) { expected.applicationcache = false; + expected.inputsearchevent = false; + } expect(actual).toEqual(expected); }); @@ -129,8 +131,10 @@ it('mobile-safari-14-1', async ({ playwright, browser, browserName, platform, is expected.inputtypes.time = false; } - if (isMac && parseInt(os.release(), 10) > 20) + if (isMac && parseInt(os.release(), 10) > 20) { expected.applicationcache = false; + expected.inputsearchevent = false; + } expect(actual).toEqual(expected); });