mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix(webkit): ignore WebSocket certificate errors on Mac (#1900)
This commit is contained in:
parent
91c0631827
commit
b7afbf819f
@ -10,7 +10,7 @@
|
|||||||
"playwright": {
|
"playwright": {
|
||||||
"chromium_revision": "759546",
|
"chromium_revision": "759546",
|
||||||
"firefox_revision": "1084",
|
"firefox_revision": "1084",
|
||||||
"webkit_revision": "1201"
|
"webkit_revision": "1203"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ctest": "cross-env BROWSER=chromium node --unhandled-rejections=strict test/test.js",
|
"ctest": "cross-env BROWSER=chromium node --unhandled-rejections=strict test/test.js",
|
||||||
|
@ -60,7 +60,7 @@ describe('ignoreHTTPSErrors', function() {
|
|||||||
expect(await page.frames()[1].evaluate('2 + 3')).toBe(5);
|
expect(await page.frames()[1].evaluate('2 + 3')).toBe(5);
|
||||||
await context.close();
|
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 context = await browser.newContext({ ignoreHTTPSErrors: true });
|
||||||
const page = await context.newPage();
|
const page = await context.newPage();
|
||||||
const value = await page.evaluate(endpoint => {
|
const value = await page.evaluate(endpoint => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user