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
fix: set non-0 exit code for install scripts if there are problems (#1739)
Andrey Lushnikov8c40b920c9a5
diff --git a/download-browser.js b/download-browser.jsindex 1a0679e71e..53eabe29b3 100644--- a/download-browser.js+++ b/download-browser.js@@ -62,7 +62,10 @@ async function downloadBrowserWithProgressBar(options) {lastDownloadedBytes = downloadedBytes;progressBar.tick(delta);}- await browserFetcher.downloadBrowser({...options, progress});+ await browserFetcher.downloadBrowser({...options, progress}).catch(e => {+ process.exitCode = 1;+ throw e;+ });logPolitely(`${options.progressBarBrowserName} downloaded to ${options.downloadPath}`);}