Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
tests: update some webkit test expectations (#37953)
Yury Semikhatskyf1eeaf54387c
diff --git a/tests/library/browsercontext-cookies.spec.ts b/tests/library/browsercontext-cookies.spec.tsindex b7e0fcfa81..f2ec8ea7d8 100644--- a/tests/library/browsercontext-cookies.spec.ts+++ b/tests/library/browsercontext-cookies.spec.ts@@ -74,7 +74,7 @@ it('should get a non-session cookie', async ({ context, page, server, defaultSamit('should allow adding cookies with >400 days expiration', {annotation: { type: 'issue', description: 'https://github.com/microsoft/playwright/issues/37903' }-}, async ({ context, server }) => {+}, async ({ context, server, browserName, isWindows, channel }) => {// Browsers start to cap cookies with 400 days max expires value.// See https://github.com/httpwg/http-extensions/pull/1732// Chromium patch: https://chromium.googlesource.com/chromium/src/+/aaa5d2b55478eac2ee642653dcd77a50ac3faff6@@ -88,7 +88,7 @@ it('should allow adding cookies with >400 days expiration', {expires: expire,httpOnly: false,secure: false,- sameSite: 'Lax',+ sameSite: (browserName === 'webkit' && isWindows && channel !== 'webkit-wsl') ? 'None' : 'Lax',}]);diff --git a/tests/library/modernizr.spec.ts b/tests/library/modernizr.spec.tsindex a7f868dcac..8b86e9c42d 100644--- a/tests/library/modernizr.spec.ts+++ b/tests/library/modernizr.spec.ts@@ -95,6 +95,7 @@ it('Mobile Safari', async ({ playwright, browser, browserName, platform, httpsSeit.skip(browserName !== 'webkit');it.skip(browserName === 'webkit' && platform === 'darwin' && os.arch() === 'x64', 'Modernizr uses WebGL which is not available on Intel macOS - https://bugs.webkit.org/show_bug.cgi?id=278277');it.skip(browserName === 'webkit' && hostPlatform.startsWith('ubuntu20.04'), 'Ubuntu 20.04 is frozen');+ it.skip(browserName === 'webkit' && hostPlatform.startsWith('debian11'), 'Debian 11 is frozen');const iPhone = playwright.devices['iPhone 12'];const context = await browser.newContext({...iPhone,