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

This commit is contained in:
Yury Semikhatsky 2020-04-22 12:41:39 -07:00 committed by GitHub
parent 91c0631827
commit b7afbf819f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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 => {