Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
devops: do not download browsers during 'npm run lint' (#35474)
Max Schmitt482e929df779
diff --git a/utils/workspace.js b/utils/workspace.jsindex a1d964025b..cb6dbedd33 100755--- a/utils/workspace.js+++ b/utils/workspace.js@@ -127,7 +127,14 @@ class Workspace {}// Re-run npm i to make package-lock dirty.- child_process.execSync('npm i');+ child_process.execSync('npm i', {+ env: {+ ...process.env,+ // Playwright would download the browsers because it has e.g. @playwright/browser-chromium or playwright-chromium+ // in the workspace. We don't want to download browsers here.+ PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1',+ }+ });return hasChanges;}}