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(windows): show details about missing dependencies (#3839)
Philipp Mudra1e600cb9d8eb
diff --git a/src/server/validateDependencies.ts b/src/server/validateDependencies.tsindex 98a4193c5e..095d6d9465 100644--- a/src/server/validateDependencies.ts+++ b/src/server/validateDependencies.ts@@ -88,6 +88,9 @@ async function validateDependenciesWindows(browserPath: string, browser: Browser`as Administrator:`,``,` Install-WindowsFeature Server-Media-Foundation`,+ ``,+ `For Windows N editions visit:`,+ `https://support.microsoft.com/en-us/help/3145500/media-feature-pack-list-for-windows-n-editions`,``);}@@ -200,7 +203,7 @@ async function missingFileDependenciesWindows(filePath: string): Promise<Array<s});if (code !== 0)return [];- const missingDeps = stdout.split('\n').map(line => line.trim()).filter(line => line.endsWith('not found') && line.includes('=>')).map(line => line.split('=>')[0].trim());+ const missingDeps = stdout.split('\n').map(line => line.trim()).filter(line => line.endsWith('not found') && line.includes('=>')).map(line => line.split('=>')[0].trim().toLowerCase());return missingDeps;}