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): fix blob downloads on mac (#1972)

Yury Semikhatskyf9bd1d072009
diff --git a/package.json b/package.json
index 819f6b9401..f537823847 100644
--- a/package.json
+++ b/package.json
@@ -10,7 +10,7 @@
"playwright": {
"chromium_revision": "762211",
"firefox_revision": "1086",
- "webkit_revision": "1209"
+ "webkit_revision": "1211"
},
"scripts": {
"ctest": "cross-env BROWSER=chromium node --unhandled-rejections=strict test/test.js",
diff --git a/test/download.spec.js b/test/download.spec.js
index f69d479fe4..ee35549189 100644
--- a/test/download.spec.js
+++ b/test/download.spec.js
@@ -83,7 +83,7 @@ describe('Download', function() {
expect(fs.readFileSync(path).toString()).toBe('Hello world');
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 onDownloadPath = new Promise((res) => {
page.on('download', dl => {