From 57966333b59638879becea537135c78a15508662 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Thu, 19 May 2022 18:24:20 +0300 Subject: [PATCH] test: skip large file upload tests on Android (#14283) --- tests/page/page-set-input-files.spec.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/page/page-set-input-files.spec.ts b/tests/page/page-set-input-files.spec.ts index 6530bd0a85..c022f8af06 100644 --- a/tests/page/page-set-input-files.spec.ts +++ b/tests/page/page-set-input-files.spec.ts @@ -37,8 +37,9 @@ it('should upload the file', async ({ page, server, asset }) => { }, input)).toBe('contents of the file'); }); -it('should upload large file', async ({ page, server, browserName, isMac }, testInfo) => { +it('should upload large file', async ({ page, server, browserName, isMac, isAndroid }, testInfo) => { it.skip(browserName === 'webkit' && isMac && parseInt(os.release(), 10) < 20, 'WebKit for macOS 10.15 is frozen and does not have corresponding protocol features.'); + it.skip(isAndroid); it.slow(); await page.goto(server.PREFIX + '/input/fileupload.html'); const uploadFile = testInfo.outputPath('200MB.zip'); @@ -84,8 +85,9 @@ it('should upload large file', async ({ page, server, browserName, isMac }, test await Promise.all([uploadFile, file1.filepath].map(fs.promises.unlink)); }); -it('should upload large file with relative path', async ({ page, server, browserName, isMac }, testInfo) => { +it('should upload large file with relative path', async ({ page, server, browserName, isMac, isAndroid }, testInfo) => { it.skip(browserName === 'webkit' && isMac && parseInt(os.release(), 10) < 20, 'WebKit for macOS 10.15 is frozen and does not have corresponding protocol features.'); + it.skip(isAndroid); it.slow(); await page.goto(server.PREFIX + '/input/fileupload.html'); const uploadFile = testInfo.outputPath('200MB.zip');