From a4b670464e4d1dd920f9f96f72adb6b4320ce665 Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Wed, 13 May 2020 18:32:43 -0700 Subject: [PATCH] test: update download test failure expectation (#2225) --- test/download.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/download.spec.js b/test/download.spec.js index aa7c0b25da..5f09430feb 100644 --- a/test/download.spec.js +++ b/test/download.spec.js @@ -16,7 +16,7 @@ const fs = require('fs'); const path = require('path'); -const {FFOX, CHROMIUM, WEBKIT, MAC} = require('./utils').testOptions(browserType); +const {FFOX, CHROMIUM, WEBKIT, MAC, WIN} = require('./utils').testOptions(browserType); describe('Download', function() { beforeEach(async(state) => { @@ -57,7 +57,7 @@ describe('Download', function() { expect(fs.readFileSync(path).toString()).toBe('Hello world'); await page.close(); }); - it.fail(WEBKIT && MAC)('should report non-navigation downloads', async({browser, server}) => { + it.fail(WEBKIT && WIN)('should report non-navigation downloads', async({browser, server}) => { // Mac WebKit embedder does not download in this case, although Safari does. server.setRoute('/download', (req, res) => { res.setHeader('Content-Type', 'application/octet-stream');