Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

fix(webkit): ignore WebSocket certificate errors on Mac (#1900)

Yury Semikhatskyb7afbf819f42
diff --git a/package.json b/package.json
index 0562c64a73..400604e376 100644
--- a/package.json
+++ b/package.json
@@ -10,7 +10,7 @@
"playwright": {
"chromium_revision": "759546",
"firefox_revision": "1084",
- "webkit_revision": "1201"
+ "webkit_revision": "1203"
},
"scripts": {
"ctest": "cross-env BROWSER=chromium node --unhandled-rejections=strict test/test.js",
diff --git a/test/ignorehttpserrors.spec.js b/test/ignorehttpserrors.spec.js
index a1eea7fd6f..5657ae22fb 100644
--- a/test/ignorehttpserrors.spec.js
+++ b/test/ignorehttpserrors.spec.js
@@ -60,7 +60,7 @@ describe('ignoreHTTPSErrors', function() {
expect(await page.frames()[1].evaluate('2 + 3')).toBe(5);
await context.close();
});
- it.fail(WEBKIT && MAC)('should work with WebSocket', async({browser, httpsServer}) => {
+ it('should work with WebSocket', async({browser, httpsServer}) => {
const context = await browser.newContext({ ignoreHTTPSErrors: true });
const page = await context.newPage();
const value = await page.evaluate(endpoint => {