fix(webkit): fix blob downloads on mac (#1972)
This commit is contained in:
parent
7ecf252dd6
commit
f9bd1d0720
|
|
@ -10,7 +10,7 @@
|
||||||
"playwright": {
|
"playwright": {
|
||||||
"chromium_revision": "762211",
|
"chromium_revision": "762211",
|
||||||
"firefox_revision": "1086",
|
"firefox_revision": "1086",
|
||||||
"webkit_revision": "1209"
|
"webkit_revision": "1211"
|
||||||
},
|
},
|
||||||
"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",
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ describe('Download', function() {
|
||||||
expect(fs.readFileSync(path).toString()).toBe('Hello world');
|
expect(fs.readFileSync(path).toString()).toBe('Hello world');
|
||||||
await page.close();
|
await page.close();
|
||||||
})
|
})
|
||||||
it.fail(WEBKIT && MAC)(`should report download path within page.on('download', …) handler for Blobs`, async({browser, server}) => {
|
it(`should report download path within page.on('download', …) handler for Blobs`, async({browser, server}) => {
|
||||||
const page = await browser.newPage({ acceptDownloads: true });
|
const page = await browser.newPage({ acceptDownloads: true });
|
||||||
const onDownloadPath = new Promise((res) => {
|
const onDownloadPath = new Promise((res) => {
|
||||||
page.on('download', dl => {
|
page.on('download', dl => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue