From 689624e401b5fb93ddbdf1b764997d936b6fa636 Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Thu, 5 Jan 2023 11:54:56 +0100 Subject: [PATCH] tests - fix web integration tests to fail creating a page (#170613) --- test/integration/browser/src/index.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/integration/browser/src/index.ts b/test/integration/browser/src/index.ts index 169ae4b33f1..821b9862bd9 100644 --- a/test/integration/browser/src/index.ts +++ b/test/integration/browser/src/index.ts @@ -35,11 +35,6 @@ type BrowserType = 'chromium' | 'firefox' | 'webkit'; async function runTestsInBrowser(browserType: BrowserType, endpoint: url.UrlWithStringQuery, server: cp.ChildProcess): Promise { const browser = await playwright[browserType].launch({ headless: !Boolean(optimist.argv.debug) }); const context = await browser.newContext(); - try { - await context.grantPermissions([`clipboard-read`, `clipboard-write`]); // some tests need clipboard access - } catch (error) { - // ignore, seems to fail on Windows - } const page = await context.newPage(); await page.setViewportSize({ width, height });